ply_viewer 0.0.3
ply_viewer: ^0.0.3 copied to clipboard
A highly customizable 3D PLY point cloud & mesh viewer widget for Flutter, supporting local files, assets, raw bytes, and network URLs using WebGL and Three.js.
0.0.3 #
- Programmatic Control Improvements: Added new methods to
PlyViewerControllerto allow extensive programmatic control over the viewer's UI components, allowing developers to hide the default toolbar/buttons entirely and build their own custom overlays seamlessly. - New methods include:
toggleCameraMode(),toggleViewMode(),increasePointSize(),decreasePointSize(),startMove(),stopMove(), and an enhancedtoggleGrid([bool?]). - Minor bug fixes and performance enhancements.
0.0.2 #
- Minor bug fixes and pub score improvements.
0.0.1 #
- Initial release of
ply_viewer. - Support for rendering multiple 3D formats (
PLY,glTF,GLB,FBX,USDZ,OBJ,STL) with automatic format detection. - Support data sources: Network URL, Local File, Flutter Assets, and Raw Bytes.
- Auto-conversion of GitHub Blob URLs to raw content URLs to support loading models directly from GitHub repositories without CORS/HTML wrapper issues.
- Includes customizable HTML glassmorphic toolbar, D-pad navigation, height elevation, grid control, point density selector, and inside/outside view modes.
- Added 3-way camera gesture modes: Orbit (Rotate object), Pan (Translate), and Look (First-Person View) in the glassmorphic toolbar for looking around from a fixed camera point.
- Configurable rotation offsets (
initialRotationX,initialRotationY,initialRotationZ) inPlyViewerConfigto correct misaligned models. - Programmatic camera & rendering control via
PlyViewerController.