- Download OSG-2.5.2.zip from ftp://dis.dankook.ac.kr/OSG/OSG-2.5.2.zip
- Unzip it at C drive
- Set environment variables
- Go to Control panel -> System icon -> Advanced tab -> Environment variables
- Add “C:\OSG-2.5.2\bin;C:\OSG-2.5.2\bin\osgplugins-2.5.2;C:\OSG-2.5.2\3rdParty\bin” for System’s “Path” variable
- Create a new variable called “OSG_FILE_PATH” and set the value “C:\OSG-2.5.2\OpenSceneGraph-Data” for the variable
- Create a new variable called “OSG_NOTIFY_LEVEL” and set the value “DEBUG_INFO” for the debug notification
- Create a new variable called “OSG_SCREEN” and set the value “0” to use only one main display monitor
- Create a new variable called “OSG_ROOT” and the set the value “C:\OSG-2.4.0” for Visual Studio .Net 2005
- Open a command window and run “osgviewer cow.osg”
Just another Kyoung Shin Park’s Lectures Sites site