[osg-users] A problem of depth on osgText::Text in programmable pipeline

Christian Buchner christian.buchner at gmail.com
Fri Jul 14 02:43:56 PDT 2017


I think we need code and screenshots to understand your problem.

I don't know about any "Depth" parameter in OpenGL. I know about a
polygonOffset that affects rendering order for triangles located at similar
Z buffer depths.

Christian


2017-07-10 9:29 GMT+02:00 Yanwei Guo <expectances at sina.com>:

> Hi,
>
> I meet such a problem. I put some text nodes in the scene. And they are
> all located on the same plane. I set the 'Depth' in order to control their
> z-order. The result is right at the fixed pipeline version of osg. But at
> the programmable pipeline, the result is not always right.
>   I'm using the osg version 3.2.1. But this problem also exist in the
> latest osg-master, which I get from github.
>
>   Thanks for any help!
>
> Thank you!
>
> Cheers,
> Yanwei
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=71110#71110
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170714/679caf55/attachment.htm>


More information about the osg-users mailing list