This section provides an overview of the fundamental concepts involved in using the NVSGSDK. It provides an explanation of many of the basic issues that developers deal with when creating NVSG-based applications.
The NVSGSDK provides tremendous control over almost all aspects of scenegraph programming. While there is a large amount of explanatory information, the material is broken down into smaller sections to make the information more manageable. This section discusses most of the basic issues in simple terms, with hyperlinks to sections in the NVSGSDK that contain more detailed information.
Writing NVSG-Based Applications
Development Tool to Use
The development tool for creating an NVSG-based application is Microsoft Visual C++.
Refer to the Sample Programs
Included with the SDK are sample programs that provide examples of how to write NVSG-based applications. These sample programs are found in the sub-directories of /NVSGSDK/SRC/SAMPLES, and the source code for these sample programs is very instructive.
See Building the Sample Files for information on building and running the sample programs.
Using NVSG essentially involves the following processes:
1 - Create an NVSG Project
See Creating a New NVSG Project , which describes a program to use as an example of creating an NVSG project.
2 - Create a Scenegraph
A scenegraph is created and maintained with NVSG objects such as nvsg::Triangles, nvsg::Transform, or nvsg::StateSet. These classes determine the geometries and the visual attributes of the scene, and don't know anything about rendering, storing, etc..