power3d 1.1.0
power3d: ^1.1.0 copied to clipboard
A powerful, industry-level 3D model viewer for Flutter using Babylon.js. Supports advanced controls, lighting, and object selection.
1.1.0 #
Features #
- Selection System Overhaul: Complete replacement of the basic selection system with a professional-grade modular system.
- Inspector-Style Hierarchy: Reorganized hierarchy view into "Nodes" and "Materials" sections, matching Babylon.js Inspector.
- Advanced Node Identification: Automatic detection of
Meshes,Cameras,Lights, andTransform Nodeswith dedicated icons. - Interactive Bounding Boxes: New
BoundingBoxStylesupport (cube,sphere,simple) and adjustable line thickness. - GLTF Metadata & Extras: Specialized
getNodeExtrasfunction to extract raw data and GLTF extras from any scene node or material. - Robust Identification: Migrated selection system to use
uniqueId.toString()as primary key, resolving duplicate naming issues. - Visibility Controls: New batch and individual controls for hiding/showing parts, including "Hide Selected" and "Show All".
- Selection Styling: Independent material modes (wireframe, xray, etc.) for selected vs unselected parts.
- Modular Example Suite: Replaced the monolithic selection example with four focused, high-performance examples in the example app.
Bug Fixes #
- 3D Stability: Fixed a major crash
(Uncaught TypeError: Cannot read properties of undefined)caused by improperUtilityLayerRendererinitialization in WebView. - Selection Reliability: Fixed issue where "unnamed" or duplicate nodes could not be selected.
- Material Lookup: Fixed materials not being found when requested by unique identifier.
- Deprecation Fixes: Migrated
Color.valuetoColor.toARGB32()to remain compatible with the latest Flutter stable releases. - Lazy Loading: Fixed transition bugs when switching Power3D from
lazy: truetofalse.
Documentation #
- Comprehensive update to
doc/advanced_selection.mdand basic selection guides. - New implementation plans and walkthroughs for contributors.
1.0.0 #
- Initial release of Power3D.
- Support for loading 3D models (GLB/GLTF) from assets, network, and files.
- Advanced camera controls: auto-rotation, zoom limits, and position locking.
- Interactive object selection and highlighting.
- Comprehensive lighting configuration with support for multiple lights.
- Screenshot capture functionality.
- Built-in and customizable loading/error widgets.