Skip to main content
Skip table of contents

Viewports

A Viewport can exist completely without a Session, as a Session can exist without a Viewport. The Viewport is responsible for rendering and rendering related settings. For example, camera and light management happens here. Additionally, a Viewport has many options, as rendering options can be enabled or disabled (shadows, ambient occlusion, etc.) and scene properties can be adjusted (groundplane, grid, etc.).


Cameras

One of the standard adaptions is to change some camera properties. We distinguish here between a Perspective Camera and an Orthographic Camera. In our next example we create a basic UI that let’s you switch between cameras.


The camera also has many capabilities that can be used to roam through the scene.


Lights

For lights, we always handle a bunch of them at once, that's why we introduce Light Scenes. A Light Scene is a grouping of lights. The lights in a Light Scene can be freely manipulated. Therefore, we now create a new Light Scene and add a few lights to it.


Additional Examples

Additional example can be found on the viewer examples page in the viewport section.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.