Added request for accumulator buffer.
This commit is contained in:
parent
f3cfe97da9
commit
35b0dbc505
@ -128,6 +128,9 @@ int main( int argc, char **argv )
|
||||
|
||||
std::cout << "Time to load = "<<osg::Timer::instance()->delta_s(start_tick,end_tick)<<std::endl;
|
||||
|
||||
// set the display settings we can to request, OsgCameraGroup will read this.
|
||||
osg::DisplaySettings::instance()->setMinimumNumAccumBits(8,8,8,8);
|
||||
|
||||
// optimize the scene graph, remove rendundent nodes and state etc.
|
||||
osgUtil::Optimizer optimizer;
|
||||
optimizer.optimize(loadedModel.get());
|
||||
|
Loading…
Reference in New Issue
Block a user