Hi Paul,
On Mon, Mar 29, 2010 at 1:45 PM, Paul Martz wrote:
>
> I think you'll want to OR in the PROTECTED flag, right?
>
You shouldn't have to, unless the top level polygon mode is applied with the
OVERRIDE flag, which I don't believe is the case.
Cheers,
Farshid
__
That works perfectly
Thank you!
Martin
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26256#26256
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listin
Martin Beckett wrote:
I have some text labels in my scene, but when I switch the polygon mode (eg
with the 'w' key in osgviewer) the text is rendered broken (in line mode) and
dissapears (in point mode). How do I force osg::PolygonMode::FILL, or force
text to ignore it?
I tried:
Code:
lab
Hi Martin,
I use the osg::PolygonMode attribute to prevent certain subgraphs from going
into wireframe mode. The following code should work in your case:
osg::PolygonMode *poly = new osg::PolygonMode(
osg::PolygonMode::FRONT_AND_BACK, osg::PolygonMode::FILL );
label->getOrCreateStateSet()->setAtt
I have some text labels in my scene, but when I switch the polygon mode (eg
with the 'w' key in osgviewer) the text is rendered broken (in line mode) and
dissapears (in point mode). How do I force osg::PolygonMode::FILL, or force
text to ignore it?
I tried:
Code:
label->getOrCreateStateSet()
5 matches
Mail list logo