Hi Robert,

On Tuesday 21 June 2011, Robert Osfield wrote:
> > From today morning, it compiled on HP and solaris.
>
> Excellent news.  I did make quite a few changes yesterday to address
> the cppheck reported issues so was a bit concerned but the older
> compilers used on these platforms.  I'm not expecting any further
> widespread code changes so we should be in a good place for 3.0.
Yep ...

> > Currently flightgear does not render well on current osg trunk.
> > Over the time we gained a highly adapted cull stage with even an own cull
> > visitor and a home grown depth partitioning scheme. I am not yet sure,
> > but I expect that there might be some interference with changes that have
> > broken flightgear.
>
> Ouch, sorry to hear that things aren't working well for FlightGear.  The
> basics of the scene graphi and viewer are the same between 2.8.x and 3.0 so
> I'm surprised to hear of problems.  Is there an online record of these
> problems and what might be the root cause of them?
>
> I do wonder if the custom cull faciltiies might be solvable in other ways -
> for instance osgViewer::View now has some support for depth partitioning.

Yes, I was erasing my initial comment on that some minutes ago :).
>From my personal point of view, I think that our code touches too much 
internals of osg.
So, I think we need to change that in some way to make that more robust.

For the CullVisitor that is subclassed - which is one of the potential 
problems I fear for compatibility - there might be room for improovements in 
osg.

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.

It would have helped us if the cull callback in the geode had worked like with 
every other Node, that is that we could conditionally traverse the drawables 
in a custom way, just like the cull callback can be used to traverse the 
children of any other child node in a custom way.

Anyway, now this is too late for 3.0. But may be we could think about that 
past 3.0.

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