Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [Odejava] March native build aborted  (Read 1007 times)
0 Members and 1 Guest are viewing this topic.
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Posted 2005-03-16 22:59:06 »

Hi,

I decided to do a native build today.

As I went though the motions, I ran
1  
diff -u --recursive ode ode-official/


where ode was a fresh check out of ODE from its sourceforge CVS, and ode-official was the last ODE sources used with Odejava (The file "ODE Sources" on this page)

The only diff results of note were as follows:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
-12/07/04 adam
-
-        * Important AMotors bugfix
-

<snip />

diff -u --recursive ode/ode/src/joint.cpp ode-official/ode/src/joint.cpp
--- ode/ode/src/joint.cpp       Wed Dec  8 01:30:51 2004
+++ ode-official/ode/src/joint.cpp      Thu Sep 30 05:20:27 2004
-2657,12 +2657,12 @@
   axes[0][2] *= torque1;
   if (joint->num >= 2) {
     axes[0][0] += axes[1][0] * torque2;
-    axes[0][1] += axes[1][1] * torque2;
-    axes[0][2] += axes[1][2] * torque2;
+    axes[0][1] += axes[1][0] * torque2;
+    axes[0][2] += axes[1][0] * torque2;
     if (joint->num >= 3) {
       axes[0][0] += axes[2][0] * torque3;
-      axes[0][1] += axes[2][1] * torque3;
-      axes[0][2] += axes[2][2] * torque3;
+      axes[0][1] += axes[2][0] * torque3;
+      axes[0][2] += axes[2][0] * torque3;
     }
   }


The HTML view of ODE's CVS confirms this.

So basically the only new fix in CVS is with angular motors.  I am subscribed to the ODE CVS mailing list and now I think of it, I havn't been getting any emails recently.

Unless there is sufficient demand, I am not going to rebuild the natives just for that as it requires considerable effort on my part.  I will next update the Odejava natives when changes are made to ODE that warrant it.

However, I will release a new build of the java code soon, along with updated docs for building the natives.

Cheers,

Will.

Offline ewills

Junior Member




Java skeletal animation systems rock!


« Reply #1 - Posted 2005-03-17 19:26:05 »

It doesn't look like the Ode class has a dJointAddAMotorTorques() method anyway...
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #2 - Posted 2005-03-17 21:01:16 »

good point, I didn't see that Smiley

In that case, we should add it in.

If anyone else has methods they need that arn't in Odejava, make sure you post in these forums before the next native build so they make it in.

Will.

Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline harryk

Senior Newbie




Stone golems rock!


« Reply #3 - Posted 2005-03-18 08:08:01 »

how about... autodisabling? Smiley
Offline t_larkworthy

Senior Member


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #4 - Posted 2005-08-21 13:30:56 »

have the addTorque methods been added to AMotor yet? I have just come to needing them

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #5 - Posted 2005-08-22 08:38:59 »

No.  It's in the odejava.i but commented out for some reason:

1  
2  
$ cat odejava.i | grep dJointAddAMotorTorques
//void dJointAddAMotorTorques (dJointID, dReal torque1, dReal torque2, dReal torque3);


I don't mind rebuilding, though it does take a bit of effort.  Best if can batch up any other changes.  So, before I do anything -- do you have anything else?

It would be nice to see those patches from the jme-physics project integrated in too.  Maybe I should ping them.

Will.

Offline t_larkworthy

Senior Member


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #6 - Posted 2005-08-22 11:58:35 »

Ahh well I have actually got around the lack of AMotor stuff. So no worries if you don't wanna do a rebuild.

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (76 views)
2013-05-17 21:29:12

alaslipknot (89 views)
2013-05-16 21:24:48

gouessej (119 views)
2013-05-16 00:53:38

gouessej (113 views)
2013-05-16 00:17:58

theagentd (125 views)
2013-05-15 15:01:13

theagentd (112 views)
2013-05-15 15:00:54

StreetDoggy (156 views)
2013-05-14 15:56:26

kutucuk (178 views)
2013-05-12 17:10:36

kutucuk (178 views)
2013-05-12 15:36:09

UnluckyDevil (186 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.134 seconds with 20 queries.