Raycast normals zero? (double precision)

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Raycast normals zero? (double precision)

Postby Aphex » Sat Mar 06, 2010 7:42 am

Hi,

Using the double precision version of Newton, I just upgraded from an older Beta to v2.16, now all my raycasts seem to have zero normals (x=y=z=0)?
Anyone else seeing this?

cheers,
Martin
Aphex
 
Posts: 144
Joined: Fri Jun 18, 2004 6:08 am
Location: UK

Re: Raycast normals zero? (double precision)

Postby Aphex » Sun Mar 07, 2010 9:16 am

Also noticed the shapeId is wrong as well - it appears to be the same as this old problem: http://www.newtondynamics.com/forum/viewtopic.php?f=12&t=4714 :(
Aphex
 
Posts: 144
Joined: Fri Jun 18, 2004 6:08 am
Location: UK

Re: Raycast normals zero? (double precision)

Postby Julio Jerez » Sun Mar 07, 2010 9:22 am

You say the normals are not set at all, not even bad normals. Maybe it is a data structure bug sizes.

I do no have any test compiled using the double precision library and I am very bussy in othe things.
If you make a test that I can run and can go over a check it out.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Raycast normals zero? (double precision)

Postby Aphex » Sun Mar 07, 2010 5:20 pm

Yep - all zeroes with the latest sdk (I did occasionally get some QNAN's with the older one but it usually worked ok).
I'll try and knock up some test code for it.
My entire game source is available to you if it may be useful as a test case of using the double precision lib (and test advanced Newton usage in general) :D
Aphex
 
Posts: 144
Joined: Fri Jun 18, 2004 6:08 am
Location: UK

Re: Raycast normals zero? (double precision)

Postby Julio Jerez » Sun Mar 07, 2010 6:38 pm

That does no sound good at all, ther must be a bug then.
you just need to put together a demo using the DLL and that runs in windows mode.
send me a PM when you have it ready an dit will debug it.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 8 guests