Hi Robert,

I do see the difference when commenting out the depth test setting in your example, the surface directly beneath the text partly occludes it with depth test turned on, so it does work to some extent. But when viewing your text on the earth surface "edge-on", I can observe that the earth is occluding your text. Is there some sort of culling going on? Can you see the text behind the horizon? I guess you should be able to do that if depth test is switched off. Or perhaps there's some obvious reason I can't see right now, due to lack of sleep or something...

/Andreas

Robert Osfield wrote:

HI Andreas,

In the new osgfadetext example I switch off the depth test and it works fine for me. Could you try out this new example in CVS?

Robert.

On 10/3/06, * Andreas Ekstrand* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi,

    I'm trying to let my osgText::Text always lie on top of other
    geometry.
    I have a state set applied directly to my osgText::Text for which
    I have
    turned off GL_DEPTH_TEST, created an osg::Depth with a (0,0) range
    and
    dropped it into a render bin higher than everything else. Still, it
    doesn't work. Since the problem with protecting state modes and
    attributes for osgText::Text has now been fixed, I'm a bit surprised
    seeing this behavior. Any idea what's going on?

    /Andreas

    --
    ________________________________________________________________________
    Andreas Ekstrand
    Remograph
    Rekrytgatan 10
    SE-582 14 Linköping
    SWEDEN
    Website: http://www.remograph.com
    E-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>

    _______________________________________________
    osg-users mailing list
    [email protected] <mailto:[email protected]>
    http://openscenegraph.net/mailman/listinfo/osg-users
    http://www.openscenegraph.org/ <http://www.openscenegraph.org/>


------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



--
________________________________________________________________________
Andreas Ekstrand
Remograph
Rekrytgatan 10
SE-582 14 Linköping
SWEDEN
Website: http://www.remograph.com
E-mail: [EMAIL PROTECTED]

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to