Hi Robert,

Ok, I have yesterday tested fvwm with the viewer changes. This works so far.

On Tuesday 21 June 2011, Robert Osfield wrote:
> When users attempt to do things is awkward ways, especially when grampling
> with lower level facilities, it's a warning sign to me that the OSG is make
> the problem more difficult and probably needs refactoring.   Sometimes it's
> just the users overcomplicating things for little reason, but often there
> will be an underlying design issue that they are trying to workaround.
>
> It's doesn't always mean I can see a straight forward solution... but
> occassionally
> a small tweak to the OSG can make a big diffrence.
Yes.

> > The problem is with the cull callback in a Geode during the cull stage.
> >
> > The cull callback in a geode cannot do much. It just calls an empty
> > traverse method in a geode. Then past that all drawables are
> > *unconditionally* - from the point of the geodes cull visitor - put into
> > the render graph.
>
> This lies with Geode's having Drawable children that aren't Nodes so the
> usual traversal rules don't apply.
>
> One modification to the OSG that I have considered for a while is to
> make a Drawable
> a Node.  This has a number of knock on effects though so something
> I'll need to consider
> rather carefully.
Hmm, That would reduce the Geode to just being a Group.

At first it would probably help when the NodeVisitor is able to visit 
Drawables using the usual accept mehtods or something like that. Then we 
could probably just use the Geodes traverse method to walk the drawables.
One dfficulty in this approach is the Bilboard implementation that does little 
more then just a traversal of all Drawables.

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. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
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