From: Damin Keenan (damin++at++evl.uic.edu)
Date: 01/18/2001 13:38:39
Hi Performers,
I am interesting in writing a subclass of pfNode for use in code testing,
and have some problems/questions that I hope one of you could answer.
1) The only constructor listed in pfNode.h takes a pointer to a pfBuffer.
What does this pfBuffer do, and how do I create/aquire one to pass to the
constructor.
2) What's the correct way to isolate changes to the rendering state? Is
the following psuedo-code correct?
pfPushState()
pfFlushState()
pfBasicState()
// my code here.
pfPopState()
3) I'm manually creating a bounding sphere using the following code,
pfSphere bSphere;
bSphere.center.set(0, 0, 0);
bSphere.radius = 100;
setBound(&bSphere, PFBOUND_STATIC);
Does anything else need to be done/set to prevent the node from getting
culled?
Thanks,
Damin Keenan.
This archive was generated by hypermail 2b29 : Thu Jan 18 2001 - 13:38:47 PST