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: Gordon Tomlinson (gordon++at++gordon-tomlinson.com)
Date: 04/27/2005 03:11:04


FYI on Windows you with Visual studio you have

 _isnan, _finite, _fpclass

 _fpclass is pretty useful for checking many possible issues

Best Regards
 
Gordon
 ___________________________________

Gordon Tomlinson

Email : gordon++at++3dscenegraph.com
Yim/Aim : Gordon3dBrit
Msn Im : Gordon3dBrit++at++3dscenegraph.com
Forums : www.3dscenegraph.com/3dsceneBB

 

-----Original Message-----
From: owner-info-performer++at++performer.engr.sgi.com
[mailto:owner-info-performer++at++performer.engr.sgi.com] On Behalf Of Jason Daly
Sent: Wednesday, April 27, 2005 12:10 AM
To: Damien Gerhardy
Cc: 'Tony Horrobin'; 'info-performer++at++sgi.com'
Subject: Re: [info-performer] RayCast bug in Performer 2.2 and 3.1.1 on IR
IX

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"

-----------------------------------------------------------------------
   List Archives, Info, FAQ: http://www.sgi.com/software/performer/
   Open Development Project: http://oss.sgi.com/projects/performer/
                Submissions: info-performer++at++sgi.com
            Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Apr 27 2005 - 03:11:17 PDT