[osg-users] wireframe darker wrt the surface color
Gianni Ambrosio
g.ambrosio+osg at gmail.com
Tue Jul 18 02:39:06 PDT 2017
Hi Sebastian,
sorry I missed your reply.
SMesserschmidt wrote:
>
> Most probably your problem is lighting. Your surface is shaded correctly while your wireframe stays constant. At a certain angle the lit result is simply the same color as your constant wireframe.
>
I think you are right. That's what happening. Now I don't remember exactly what I tried few months ago but if it is simply to reach, what should I do to make the wireframe color just a little bit darker with respect to the surface color at every view angle?
SMesserschmidt wrote:
>
> Can you present the relevant code, where you set up the wireframe?
>
Please see attached cpp file.
Regards,
Gianni
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71280#71280
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Wireframable.cpp
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170718/4cca1d45/attachment.txt>
More information about the osg-users
mailing list