THREE.JS / FOUNDATIONS 22

See the same world three ways.

One ArrayCamera owns three sub-cameras while a small spatial index narrows the objects we test for frustum queries and picking.

sub-cameras
—
objects
—
index cells
—
indexed tests
—
visible / views
—
render pixel ratio
—
cull ms
—
draw calls
—
Initializing —

Preparing ArrayCamera viewports and spatial cells…

Click an object in any viewport to compare candidate counts.

Drag to orbit the hero view · press R to reset

Continue to WebXR
LAB 22 / ARRAY + INDEX