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

Creating a New NVSG Project

This section describes a sample application that you can use to see how to create a new NVSG Project using MFC. The sample code is located in the nvsgsdk/src/samples/SimpleViewer directory.

About the Simple Viewer Sample Application

This simple application creates a viewer showing a simple model. You can rotate, zoom and pan the model by using the mouse.

The application was created with the developer studios’ project wizard. (MFC project, single document application)

Simple Viewer Project Settings

C/C++ Compiler Settings

Additional include directories (General / Additional Include Directories):


Enable run-time type information (Language / Enable Run-Time Type Info):

Linker Settings

Additional library directories: (General / Additional Library Directories ):


Additional libs (Input / Additional Dependencies):

DLL Requirements

Source

In the sources the relevant code for NVSG is marked by
// NVSG ------------------begin// NVSG ------------------end
so it is very easy to identify the relevant code snippets.
The relevant classes for the “SimpleViewer” example are:

You will find further explanation in the comments of the code.

Back to Fundamental Concepts of the NVSGSDK


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