Re: pfSegsIsectNode Problem....

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Mon, 03 Jul 95 22:41:54 -0700


No library problems I'm aware here.

> pfCylIsectSphere(0x7fff8954, 0x0, 0x89749c, 0x909d10)

pfSegsIsectNode should only invoke this function when
the mode contains PFTRAV_IS_BCYL, which your example
does not. Could something else be stomping on the mode
in the segset?

If you can reduce it to a simple test case, I'll look
into it. Otherwise, a stack trace using "-g" and the
debug Performer libraries (libpf-g.a/libpr-g.a) might
provide some clues as well.

> What needs to be set to start with and what can be
> updated in simloop (pos, dir, ?????)

The pfSegSet is not modified by the traversal.
It's an exposed struct, so what you set is what
you get. Typically, you'd be updating the position,
direction and length of the segments every frame.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


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

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