THREE.JS / FOUNDATIONS 255
Let the asset own the view.
glTF cameras define projection, then inherit their view transform from the node that instantiates them. Punctual lights use the same scene graph, so their type, intensity, and direction arrive through nodes too.
Initializing
-
Preparing the renderer and generated glTF fixture.
- Meshes
- -
- Cameras
- -
- Lights
- -
- Nodes
- -
Camera instancesprojection + node transform
-
Punctual lightsKHR_lights_punctual
-
Inspectionrenderer + lifecycle
-
glTF cameras + lights -> transformed nodes -> render
Camera/light study unavailable.
Drag to orbit · scroll to dolly · use ?forceWebGL=1 for a WebGL2 comparison.
LAB 255 / GLTF CAMERAS + PUNCTUAL LIGHTS