NVIDIA provides a sample viewer ViewerVR.exe. This is a demo viewer that you can use to familiarize yourself with the some of the capabilities of NVSG.
The following sections describe how to use ViewerVR.exe:
Click to switch between different render modes:
1. Point - Render the vertices of the model only.
2. Wire - Render in wire frame mode.
3. Shaded - Render using simple shader support.
4. Textured - Render using texture support.
5. Shader support - Render using full shader support, including vertex and fragment shaders.
Click to open the material editor, which lets you change the material color, textures, and shaders.
Click to smooth the edges in a geometry. You can define a crease angle (the angle between the face normals) at which the edge will be smoothed.
8.-11. Optimize Traverser (Unify)
8. State Set Unify 9. Transform Unify 10. GeoNode Unify 11. Drawable Unify
12. Optimize Geometry (Condense)
Click to condense (or optimize) a scene by collapsing vertices of the geometry. You can enter an epsilon value that defines the distance between vertices. Vertices with a distance less than or equal to this epsilon will be collapsed.
Click to replace identity transformations with simple group nodes.
Click to create Triangles.
Click to arrange independent triangles into triangle strips. This should be done whenever possible. You can define the minimum strip length.
Click to choose between no caching, display list caching (DL), or vertex buffer object caching (VBO). VBO is the fastest on modern GPUs.
17. Full Scene Antialiasing (FSAA)
Click to enable software full-scene antialiasing (FSAA). You can choose between different FSAA stages and techniques. Experiment to see which technique is the fastest on your graphics card. In many cases "Accumulation Buffer" is the fastest.
Click to choose between different types of transparency.
Click to choose culling tecniques. Currently the sample viewer supports only simple frustum culling, but later versions will support other culling strategies.
The sterero buttons let you manipulate the Quad-buffered OpenGL stereo settings. You must first enable OpenGL stereo in the display settings of your graphics card.
20. Stereo on 21. Increase stereo offset 22. Stereo offset default 23. Decrease stereo offset 24. Zero offset minus 25. Zero offset default 26. Zero offset plus 27. Reverse eyes
Click to zoom to the extents of the current model to see the complete scene.
Click to zoom to undo the last zoom all command.
Click to set the rotation point in a scene. When you select a face in the scene, the selected point on the face becomes the new rotation point.
Click to switch the viewer to selection mode, which lets you select objects in the scene.
Click to switch the viewer to viewing mode, which lets you manipulate the camera/model using the camera manipulator.
See 41. Trackball Manipulator - Examiner Mode , 42. Walk Manipulator - Walk Mode , and 43. Flight Manipulator - Flight Mode .
Click to highlight the bounding box of the object that you select.
Click to highlight the wire frame of the object that you select.
Click to save the current camera settings - such as position and zoom.
Click to set the camera to the saved home position.
Click to change and manipulate the camera clipping planes.
Click to switch to full-screen mode. No frames, menus, or toolbars are shown in full-screen mode. Right-click the screen to open the context menu in full-screen mode. From the menu you can switch back to windowed mode.
Click to start and stop an animation in a scene.
Click to convert a framed animation to a linear interpolated animation.
41. Trackball Manipulator - Examiner Mode
Click to set the trackball camera manipulator, which is active when the viewer is set to viewing mode (See 32. Viewing Mode )
The trackball manipulator interprets mouse movements as a trackball input. (Imagine a big sphere centered inside of the viewport which you lay your hand on and rotate.) The manipulator also allows you to dolly and move the objects of the scene.
Keys & Buttons
Click to set the walk camera manipulator, which is active when the viewer is set to viewing mode (See 32. Viewing Mode )
The walk manipulator interprets/converts mouse movements into walk-through camera movements.
Keys & Buttons
Click to set the fly camera manipulator, which is active when the viewer is set to viewing mode (See 32. Viewing Mode )
The fly manipulator interprets/converts mouse movement into fly-through camera movements.
Keys & Buttons
Click to open the Manipulator Settings dialog box that lets you fine-tune the manipulator reaction and handling.
For swap synchronization you should use the Quadro FX3000G graphics card and connect all machines. For more information about hardware swap synchronization see the documentation that comes with your NVIDIA frame-lock capable graphics card.
Cluster 3x3 + Master
This section describes a sample setup of nine cluster machines and one master machine (+ one Cluster Server - see the note clusterserver)
\subsubsection mastermachinesetup Master Machine Setup
\subsubsection sampleviewerclustercommandline Command Line Parameters for the Different Viewers 00: -slave -server:Cluster-Server -name:m00 -x:000 -y:600 -cx:300 -cy:300 -left:0.000 -right:0.333 -top:0.333 -bottom:0.000
01: -slave -server:Cluster-Server -name:m01 -x:300 -y:600 -cx:300 -cy:300 -left:0.333 -right:0.666 -top:0.333 -bottom:0.000
02: -slave -server:Cluster-Server -name:m02 -x:600 -y:600 -cx:300 -cy:300 -left:0.666 -right:1.000 -top:0.333 -bottom:0.000
10: -slave -server:Cluster-Server -name:m10 -x:000 -y:300 -cx:300 -cy:300 -left:0.000 -right:0.333 -top:0.666 -bottom:0.333
11: -slave -server:Cluster-Server -name:m11 -x:300 -y:300 -cx:300 -cy:300 -left:0.333 -right:0.666 -top:0.666 -bottom:0.333
12: -slave -server:Cluster-Server -name:m12 -x:600 -y:300 -cx:300 -cy:300 -left:0.666 -right:1.000 -top:0.666 -bottom:0.333
20: -slave -server:Cluster-Server -name:m20 -x:000 -y:000 -cx:300 -cy:300 -left:0.000 -right:0.333 -top:1.000 -bottom:0.666
21: -slave -server:Cluster-Server -name:m21 -x:300 -y:000 -cx:300 -cy:300 -left:0.333 -right:0.666 -top:1.000 -bottom:0.666
22: -slave -server:Cluster-Server -name:m22 -x:600 -y:000 -cx:300 -cy:300 -left:0.666 -right:1.000 -top:1.000 -bottom:0.666
Master: -master -server:Cluster-Server -name:master
Overlapping
The above setup does not overlap the viewports. If you need overlapping, such as for a set of video projectors or a power wall, control the overlapping by adjusting the viewport borders of the viewer.
For example:
machine A: -left:0.000 -right:0.600\n machine B: -left:0.400 -right:1.000\n
Back to NVIDIA Scene Graph Software Development Kit (NVSGSDK)