Commit Graph

38 Commits

Author SHA1 Message Date
Adam Morris 133b04b811 Updated the 3DGS code to support the latest spec and deprecated old spec 2025-08-26 13:00:14 -05:00
keyboardspecialist 371e8cc469 updated spz-loader to 0.3.0, this brings SPZ 2.0.0 support
Rectifies some issues with orientation as the old spz-loader forced a rotation around the X axis. Related PrimitiveLoadPlan code removed, no longer needed.
2025-07-30 13:38:19 -05:00
keyboardspecialist 0f416f2e29 Removing old GS code and properties 2025-05-22 12:08:23 -05:00
keyboardspecialist 1aff10a054 spz compression extension compatibility updates 2025-05-20 07:52:24 -05:00
keyboardspecialist cf8ad41d55 get color by name and ignore any SH attributes 2025-05-15 09:25:57 -05:00
keyboardspecialist a9b34ee0c2 comment 2025-05-13 10:49:49 -05:00
keyboardspecialist 3944f4c20d keep rotation for now 2025-04-25 15:53:39 -05:00
keyboardspecialist 4189e4dd7e remove orientation correction. handled in tiler now 2025-04-25 12:20:00 -05:00
keyboardspecialist 6fde4e4d1f color and splat rotation fixes 2025-04-16 13:54:15 -05:00
keyboardspecialist 1e531a1be6 new SPZ loader 2025-04-16 04:03:32 -05:00
keyboardspecialist b6ad285e88 remove quaternion flip. was compensating for bug in tiler 2025-03-28 13:33:22 -05:00
keyboardspecialist a1fba0aca3 Fixed bug with spz opacity. spz-loader already applies the sigmoid 2025-03-11 13:38:57 -05:00
keyboardspecialist 0083ab5ad1 gaussian splatting shader improvements. Properly handles scaled models now.
Minor code cleanup as well.
2025-02-27 13:09:59 -06:00
keyboardspecialist 68b4139e88 invert quaternion for meshopt to align with original data
when calculating 2d covariance account for scale in all 3 dimensions (fixes bug with non-uniformly scaled assets looking stretched)
2025-02-26 14:17:42 -06:00
keyboardspecialist 3b4fdd10d0 model was still mirrored on X axis.
Negate position and quarternions
2025-02-26 00:24:32 -06:00
keyboardspecialist b51755ac5e Moved SPZ loading into the gltfLoader. Assuming flat spz buffer for now.
GltfVertexBufferLoader version stubbed out for when we have separate buffers
2025-02-25 23:33:22 -06:00
keyboardspecialist 74e9ee514b Activate values after unpacking 2025-02-21 14:08:58 -06:00
keyboardspecialist 96087c993f remove _SPZ attr 2025-02-21 13:42:14 -06:00
keyboardspecialist b6636d6e92 Merge branch 'splat-shader' into splat-spz-concept 2025-02-21 13:28:11 -06:00
keyboardspecialist 8b99a809d6 proof of concept for loading spz from gltf 2025-02-19 17:06:19 -06:00
keyboardspecialist d684417bb8 Gaussian Splat Texture Generator now uses TaskProcessor. Async creation moved to Model from PrimitiveLoadPlan (where is was synchronous)..
Reworked logic in runtime primitive. No longer auto fallback to other pipeline.
2025-01-30 17:53:58 -06:00
keyboardspecialist e9b04ba14b Removed need for transform matrix in primitive load plan dequantizing for splats
vertex shader tweaked to account for transform scale when calculating 2d covariance
2025-01-30 13:36:17 -06:00
Jason Sobotka 6874e72046 more sensible dequant positions 2024-12-11 03:27:34 -06:00
Jason Sobotka de96ac67b6 sorting fixes in texture mode 2024-12-10 23:01:39 -06:00
Jason Sobotka bf4ab9dca7 lets try and clean up this branch with the new prettier changes 2024-12-10 16:50:40 -06:00
Jason Sobotka baf322d258 Rendering fixes and tweaks 2024-12-06 09:53:07 -06:00
Jason Sobotka b2f5aa2fc7 Lots of pipeline changes.
Sorting no longer occurs during the Gaussian texture pipeline.

Texture path shaders simplified and optimized. (Should migrate if attribute pipeline stays).

Migrating to proper task processor workers for sorting and texture generation

Lots of clean up.
2024-11-22 09:18:22 -06:00
Jason Sobotka 6061b17cfc splatting texture pipeline updates and improvements 2024-11-19 22:32:15 -06:00
Jason Sobotka d2441cf3b3 guassian texture pipeline 2024-11-14 13:51:42 -06:00
Jason Sobotka 18d75d2b3d staging for demo 2024-11-04 11:43:28 -06:00
Jason Sobotka 52b3d618dd fixes from latest merge
updates to load meshopt splats
2024-10-22 10:57:31 -05:00
Jason Sobotka 43c08cf661 toggle between points and splats at runtime 2024-07-12 16:46:11 -05:00
Jason Sobotka 13dfa78635 splats sorted via countSort
some clean up
2024-07-02 18:32:20 -05:00
Jason Sobotka c6b8d25428 splats but bad projection 2024-07-01 01:49:58 -05:00
Jason Sobotka 7a4c864c38 Buffer rework. inject attribute buffer for screen space quad at gltf loading.
Setup for instanced rendering of quads
2024-06-28 15:40:28 -05:00
Jason Sobotka bdf4eb5778 detect KHR_gaussian_splatting extension and set props and prime for post processing 2024-06-26 13:58:19 -05:00
onsummer 3d8f53819f Change constructor type to primitive type for: Object, Number, String, Boolean; and standardize the generic syntax of Array and Promise 2023-02-10 16:35:41 +08:00
Sanjeet Suhag aaf6bd8a5c Adds engine and widgets workspaces 2022-11-01 15:39:57 -04:00