Hi Jean Sebastien
I found the enabled propertie in the osg file and when I set it to true, it
changes all the render.
But, when I set it to true in my code, there are no changes ...
the .osg file still contains the FALSE value.
*osg::ref_ptr<osgFX::Scribe> s = new osgFX::Scribe;*
> * s->setWireframeColor(osg::Vec4(color.x(), color.y(), color.z(),
> 0.0f));*
> * s->setWireframeLineWidth(edge_width);*
> * s->setName("highlight_FXNODE");*
> * s->setEnabled(true);*
> * return s.get();*
>
I'm not crazy ... do am i ?
Thanks for the look, you were right, but if you have a last good idea for
me, it would gives me a good end of the day :-)
Regards,
Vincent.
2009/7/7 Jean-Sébastien Guay <[email protected]>
> Hi Vincent,
>
> These are the two osg files.
>>
>
> Search for "enabled" in both .osg files. The _good file has it set to TRUE,
> the _bad file has it set to FALSE. If you change that one to TRUE, you will
> see the scribe effect is properly applied. At least I can see some geometry
> drawn in red scribe in osgViewer using group1_bad.osg after the change.
>
> So I guess you need to call scribeEffect->setEnabled(true)... Did you ever
> call scribeEffect->setEnabled(false) ?
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay [email protected]
> http://www.cm-labs.com/
> http://whitestar02.webhop.org/
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org