Babylon Viewer (v2)

A few updates on the Viewer:

  1. There is now default UI for material variants, and an attribute for selecting the default variant:
  2. Previously a double click/tap anywhere in the Viewer would reset the camera pose. Now, if you double click/tap on the model, it will reset the camera target to the hit position so you can easily move the camera around that point.
  3. Panning sensitivity is now relative to the distance from the camera target, so that even when you zoom in close, you can still easily pan the camera.
  4. A few other input handling updates to improve the experience on mobile devices.

Documentation is up next, and after that we intend to flip the switch and make the new Viewer be the default for the @babylonjs/viewer npm package.

7 Likes