Re: Intersect problems

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Thu, 30 Jun 94 18:19:12 -0700


> I can't find anything that
> says I should call intersect functions from a specific place or process
> but I wouldn't doubt that this is part of the problem.

Bad documentation. pfSegsIsectNode() should only be called from the
APP or ISECT process, although it probably would also work from the
CULL process. The DRAW process does not have a private copy of the
scene graph, so it's easy to imagine scene graph changes colliding.

Also, intersections can be time consuming, so they are usually the
last sort of thing you want to be doing in the DRAW process.

> Currently my collision routines are called from my navigation
> function in the draw callback.

That's probably the cause of the problem.

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:50:22 PDT

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