newspeoplefor developersdocumentationdownloads

nSceneServer Script Interface

nsceneserver:

Super Class:

C++ Class:

Info

The scene server collects visible scene geometry and renders them in an optimal way by sorting for minimal state switches.

Commands:


setrenderpathfilename

Command Input:
s(RenderPathFilename)
Command Output:
v
Command Description:
Set the name to the XML file which contains the render path definition.

getrenderpathfilename

Command Input:
v
Command Output:
s(MeshResource)
Command Description:
Get the filename of the renderpath filename.

setobeylightlinks

Command Input:
b(ObeyLightLinks)
Command Output:
v
Command Description:
Obey light links, yes or no. If turned off, every shape in the scene will be lit by every light. If turned on, the application is responsible to generate bidirectional light links between render contexts.

getobeylightlinks

Command Input:
v
Command Output:
b(ObeyLightLinks)
Command Description:
Get the obey light links flag.

setrenderdebug

Command Input:
b(RenderDebug)
Command Output:
v
Command Description:
Enable/disable debug visualization.

getrenderdebug

Command Input:
v
Command Output:
b(RenderDebug)
Command Description:
Get debug visualization flag.

setocclusionquery

Command Input:
b(OcclusionQuery)
Command Output:
v
Command Description:
Enable/disable occlusion query.

getocclusionquery

Command Input:
v
Command Output:
b(OcclusionQuery)
Command Description:
Get occlusion query flag.

setclipplanefencing

Command Input:
b(ClipPlaneFencing)
Command Output:
v
Command Description:
Enable/disable clip plane fencing for point lights (default is on).

getclipplanefencing

Command Input:
v
Command Output:
b(ClipPlaneFencing)
Command Description:
Get clip plane fencing mode.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.