Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 10:43 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Dec 27, 2008 6:03 pm 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
voila s'est rare mais parfois (il me semble que s'est quand il y a un grand choc) j'ai se message qui apparait et la fenêtre devient tout jaune sauf les texte
il y a une solution pour sortir de cette erreur???

was rare but sometimes (it seems to me that when there was a big shock) I will message that appears and
window becomes yellow except the text
there is a way out of this error?

Code:
ODE Message 2: vector has zero size in dNormalize4() File odemath.cpp Line 129

ODE Message 2: vector has zero size in dNormalize4() File odemath.cpp Line 129

...


Top
 Profile  
 
PostPosted: Sat Dec 27, 2008 6:50 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

never had this.

What is your version of ode ?

Linux / windows ?

Have a nice day ouille.


Top
 Profile  
 
PostPosted: Sun Dec 28, 2008 1:42 pm 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
je ne sait pas exactement où regarder la version de ode mais dans le makefile il y a
ODE_RELEASE = 0.6.1
et j'utilise Linux

I do not know exactly where to look version of the ode but in the makefile there
ODE_RELEASE = 0.6.1
and I use Linux


Top
 Profile  
 
PostPosted: Sun Dec 28, 2008 5:44 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

Try to update to ode V 0.9

this dnormalize problem seem to arise on latest version of ode (0.10 ...)

If it happen not really often it will be hard to debug.

Can you report test with new ode version.

Or update raydium to last svn version and post console log here ode version is normaly printed.

Have a nice day
Ouille


Top
 Profile  
 
PostPosted: Mon Dec 29, 2008 11:30 pm 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
merci je ne savait pas que ode changeait si souvent de version
je ne vais pas mettre a jour tout de suite car j'ai du faire qu'elle que modification a raydium (jeux multi joueurs)
je vais donc attendre d'avoir une version avancer de mon jeux avant de faire la misse a jour


Top
 Profile  
 
PostPosted: Fri Jul 17, 2009 6:55 pm 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
J'ai enfin tester avec ode 0.9 (j'ai aussi tester ode 0.11)
Mais la seul différence est le message d'erreur et que sa quit le jeux

Code:
ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in _dNormalize4() [../../include/ode/odemath.h]


Même chose avec la version 0.11

Le bug arrive très fréquemment depuis que j'ai ajouté une arme a mes voitures
Quand on tire, le missile pare et ~1 fois sur 2 j'ai ce message

Il y a une fois ou j'ai bien vu ce qui s'est passé
(pour rappelle mon jeux est un jeux de voiture téléguider style revolt)
j'ai tiré le missile contre un ballon le missile est partie en tournant sur luit même à tout vitesse puis quand il y a touché le sol il est partie à tout vitesse vers le haut et la ça a fait le bug

voici le message d'erreur et le retour de bt
Code:
ODE INTERNAL ERROR 1: assertion "bNormalizationResult" failed in _dNormalize4() [../../include/ode/odemath.h]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f0ee5c957b0 (LWP 24988)]
0x00007f0ee2858fb5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007f0ee2858fb5 in raise () from /lib/libc.so.6
#1  0x00007f0ee285abc3 in abort () from /lib/libc.so.6
#2  0x000000000048ceb6 in dDebug (num=<value optimized out>, msg=<value optimized out>) at error.cpp:102
#3  0x00000000004bfa37 in dxStepBody (b=0x7f0ec4001b20, h=0) at ../../include/ode/odemath.h:304
#4  0x0000000000493128 in dxQuickStepper (world=0x27c0640, body=0x7fffeddd69d0, nb=1, _joint=<value optimized out>, nj=0, stepsize=0.00600000005) at quickstep.cpp:868
#5  0x00000000004bf622 in dxProcessIslands (world=0x27c0640, stepsize=0.00600000005, stepper=0x491d30 <dxQuickStepper(dxWorld*, dxBody* const*, int, dxJoint* const*, int, float)>) at util.cpp:339
#6  0x000000000045d4d2 in raydium_ode_callback () at raydium/ode.c:4636
#7  0x0000000000425320 in raydium_timecall_callback () at raydium/timecall.c:434
#8  0x000000000042f9d0 in raydium_callback_image () at raydium/callback.c:36
#9  0x000000000042b5f2 in raydium_rendering_finish () at raydium/render.c:413
#10 0x00000000004806b9 in Affiche () at main.c:154
#11 0x000000000042fb8d in raydium_callback_internal_loop_wrapper () at raydium/callback.c:108
#12 0x0000000000421b06 in glutManualLoop () at raydium/myglut.c:73
#13 0x0000000000421b1b in glutMainLoop () at raydium/myglut.c:82
#14 0x000000000042fc3d in raydium_callback (loop=0x4804cc) at raydium/callback.c:130
#15 0x0000000000483070 in main (argc=1, argv=0x7fffeddd70e8) at main.c:803


vous avez une idée?


Top
 Profile  
 
PostPosted: Fri Jul 17, 2009 10:52 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Ça arrive tout simplement quand on pousse la physique "trop loin". Au delà du raisonnable, en d'autres termes.

Le cas le plus typique, c'est lorsque la vitesse de rotation d'un objet dépasse des valeurs "normales". Il est très probable que tu déclenches plus au moins involontairement ces "explosions" de la physique lors des collisions de tes missiles. Vérifie cette partie là, vérifie aussi tes paramètres (densité du missile beaucoup trop faible ? ERP/CFM hors norme ?).


Top
 Profile  
 
PostPosted: Sat Jul 18, 2009 1:45 am 
Offline

Joined: Tue Jul 22, 2008 1:52 pm
Posts: 82
Merci s'est bien ce qu'il me semblait
Pour ERP/CFM j'ai pas modifier mais je vais tester avec d'autre valeur
je vais aussi regarder si je ne peut pas limiter la vitesse de rotation max (je vais regarder comment fonction le rotfriction)
mais je me demande si s'est pas aussi la taille de l'object car il a tendance à traverser le sol

sinon je me suis demander pourquoi par défaut raydium utilise une si ancien version de ode? alors qu'il marche très bien avec la 0.9 et il suffit d'une petit modification pour la 0.11


Top
 Profile  
 
PostPosted: Mon Jul 20, 2009 8:04 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
"if it works, don't fix it". C'est la principale raison pour laquelle je considère qu'il n'est pas très urgent de mettre à jour ODE. Accessoirement, il est question de cette mise à jour dans un thread quelque part dans ce forum, histoire d'homogénéiser les différentes versions de Raydium (plateformes).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group