hi,

On Tuesday 21 August 2007 15:54, Robert Osfield wrote:
> On 8/21/07, Mathias Froehlich <[EMAIL PROTECTED]> wrote:
> > But Robert, I thought about moving the positional state attributes from
> > the RenderStage to the RenderBin. That would be sufficient for
> > flightgears needs and it appears to me that it would bring Andy also a
> > bit further. What about that idea?
>
> This is only part of the story - you need a means of specifying the
> scope.  Perhaps you could get away with decorating the subgraph with a
> StateSet that nested the subgraph with a RenderBin, then have any
> LightSource/TexGenNode nested within this.
Well the scope of such a positional state attribute will be that the current 
render bin instead of the current render stage. That is a little more fine 
grained and probably sufficient for many needs. Create a new render bin and 
attach that to the clip node that defines the planes. Switch it on as usual.

That is just a little different from what we have now: Create a Camera, make 
it post render (or pre render if it makes sense, but not nested) attach a 
clip node and switch the planes on and of as usual. The scope is the Camera 
in this case.

What is missing then?
Can you help me?

   Greetings

        Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 

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

Reply via email to