Skip to content

Commit

Permalink
Update docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-salazar authored Jun 10, 2024
1 parent f01e1f6 commit 6cf9f39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The `RendererComponent` defines the parameters for rendering a scene to render t

Scenes are simply defined as entity hierarchies. The `SceneComponent` is used to specify which scene entities to render. Only the root of an entity hierarchy needs to be specified.

Check warning on line 5 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'is used' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'is used' looks like passive voice.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 5, "column": 71}}}, "severity": "INFO"}

Check warning on line 5 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'be specified' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'be specified' looks like passive voice.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 5, "column": 168}}}, "severity": "INFO"}

Once an entity as both of these components, only a `CameraComponent` is needed to actually render a scene. The camera provides a perspective from which to render the scene from. The CameraComponent specifies an ArrayCamera, which allows rendering one or more perspectives simultaneously.
Once an entity has both of these components, only a `CameraComponent` is needed to actually render a scene. The camera provides a perspective from which to render the scene. The `CameraComponent` specifies an ArrayCamera, which allows rendering one or more perspectives simultaneously.

Check warning on line 7 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'is needed' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'is needed' looks like passive voice.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 7, "column": 71}}}, "severity": "INFO"}

Check warning on line 7 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Vocab] Verify your use of 'allows' with the A-Z word list. Raw Output: {"message": "[Microsoft.Vocab] Verify your use of 'allows' with the A-Z word list.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 7, "column": 229}}}, "severity": "INFO"}

Upon the `WebGLRendererSystem` running, it will aggregate the list of entities to render, and get the underlying objects from the GroupComponent into a flat list. This list is iterated, and pulls out a few extra parameters. The `EnvironmentMapComponent` specifies the environment map to use for meshes that do not have an environment map already specified. The `BackgroundComponent` specifies the skybox to render, either a Color, a Texture, or a CubeTexture. The `FogComponent` specifies the fog parameters to use.

Check warning on line 9 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.ComplexWords] Consider using 'total' instead of 'aggregate'. Raw Output: {"message": "[Microsoft.ComplexWords] Consider using 'total' instead of 'aggregate'.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 9, "column": 49}}}, "severity": "INFO"}

Check warning on line 9 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'is iterated' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'is iterated' looks like passive voice.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 9, "column": 174}}}, "severity": "INFO"}

Check failure on line 9 in docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Contractions] Use 'don't' instead of 'do not'. Raw Output: {"message": "[Microsoft.Contractions] Use 'don't' instead of 'do not'.", "location": {"path": "docs/manual/03_modules/02_spatial/04_cameraSceneRendering.md", "range": {"start": {"line": 9, "column": 308}}}, "severity": "ERROR"}

Expand Down

0 comments on commit 6cf9f39

Please sign in to comment.