pfIsectFunc() and pfSegsIsectNode()

New Message Reply Date view Thread view Subject view Author view

Keith Fry (keithfry++at++vr1.engin.umich.edu)
Tue, 15 Aug 1995 10:39:46 -0400


I'm using my own intersection function in the ISECT process to call
pfSegsIsectNode() multiple times on different pfSegSets. According to
the pfSegsIsectNode() man page:

"The pfHit objects come from an internally maintained pool and are reused
on subsequent requests. Hence, the contents are only valid until the next
invocation of pfSegsIsectGSet in the current process. They should not be
freed by the application."

Is this statement valid even when calling pfSegsIsectNode() inside the
intersection function in the ISECT process? Or do these pfHits get reused
only after the next pfFrame() (which calls my intersection function)?
If the statement is true, how can I pass the pfHit data up to the APP process?
Can I make a copy of the pfHit structure(s)?

-- 
---------------------------------------------------------------------
Keith Fry                       http: //www.engin.umich.edu/~keithfry
University of Michigan          email:       keithfry++at++engin.umich.edu
Virtual Reality Lab             work phone:            (313) 763-7798

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:51:47 PDT

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