Closed dylanebert closed 6 months ago
This is a major overhaul that adds support for multiple objects, real-time updates, and intersection testing.
Scene
Object3D
Camera
Splat
CameraData
SplatData
WebGLRenderer
ShaderProgram
RenderProgram
DataWorker
IntersectionTester
SortWorker
This is a major overhaul that adds support for multiple objects, real-time updates, and intersection testing.
Scene
Scene
class now consists ofObject3D
objects.Camera
andSplat
are now types ofObject3D
. The refer toCameraData
andSplatData
respectively.SplatData
now contains the positions, rotations, scales, and colors that previously composed the scene representation.Renderer
WebGLRenderer
is now simplified to contain a modular list of shader programs.ShaderProgram
class containerizes rendering logic. This includes theRenderProgram
, which is responsible for rendering splats.DataWorker
that asynchronously packs data into a render texture.Intersections
IntersectionTester
class that can be used for intersection testing.SortWorker
now stores the 15x15 screen-space chunk ID of each point, improving intersection testing speed.