·
6 commits
to master
since this release
Announcing PlayCanvas Integration 🎉
We're excited to announce that PlayCanvas has joined the family of supported Bitbybit game engines! PlayCanvas is now officially supported alongside Three.js and Babylon.js, giving you more flexibility in choosing the right engine for your 3D CAD applications.
Learn more: Visit our PlayCanvas support blog post
New Features & Improvements
PlayCanvas Support
- Draw OCCT, Manifold, JSCAD shapes with faces and edges in PlayCanvas
- Orbit camera implementation for PlayCanvas
- Full integration with Bitbybit CAD shapes such as points, lines, polylines, curves as PlayCanvas entities
Rendering Enhancements
- Face direction visualization: When drawing OCCT, Manifold, and JSCAD shapes in all engines, faces are now rendered on the negative side by default with blue color for better visibility. This helps identify positive vs. negative face orientation, which is crucial for OpenCascade geometry construction. Can be disabled via the
drawTwoSidedproperty in drawing options. - Arrow rendering: Added arrow rendering option for polylines across all game engines, useful for visualizing edge and wire direction in OCCT.
- Multi-color support: Introduced multi-color rendering for polylines and points.
- Optimized point rendering: Point rendering is now significantly more efficient across all engines, utilizing thin instances technique.
- Verb surface rendering: Fixed rendering issues for Verb surfaces on all engines.
Materials & Textures
- Cross-engine materials: New generic API for creating textures and PBR materials that work consistently across all game engines. Materials created in Babylon.js visual programming editors can now be exported to PlayCanvas with matching appearance.
- Note: While parameters and colors are set identically, final rendering may vary slightly due to engine-specific rendering pipelines.
Gaussian Splatting (3DGS)
- Scale in place: Implemented
scaleInPlacemethod as the recommended approach for scaling Gaussian Splatting meshes. The old scale method flips geometry on the Y-axis and is now not considered best practice. Reference - Shadow support: Added
transparencyShadowproperty to directional and point lights. When enabled, 3DGS Gaussian Splat meshes now generate shadows.
Manifold Kernel
- Cross-sections: Added ability to create cross-sections from lists of points in the Manifold kernel.
Documentation
Comprehensive runner documentation is now available for all supported engines:
What's Changed
- v0.21.0 by @matas-bitbybit-dev in #108
- Documentation adjustments for PlayCanvas integration, additional exaples, fixes, stackblitz script updates by @matas-bitbybit-dev in #109
Full Changelog: v0.20.14...v0.21.0