door_models
v5.5.4
Published
A reusable 3D door configurator for React.
Downloads
615
Readme
doorModelV2
What changed for performance
- Reduced radial segments on door handles, hinges, and keyholes to cut triangle counts without altering shapes or behavior. This helps exports (e.g., AutoCAD) and live rendering.
- Added an empty sourcemap at
node_modules/@mediapipe/tasks-vision/vision_bundle_mjs.js.mapto silence the upstream@mediapipe/tasks-visionwarning. Recreate it after reinstalling dependencies or script it in postinstall. - No functional or behavioral changes were made; only mesh density and build-noise adjustments. If you see breakage, capture the exact configuration for repro.
Next steps to improve performance
- Profile scene geometry counts in typical configurations and identify other high-poly shapes (arches, fanlights, decorative trims) to reduce segments where visually acceptable.
- Add level-of-detail (LOD) variants for handles/hinges and swap based on camera distance to keep close-ups crisp while distant meshes stay light.
- Consider baking static elements (frame, panels) into merged geometries where possible to cut draw calls, while keeping movable parts separate.
- Review texture sizes and compression (basis/ktx2) to reduce GPU upload cost without quality loss.
- Add automated build check that recreates the placeholder sourcemap and optionally reports total triangle count per scene preset for regression tracking.
