Re: Cull routine behavior
John Rohlf (jrohlf++at++tubes)
Tue, 12 Mar 96 11:26:53 PST
>
> In Performer 2.0, the pfTraverser man page leads me to believe that if
> I do not call pfCullResult() during a pre-cull callback, the next thing
> that happens is that the standard geometric culling test is done; the
> pseudocode refers to a routine named 'CullTest()'.
>
> Can this be called explicitly? My pre-cull is computationally expensive
> and it'd be nice to check the bounding volumes *before* I do all that
> extra math. I can't afford to move the code to the pre-draw callback,
> unfortunately.
If called in the pre-cull callback, pfGetCullResult() will
invoke 'CullTest()' and return the result of the bounding sphere
cull test.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:52:32 PDT