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

Replaced .osg with .osgt file usage

Files:
1 modified

Legend:

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

    r12292 r12529  
    158158 
    159159    // Here we demonstrate the use of osgWidget/io_utils. This is really only useful for 
    160     // debugging at the moment, but later I'll make it more generic for .osg and .ive 
    161     // creation. 
     160    // debugging at the moment. 
    162161    // std::cout << *box << std::endl << *boxCopy << std::endl; 
    163162 
     
    170169    osg::Group*  group  = new osg::Group(); 
    171170    osg::Camera* camera = osgWidget::createOrthoCamera(1280.0f, 1024.0f); 
    172     osg::Node*   model  = osgDB::readNodeFile("cow.osg"); 
     171    osg::Node*   model  = osgDB::readNodeFile("cow.osgt"); 
    173172 
    174173    // Add our event handler; is this better as a MatrixManipulator? Add a few other