Show
Ignore:
Timestamp:
06/14/11 18:54:20 (6 years ago)
Author:
robert
Message:

Replaced .osg with .osgt file usage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgprerender/osgprerender.cpp

    r9137 r12529  
    468468     
    469469    // if not loaded assume no arguments passed in, try use default mode instead. 
    470     if (!loadedModel) loadedModel = osgDB::readNodeFile("cessna.osg"); 
     470    if (!loadedModel) loadedModel = osgDB::readNodeFile("cessna.osgt"); 
    471471     
    472472    if (!loadedModel) 
     
    485485    rootNode->addChild(createPreRenderSubGraph(loadedModelTransform,tex_width,tex_height, renderImplementation, useImage, useTextureRectangle, useHDR, samples, colorSamples)); 
    486486 
    487     osgDB::writeNodeFile(*rootNode, "test.ive"); 
     487    //osgDB::writeNodeFile(*rootNode, "test.osgb"); 
    488488 
    489489    // add model to the viewer.