Hi Lv,
I haven't tried modifying the drawing style of bounding box of an
osgText::Text before, but it should be possible by decorating the Text
subgraph with an osg::StateSet with the osg::LineStipple and osg::LineWidth
StateAttributes attached to the StateSet to control the stipple and line
Hi Lv,
osgText::Text implementation is very pretty old now, with a design driven
by the needs of very old hardware. If I were to rewrite osgText I would
not implement it the has been. I would not recommend adding OpenGL coding
into osgText::Text as this breaks OSG's ability to do lazy state
Thx!Robert!
The situation is,we have modified the text.cpp to create some other styles
rather than boundingbox.
Like a BoundingLine,one end to one of the corner of a BoundingBox,the other
end linked to a osg::Node.
So if a text have a BoundingLine and a BoundingBox,I just want
3 matches
Mail list logo