[osg-users] wireframe darker wrt the surface color

Gianni Ambrosio g.ambrosio+osg at gmail.com
Tue Mar 28 01:09:26 PDT 2017


Hi Sebastian 
I tried as follows:

stateset->setMode(GL_DEPTH, osg::StateAttribute::OVERRIDE | osg::StateAttribute::OFF);

but it behaves the same. Probably I was not clear but I'm not sure this is something related to depth. Isn't it a matter of light or material?

Please give a look at the attached movie. Depending on light inclination the wireframe is darker or lighter but at a certain point the wireframe has exactly the same color of the undarlying surface and for that reason it is not visible.
I would like to see always the wireframe, it doesn't matter if it is darker or lighter but always and with the same base color of the underlying 3D surface.

Hope this is clearer now.


Cheers,
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70573#70573



-------------- next part --------------
A non-text attachment was scrubbed...
Name: wireframe.7z
Type: application/octet-stream
Size: 302850 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170328/e91ab4a3/attachment-0003.obj>


More information about the osg-users mailing list