Intersection process...

New Message Reply Date view Thread view Subject view Author view

Kowsik Guruswamy (kowsik++at++cory.coryphaeus.com)
Wed, 3 May 95 08:21:47 -0700


I have a question about the intersection process. I am using
pfIsectFunc() and pfPassIsectData() to pass intersection data to the ISECT
process [and back? - that's the question...]...

Well, my understanding of pfPassIsectData() is that it makes a copy of the
data allocated and sends it to the isectFunc(). I also noticed that the example
in the Performer Reference pages uses a IsectStuff structure that has a
collisionResults field.

If the isectFunc gets a copy of the isectdata, when and how is it passed
back to the APP process [ if at all it's done? ]. Any modifications will be
done to its local copy...

I know I can work around this by directly accessing the pointer returned by
pfAllocIsectData(), in which case I don't need pfPassIsectData() at all. I
have tried this and it works.

How do I do it *WITHOUT* bypassing pfPassIsectData()?

Thanks for any insights,

K.


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:28 PDT

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