What does this error mean?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: What does this error mean?

Postby FSA » Mon Nov 12, 2012 7:42 am

Sorry. I give you a link today evening ;)
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby FSA » Mon Nov 12, 2012 2:26 pm

naaaa. Something is wrong with the renderer... I will try to fix that...
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby FSA » Mon Nov 12, 2012 2:33 pm

The fault is not laying by me^^. The playercontroller doesn't work in relase build. It stays on 1|1|1 and dont move...
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby FSA » Mon Nov 12, 2012 2:43 pm

The player position is this:
1.#INF
1.#INF
1.#INF

It's matrix:
Code: Select all
0.383   0.000   0.924   0.000
-0.000   1.000   0.000   0.000
-0.924   -0.000   0.383   0.000
1.#IO   1.#IO   1.#IO   1.000

(Get from NewtonBodyGetMatrix(...))
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 12, 2012 3:01 pm

look it up it does work in release. There must be a bug somewhere.
the demos are all release.

the transformation matrxi is set in this file: ..\packages\dCustomJoints\CustomPlayerControllerManager.cpp
line 380
Code: Select all
   // set player velocity, position and orientation
   NewtonBodySetVelocity(body, &veloc[0]);
   NewtonBodySetMatrix (body, &matrix[0][0]);


you cna set a break point and see what is making illegal.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Mon Nov 12, 2012 3:17 pm

I will look at it. But the strange thing is that it works in debug mode.
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 12, 2012 3:35 pm

if the demo runs in debug, then you can send it to me.

does if has code?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Mon Nov 12, 2012 3:50 pm

>does if has code?
What?

Here the link. Just start the EXE. Press C to toggle CCM. 1 = ON 0 = OFF
CCM only ON on picked bodys(press L-Mousebutton)
https://www.dropbox.com/s/hcgjslimgb0km ... _Julio.zip
You need Diretcx June 2010 SDK/runtime.
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Mon Nov 12, 2012 4:04 pm

Ok I will try it out tonight.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Tue Nov 13, 2012 2:13 pm

Small question: How can I reduce the jumping of a body when it falls to the gournd? It looks like it's just a table tennis ball :)
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby FSA » Tue Nov 13, 2012 3:14 pm

have test it in release mode another time. The values in CustomPlayerControllerManager.cpp:
Velocity:
5.23636e+012
-100
8.51689e+013

Matrix.m_posit
6.31885e+012
-31.3856
1.02775e+014


Velocity is read after line 394. m_posit ist read in line 228 right after NewotnBodyGetMatrix. SOmethong is wrong in releaseDLL build.
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Tue Nov 13, 2012 3:33 pm

letter123 wrote:Small question: How can I reduce the jumping of a body when it falls to the gournd? It looks like it's just a table tennis ball :)


I have not run the test yet, I was solving anoteh bug.
what do you mean jump of the body? when the body lands it shoudl no does not jump at all.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Tue Nov 13, 2012 3:55 pm

No problem. I have to fight with the release problem now ^^ Any idea? I dont get that...
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Tue Nov 13, 2012 4:06 pm

I will do that when I test the demo you sent me. I did not have time last night.

I asume the problem will also happens if I use the release libraries in the test.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Tue Nov 13, 2012 4:15 pm

Do you need the sourcecode? It's not included yet ;)
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron