Show
Ignore:
Timestamp:
08/05/06 18:57:52 (8 years ago)
Author:
robert
Message:

Added code to reproduce Text outline bounding box compute bug.

Files:
1 modified

Legend:

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

    r5388 r5395  
    417417    text4->setPosition(center); 
    418418    text4->setAxisAlignment(osgText::Text::SCREEN); 
     419 
     420#if 1 
     421    // reproduce outline bounding box compute problem with backdrop on. 
     422    text4->setBackdropType(osgText::Text::OUTLINE); 
     423    text4->setDrawMode(osgText::Text::TEXT | osgText::Text::BOUNDINGBOX); 
     424#endif 
     425 
    419426    text4->setText("SCREEN"); 
    420427    geode->addDrawable(text4);