Thomas Sangild Sorensen (sangild++at++daimi.au.dk)
Wed, 20 Oct 1999 14:48:32 +0200 (MDT)
I have developed some new node-types I am using in the scenegraph.
The nodes make OpenGL-calls in their pre- and postdraw callback functions.
The scenegraph also contains pfLightSources.
The problem is that using a pfLightSource in the scenegraph
introduces an additional traversal of the scenegraph from the root to
the lightsource. All nodes in this path will have their callback
functions called an extra time. This is an error in my application.
Is there a way to determine whether a draw callback function is called from
the lightsource traversal of the scenegraph or from the ordinary
traversal?
Thomas Sangild Sorensen
CIT, Aarhus University
Denmark
This archive was generated by hypermail 2.0b2 on Wed Oct 20 1999 - 05:48:48 PDT