Vizard 8 » Command Index » Vizard objects » node3d » <node3d:canvas>.setRenderScreenOrtho
8.0

<node3d:canvas>.setRenderScreenOrtho

Render canvas in orthographic screen mode

<node3d:canvas>.setRenderScreenOrtho(  
window = viz.MainWindow  
)  
window = viz.MainWindow
The <window> object to render on top of.

Remarks

This command will set the canvas to render in orthographic mode on top of the specified window. The resolution of the canvas will automatically adjust to match the size of the window. The projection matrix will adjust to match the resolution.

This mode is typically used in non-stereo desktop interaction scenarios.

The default render mode of the canvas is world overlay, with the following settings:

canvas.setRenderWorldOverlay([1280,720], fov=50.0, distance=3.0)

Return Value

None

See also

<node3d:canvas>.getRenderMode
<node3d:canvas>.setRenderScreenPerspective
<node3d:canvas>.setRenderWorld
<node3d:canvas>.setRenderWorldOverlay
<node3d:canvas>.setMouseStyle