While the Babylon platform can power any number of graphics scenarios, rendering a 3D model is a very common one. The Babylon Viewer is created specifically for this scenario and provides a simple, robust solution for rendering a 3D model in a web page or native app.
The 3D model rendered at the top of this page can be rendered on your own page with the simple code snippet below!
The Babylon Viewer has a rich feature set to support the most common 3D model viewing scenarios. Both WebGL and WebGPU are supported, with improved performance when using WebGPU. It also supports various power optimizations, such as pausing rendering when the viewer is not visible.