通过配置环境变量OSG_NOTIFY_LEVEL可以设置OSG的打印等级。通过设置OSG_OPTIMIZER环境变量可以打开和关闭OSG优化,OSG优化是非常坑爹的操作,不推荐做。OSG_NOTIFY_LEVEL Unix, tcsh:
setenv OSG_NOTIFY_LEVEL DEBUG
Unix, bash:
export OSG_NOTIFY_LEVEL=DEBUG
Windows:
set OSG_NOTIFY_LEVEL=DEBUG
OSG_OPTIMIZER Unix, tcsh:
setenv OSG_OPTIMIZER "OFF"
Unix, bash:
export OSG_OPTIMIZER="OFF"
Windows:
set OSG_OPTIMIZER="OFF"
浏览次数:55900 次