Show
Ignore:
Timestamp:
03/13/08 14:43:22 (7 years ago)
Author:
robert
Message:

From Alberto Luaces, "Here I send minor corrections to the text output by the osgforest example when
building its graphs. The message "Creating billboard based forest" appears
four times regardless of the actual type of the graph being built.
"

Files:
1 modified

Legend:

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

    r7699 r7929  
    982982 
    983983    { 
    984         std::cout<<"Creating billboard based forest..."; 
     984        std::cout<<"Creating osg::Billboard based forest..."; 
    985985        osg::Group* group = new osg::Group; 
    986986        group->addChild(createBillboardGraph(cell.get(),dstate)); 
     
    991991     
    992992    { 
    993         std::cout<<"Creating billboard based forest..."; 
     993        std::cout<<"Creating double quad based forest..."; 
    994994        osg::Group* group = new osg::Group; 
    995995        group->addChild(createXGraph(cell.get(),dstate)); 
     
    10001000 
    10011001    { 
    1002         std::cout<<"Creating billboard based forest..."; 
     1002        std::cout<<"Creating osg::MatrixTransform based forest..."; 
    10031003        osg::Group* group = new osg::Group; 
    10041004        group->addChild(createTransformGraph(cell.get(),dstate)); 
    1005         group->addChild(createHUDWithText("Using osg::MatrixTransform's to create a forest\n\nPress left cursor key to select double quad based forest\nPress right cursor key to select OpenGL shder based forest")); 
     1005        group->addChild(createHUDWithText("Using osg::MatrixTransform's to create a forest\n\nPress left cursor key to select double quad based forest\nPress right cursor key to select OpenGL shader based forest")); 
    10061006        _techniqueSwitch->addChild(group); 
    10071007        std::cout<<"done."<<std::endl; 
     
    10671067        } 
    10681068 
    1069         std::cout<<"Creating billboard based forest..."; 
     1069        std::cout<<"Creating OpenGL shader based forest..."; 
    10701070        group->addChild(createShaderGraph(cell.get(),stateset)); 
    10711071        group->addChild(createHUDWithText("Using OpenGL Shader to create a forest\n\nPress left cursor key to select osg::MatrixTransform based forest\nPress right cursor key to select osg::Billboard based forest"));