Skip to content

Releases: huggingface/gsplat.js

1.0.1 - Immediate Rebuild

21 Dec 18:26
327fca9
Compare
Choose a tag to compare
  • 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

17 Dec 21:12
3769963
Compare
Choose a tag to compare

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 of Object3D objects.
  • Camera and Splat are now types of Object3D. The refer to CameraData and SplatData 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 the RenderProgram, 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

30 Nov 22:13
815e0a0
Compare
Choose a tag to compare
Pre-release

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

22 Nov 23:37
Compare
Choose a tag to compare
Pre-release
  • Only dispose WebGLRenderer if initialized

0.2.10 - Import polycam ply

17 Nov 18:35
f69a0c4
Compare
Choose a tag to compare
Pre-release

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

11 Nov 16:33
Compare
Choose a tag to compare
Pre-release

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

11 Nov 16:21
Compare
Choose a tag to compare
Pre-release

Math classes have been made more lightweight and simple to avoid inconsistent behavior and overhead.

  • Vector3, Quaternion, Matrix3, and Matrix4 no longer have setters
  • Quaternion no longer automatically normalizes

0.2.7 - Tests, limits

11 Nov 05:00
35f9c1b
Compare
Choose a tag to compare
0.2.7 - Tests, limits Pre-release
Pre-release
  • Added automated tests (thanks @jeyemwey)
  • Added limitBox method to constrain scene (thanks @jeyemwey)
  • Bug fix in saveToFile
  • Default to mini bonsai in simple examples for lower demo memory requirement

0.2.6 - Various performance/usability improvements

11 Nov 03:26
809075b
Compare
Choose a tag to compare
  • A lot of code has been refactored to be slightly faster and more memory efficient
  • Added scale() and saveToFile() methods to Scene
  • Scene now uses event dispatching instead of dirty property

0.2.5 - Event Dispatcher

10 Nov 05:48
e8a2315
Compare
Choose a tag to compare
Pre-release
  • Object3D now extends an EventDispatcher class, allowing other classes to listen for change events
  • OrbitControls now listens for camera changes, and adjusts accordingly
  • OrbitControls can now have a target passed in the constructor