Show
Ignore:
Timestamp:
07/18/06 14:24:04 (8 years ago)
Author:
robert
Message:

From Eric Wing, add alternate backdrop implementations.

From Robert Osfield, updated naming and copy constructor methods.

Files:
1 modified

Legend:

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

    r5297 r5317  
    168168#if 1 
    169169    text->setBackdropType(osgText::Text::OUTLINE); 
     170//   text->setBackdropType(osgText::Text::DROP_SHADOW_BOTTOM_RIGHT); 
     171 
     172    text->setBackdropImplementation(osgText::Text::POLYGON_OFFSET); 
     173//    text->setBackdropImplementation(osgText::Text::NO_DEPTH_BUFFER); 
     174//    text->setBackdropImplementation(osgText::Text::DEPTH_RANGE); 
     175//    text->setBackdropImplementation(osgText::Text::STENCIL_BUFFER); 
     176     
    170177    text->setBackdropOffset(0.05f); 
    171178    text->setBackdropColor(osg::Vec4(0.0f, 0.0f, 0.5f, 1.0f));