Vizard 7 » Command Index » Vizard modules » viz » <viz>.addRenderNode
7.6

<viz>.addRenderNode

Add a render node

<viz>.addRenderNode(  
scene = viz.MainScene  
)  
scene = viz.MainScene
The scene to add the object to

Remarks

Create a new render node with the following default settings:

- Inherits clear color
- Inherits Modelview/Projection matrices
- Inherits clip plane calculation
- Renders scene that it is added to
- viz.RENDER_FBO buffer mode
- viz.PRE_RENDER with order 0
- Size of [512,512]
- viz.GL_COLOR_BUFFER_BIT and viz.GL_DEPTH_BUFFER_BIT clear masks

Return Value

<node3d:rendernode> object