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/osgcopy/osgcopy.cpp

    r6941 r12529  
    235235    // write out the various scene graphs so that they can be browsed, either 
    236236    // in an editor or using a graphics diff tool gdiff/xdiff/xxdiff. 
    237     std::cout << std::endl << "Writing out the original scene graph as 'original.osg'"<<std::endl; 
    238     osgDB::writeNodeFile(*rootnode,"original.osg"); 
    239  
    240     std::cout << std::endl << "Writing out the graph preserving scene graph as 'graph_copy.osg'"<<std::endl; 
    241     osgDB::writeNodeFile(*graph_copy,"graph_copy.osg"); 
    242  
    243     std::cout << "Writing out the deep copied scene graph as 'deep_copy.osg'"<<std::endl; 
    244     osgDB::writeNodeFile(*deep_copy,"deep_copy.osg"); 
    245  
    246     std::cout << "Writing out the shallow copied scene graph as 'shallow_copy.osg'"<<std::endl; 
    247     osgDB::writeNodeFile(*shallow_copy,"shallow_copy.osg"); 
     237    std::cout << std::endl << "Writing out the original scene graph as 'original.osgt'"<<std::endl; 
     238    osgDB::writeNodeFile(*rootnode,"original.osgt"); 
     239 
     240    std::cout << std::endl << "Writing out the graph preserving scene graph as 'graph_copy.osgt'"<<std::endl; 
     241    osgDB::writeNodeFile(*graph_copy,"graph_copy.osgt"); 
     242 
     243    std::cout << "Writing out the deep copied scene graph as 'deep_copy.osgt'"<<std::endl; 
     244    osgDB::writeNodeFile(*deep_copy,"deep_copy.osgt"); 
     245 
     246    std::cout << "Writing out the shallow copied scene graph as 'shallow_copy.osgt'"<<std::endl; 
     247    osgDB::writeNodeFile(*shallow_copy,"shallow_copy.osgt"); 
    248248 
    249249