Re: [info-performer] RayCast bug in Performer 2.2 and 3.1.1 on IR IX

Date view Thread view Subject view Author view

From: Jason Daly (jdaly++at++ist.ucf.edu)
Date: 04/26/2005 16:10:15


Damien Gerhardy wrote:

>Still having problems with the raycasting of objects
>to the terrain. I applied the check below but it doesn't
>help. The check returns true but when I get the hit point
>it is still (NaN, NaN, NaN).
>
>Do I have to "wait" for the scene graph to stabalize for
>a few frames? or something else like that?
>
>This bug is a showstopper!!! and it needs to be fixed asap!!!!!!!
>
>If anyone has any ideas please help me out.
>Thanks.
>
>
>
It's been a while since I've run IRIX or Performer 2.2, but I do
remember a similar problem showing up in one of
my apps, where we were doing terrain following. This was on an Onyx
RE2, and I believe we were using Performer 2.4. We ended up just
working around it by checking the point to see if it was NaN before
using it anywhere. It seemed like the problem only happened
intermittently, and once we put the safeguard in, all was well. Linux
has the functions isnan(), isinf(), and finite() that help with this.
I'm not sure if IRIX has the same thing, but you could probably find
something equivalent on the web if not.

Not a great solution, I agree, but it may help you get the show on the
road until you can find a real solution.

--"J"


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Apr 26 2005 - 16:11:30 PDT