/ Usage Tips

OpenSceneGraph

Usage Tips

Follows are a set of items that are useful to know for successfully using the OpenSceneGraph.

  • To control the verbosity of debugging messages of OpenSceneGraphapplications set the OSG_NOTIFY_LEVEL evironmental variable: Unix, tcsh:
    setenv OSG_NOTIFY_LEVEL DEBUG
    
    Unix, bash:
    export OSG_NOTIFY_LEVEL=DEBUG
    
    Windows:
    set OSG_NOTIFY_LEVEL=DEBUG
    
  • To control the default level of database optimization use the OSG_OPTIMIZER environmental variable, and to switch off use OFF: Unix, tcsh:
    setenv OSG_OPTIMIZER "OFF"
    
    Unix, bash:
    export OSG_OPTIMIZER="OFF"
    

    Windows:

    set OSG_OPTIMIZER="OFF"