Releases: huggingface/gsplat.js
Releases · huggingface/gsplat.js
1.0.1 - Immediate Rebuild
- Splat data now rebuilds immediately instead of waiting for web worker on initial load
- Updated editor example to sync with space
1.0.0 - Real-time editing overhaul
This major 1.0 release adds support for multiple objects, real-time updates, and intersection testing. See the new editor
example to see all these new features in action.
Scene
- The
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
- The
WebGLRenderer
is now simplified to contain a modular list of shader programs. - The new
ShaderProgram
class containerizes rendering logic. This includes theRenderProgram
, which is responsible for rendering splats. - There is now a
DataWorker
that asynchronously packs data into a render texture.
Intersections
- There is now an
IntersectionTester
class that can be used for intersection testing. - The
SortWorker
now stores the 15x15 screen-space chunk ID of each point, improving intersection testing speed.
0.2.12 - Scene Refactoring
This update doesn't change any functionality, but sets up the Scene
class for easier editing.
- Render data is now encapsulated in the
RenderData
class - This makes the scene representation more general and easy to manipulate
0.2.11 - Dispose correctly
- Only dispose
WebGLRenderer
if initialized
0.2.10 - Import polycam ply
An optional format: string = "polycam"
argument can now be passed to PLYLoader.Load
methods to correctly import polycam ply files.
0.2.9 - Immutable math classes
Building on 0.2.8, math classes now have immutable properties.
Will prevent unintended cases where setting math properties don't raise change events.
0.2.8 - Remove math setters
Math classes have been made more lightweight and simple to avoid inconsistent behavior and overhead.
Vector3
,Quaternion
,Matrix3
, andMatrix4
no longer have settersQuaternion
no longer automatically normalizes
0.2.7 - Tests, limits
0.2.6 - Various performance/usability improvements
- A lot of code has been refactored to be slightly faster and more memory efficient
- Added
scale()
andsaveToFile()
methods toScene
Scene
now uses event dispatching instead ofdirty
property
0.2.5 - Event Dispatcher
Object3D
now extends anEventDispatcher
class, allowing other classes to listen for change eventsOrbitControls
now listens for camera changes, and adjusts accordinglyOrbitControls
can now have a target passed in the constructor