Hello Josef,

Josef Grunig wrote:
> Hi All,
> 
> I wanted just notify that with the Revision 1.5 of
> OSGMaterialDrawable.h the backward compatibility has been broken down.
> renderActionHandler method is no more exposed.
> http://opensg.cvs.sourceforge.net/opensg/OpenSG/Source/System/NodeCores/Drawables/Base/OSGMaterialDrawable.h
> This is a problem for us as we usually compile different versions of
> OpenSG for the same project...

ok, I see your problem. The function is still there, but its name 
changed to renderActionEnterHandler (in order to be symmetric with the 
new renderActionLeaveHandler).
Allow me to give a bit of background on why this changed: At some point 
in the early life of OpenSG Geometry was allowed to be not only used in 
leaf nodes, but also in interior nodes of the graph. In other words 
Geometry is implicitly a Group as well. For the frustum culling to work 
correctly it has to push visibility information on a stack during 
traversal and pop it when leaving the node. To make that work properly 
the MaterialDrawable::renderActionLeaveHandler was added.

The question now is, what you are doing with the renderActionHandler and 
if it is sufficient that your application only deals with the enter 
callback ?

        Thanks,
                Carsten

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to