Patrick Bouchaud (galaad++at++graal.neu.sgi.com)
Thu, 6 Jul 1995 16:09:15 -0600
ON THE OTHER HAND, in the pfTravNodeFunc() man page, the pseudo-code showing
the evaluation order of the callbacks shows the following order, assuming the
cullResult is PFIS_MAYBE :
preCullCallback->Cull->preDrawCallback->evaluateNodeAndItsChildren->postDrawCallback->postCullCallback
:
which seems to indicate that the postCullCallback is executed after all the
draw callbacks.
Shall I then assume that the postCullCallback is executed in the draw process ?
What I'd like to be told (but which doesn't seem to be the case !) is that the
pre/post-Cull-Callback() occure for each associated Node within the Cull
Process, out of which the node is in some way registered in a list for the
Drawing Process. Then, in the Drawing Process, each referenced node calls its
pre-draw-callback(), then draws itself, then calls its post-draw-callback()
(the 2 last operations being conditioned by the flag returned by the
pre-draw-callback()) : only then could i really customize my drawing !
Is there something I misunderstood ?
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:39 PDT