-
Notifications
You must be signed in to change notification settings - Fork 44
Release history
pattern-x edited this page Jul 20, 2023
·
4 revisions
- Added progress for BimViewer (Add enableProgressBar: true, in viewer config)
- Added progress for adding/creating object edges
- Refined SkyboxPlugin
- Refined OSnapHelper.handleSnap
- Fixed some bugs.
- Added GroundGridPlugin
- Added GroundGrassPlugin
- Added ScreenshotPlugin
- Fixed some bugs.
- enableNavCube, use NavCubePlugin instead
- enableAxisGizmo, use AxisGizmoPlugin instead
- enableStats (for debug), use StatsPlugin instead
- enableBottomBar (for debug), use BottomBarPlugin instead
So, we need to remove these from ViewerConfig, and use plugin instead. You'll get a console warning otherwise. Here is an example for how to replace 'enableAxisGizmo': The old way to use enableAxisGizmo (pseuduecode)
const viewer = new BimViewer({ containerId: "myCanvas", enableAxisGizmo: true, }, project.camera);
viewer.loadModel(modelCfg);
Here is an example of how to use the plugin (pseuduecode)
import { AxisGizmoPlugin} from "./demo/libs/gemini-viewer.esm.min.js";
const viewer = new BimViewer({ containerId: "myCanvas",}, project.camera);
new AxisGizmoPlugin(viewer);
viewer.loadModel(modelCfg);
- GroundShadowPlugin
- MeasurementPlugin
- SectionPlugin
- Fixed an issue that section cannot be used in mobile device.
- Double click doesn't work well sometimes in BimViewer.
Please take a look at this PR for more details.