Skip to content

createTrianglesScene

createTrianglesScene(): DemoScene

Defined in: addons/src/scenes/TrianglesScene.ts:23

Low-polygon meshes under one lamp: a sphere of 12 by 8 segments (168 triangles) shaded with smooth normals, and a box of 12 triangles shaded flat, on a floor with a back wall. Every ray walks the two-level BVH to a triangle, and the sphere’s silhouette is the polygon’s while its shading is the sphere’s. It is the triangles scene of the differential gate (design record 0002).

DemoScene