Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

How to Use the Sample Viewer

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:

Main Screen

MainScreen.jpg

Toolbars

SampleViewer.jpg

1.-5. Change Render Mode

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.

6. Material Editor

Click to open the material editor, which lets you change the material color, textures, and shaders.

7. Geometry Smoothing

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.

13. Identity to Group

Click to replace identity transformations with simple group nodes.

14. Triangulate Geometry

Click to create Triangles.

14. Triangulate Geometry

Click to arrange independent triangles into triangle strips. This should be done whenever possible. You can define the minimum strip length.

16. Caching

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.

18. Transparency

Click to choose between different types of transparency.

19. Culling

Click to choose culling tecniques. Currently the sample viewer supports only simple frustum culling, but later versions will support other culling strategies.

20.-27. Stereo

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

28. View All

Click to zoom to the extents of the current model to see the complete scene.

29. Undo View All

Click to zoom to undo the last zoom all command.

30. Set Rotation Point

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.

31. Selection Mode

Click to switch the viewer to selection mode, which lets you select objects in the scene.

32. Viewing Mode

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 .

33. Bounding Box Highlighting

Click to highlight the bounding box of the object that you select.

34. Wire frame Highlight

Click to highlight the wire frame of the object that you select.

35. Save Home Position

Click to save the current camera settings - such as position and zoom.

36. Set To Home Position

Click to set the camera to the saved home position.

37. Clipping Planes

Click to change and manipulate the camera clipping planes.

38. Full screen Mode

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.

39. Play Animation

Click to start and stop an animation in a scene.

40. Convert Animation

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

42. Walk Manipulator - Walk Mode

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

43. Flight Manipulator - Flight Mode

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

44. Manipulator Editor

Click to open the Manipulator Settings dialog box that lets you fine-tune the manipulator reaction and handling.

Command Line Parameters

Cluster Viewer

You can use the Sample Viewer in a simple cluster setup.

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 Cluster Server Setup)

Master Machine Setup

Cluster Server Setup

Cluster Machine Setup

Starting the Machines

1. Start ServerVR.exe on the Cluster-Server.
2. Start the master viewer on the Cluster-Server.
3. Start the other slave viewers on the cluster machines.
4. Load and control a scene using the master viewer on the Cluster-Server.

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
machine B: -left:0.400 -right:1.000

Back to NVIDIA Scene Graph Software Development Kit (NVSGSDK)


Generated on Tue Mar 1 13:20:36 2005 for NVSGSDK by NVIDIA