OSG 3.1.1 Getting Started


  1. Download OSG-3.1.1-Setup.exe from http://dis.dankook.ac.kr/lectures/OSG-3.1.1-Setup.exe
  2. Unzip it at C drive
  3. Set environment variables

    • Go to Control panel -> System icon -> Advanced tab -> Environment variables
    • Check “C:\OSG-3.1.1\bin;C:\OSG-3.1.1\bin\osgplugins-3.1.1;C:\OSG-3.1.1\3rdParty\bin” for System’s “Path” variable
    • Check “OSG_FILE_PATH” and set the value “C:\OSG-3.1.1\OpenSceneGraph-Data” for the variable
    • Check “OSG_ROOT” and the set the value “C:\OSG-3.1.1” for Visual Studio .Net 2010

    • 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

  4. Open a command window and run “osgviewer cow.osg”

Leave a Reply

Your email address will not be published. Required fields are marked *