Skip to content

feat(data-gpu): voxel shapes, boolean DenseVolume, and factor-based PBR#125

Open
krisnye wants to merge 2 commits into
mainfrom
feat/voxel-shapes-dense-volume
Open

feat(data-gpu): voxel shapes, boolean DenseVolume, and factor-based PBR#125
krisnye wants to merge 2 commits into
mainfrom
feat/voxel-shapes-dense-volume

Conversation

@krisnye

@krisnye krisnye commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add u32 bit-packed boolean TypedBuffer and DenseVolume<T> to @adobe/data for compact voxel occupancy grids
  • Introduce voxel shape plugin system: mesh baking, content dedup, VoxelRigidBody / VoxelStaticCollider archetypes, and visual bridge decoupled from physics collider rendering
  • Refactor factor-based PBR rendering (pbrFactorRender, material palette GPU) and port mechs material definitions into data-gpu
  • Scope physicsBridge to COLLIDER_PRIMITIVE_RENDER_ARCHETYPES only so voxel visuals never pass through the default collider→mesh path

Test plan

  • @adobe/data unit tests (boolean buffer, DenseVolume, serialization)
  • @adobe/data-gpu build (pnpm build in packages/data-gpu)
  • boolean-volume-mesh.test.ts passes
  • data-gpu-samples smoke: rigid-stack, pbr-model-ibl on :3008
  • Depends on mechs PR for end-to-end voxel stack verification

Made with Cursor

krisnye and others added 2 commits June 13, 2026 20:20
Add u32 bit-packed boolean TypedBuffer and DenseVolume for compact occupancy grids.
Introduce voxelShape plugin with mesh baking, dedup, and visual bridge over physics colliders.
Refactor rendering to material-palette factor PBR and update gpu samples accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
…cope

Scope physicsBridge to collider-primitive archetypes only, decouple voxel
visual bridge from it, add VoxelStaticCollider, and harden typing/lifecycle.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant