Re: postCull callbacks aren't being called
John Rohlf (jrohlf++at++tubes)
Wed, 19 Apr 95 13:39:17 PDT
>
> > So here's my problem: after a nested series of prePortalCull() calls,
> > postPortalCull() seems to be called only once, for the most recently
> > visited portal node. As a result the cells attached to the rest of the
> > portals never get removed, and those portals thereby inherit another
> > child each frame. My question is, why might the traversal mechanism
> > be skipping every postPortalCull after the first call?
>
> Your post cull callback will only be called if the node in question
> passes the performer cull test, in other words your nodes are probably
> not in the viewing frustum (or are rejected for some other reason) and
> so only the pre cull callback is invoked.
>
Unless we have a bug, the post cull callback is always invoked
unless the pre cull callback prunes the traversal.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:51:24 PDT