Hi,

maybe check out the old depth partition example - basically draw a scene with a massive depth range. I think functionality is now somehow integrated into Viewer/View as well.

cheers
jp

On 07/12/2011 03:03, Glenn Waldron wrote:
Paul,
I don't want to create clip planes in the glClipPlane sense; I was just
referring to the automatic near/far calculations that CullVisitor does
in order to clamp its projection matrix.

Glenn Waldron / @glennwaldron


On Tue, Dec 6, 2011 at 5:46 PM, Paul Martz <[email protected]
<mailto:[email protected]>> wrote:

    Hey Glenn -- Can you just use more than one ClipPlane?
    GL_CLIP_PLANE0 would be enabled for one scene graph, GL_CLIP_PLANE1
    would be enabled for the other.
       -Paul



    On 12/6/2011 3:29 PM, Glenn Waldron wrote:

        Hi folks,

        I want to render two subgraphs, one after the other, each with
        its own set of (auto-calculated) clip planes. So render graph A,
        reset the clip plane calculation, and render graph B in the next
        pass. I figure it's a 2-Camera setup of some kind but I can't
        get the setup right. What's the best way to do this?

        Glenn Waldron / @glennwaldron


    _________________________________________________
    osg-users mailing list
    osg-users@lists.__openscenegraph.org
    <mailto:[email protected]>
    
http://lists.openscenegraph.__org/listinfo.cgi/osg-users-__openscenegraph.org
    <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

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to