Jim Helman (jimh++at++surreal)
Thu, 17 Nov 94 14:12:16 -0800
> 2) Can pfChanPick and pfSegsIsectNode be called from
> a node CULL call back (pre and post)?
Not supported (see #3), but it would probably work in 1.2.
> 3) What does the Performer manual mean when it says that
> pfSegsIsectNode can only be called from the APP or ISECT
> processes?
It means that you should only call pfSegsIsectNode from the
APP or ISECT processes, i.e. you shouldn't try it in the CULL
or DRAW.
> I'm not sure when and where the ISECT process
> gets called. Does it get called during the cull or draw cull
> processes?
The ISECT process is a separate process with its own copy of
the scene graph. You access this process using a callback
specified pfIsectFunc() (this works in the same way that the
callbacks for pfChanCullFunc() and pfChanDrawFunc() get you
into the DRAW and CULL processes if any). Typically this
callback performs one or more collision tests and then returns.
The process has it's own copy of the scene graph and is
asynchronous, i.e. the culling/rendering pipeline does not
wait for the callback to return. Communication of the
intersection results is left to user code.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:40 PDT