Re: Cull routine behavior

New Message Reply Date view Thread view Subject view Author view

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.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:32 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.