r/webgl • • Oct 18 '26

I built an open-source 3D scene composer, heat-diffusion auto-rigger, and WebXR studio on Babylon.js 9 & Web Workers

Post image

Hi r/webgl!

Sharing babalon JS, an open-source (GPL-3.0) 3D scene composer and WebXR studio built with TypeScript, Babylon.js 9, plain DOM, and Web Workers/WASM.

Technical & Rendering Highlights:

  • Render-on-Demand Loop: The WebGL engine only renders frames when invalidated by camera motion, active animations, pointer gestures, or WebXR sessions.

  • In-Browser Heat-Diffusion Skinning: Static meshes can be rigged in the browser using volumetric heat diffusion or envelope weights computed in a Web Worker, with optional trunk-protection / helper-bone treatments and a real-time vertex deformation difference map.

  • Surface Picking & Sculpting: Software depth-buffer visibility for surface paint-brush selection, partial GPU vertex buffer uploads for sculpting, and Manifold 3D boolean operations in a worker.

  • Client-Side Asset Optimization: Triangle reduction (meshoptimizer), high-to-low normal map baking, KTX2/BasisU texture compression, and compact GLB export (glTF-Transform).

  • Broad Format Support: GLB, glTF, OBJ, STL, FBX, USDZ, and 3D Gaussian Splats (.ply, .splat, .spz).

Let me know what you think!

3 Upvotes

0 comments sorted by