Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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  
  Current ODEJava branch  (Read 3466 times)
0 Members and 1 Guest are viewing this topic.
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Posted 2007-11-16 12:50:45 »

Hey, guys. What is the current SVN (or CVS?) branch/trunk, that I should use with ODEJava? Is is the trunk or one of the branches? I hope, it is one, that already uses vecmath. I would want to port it to vecmath2.

Marvin
Offline irrisor

Junior Devvie





« Reply #1 - Posted 2007-11-17 15:07:27 »

The "with-odejava-jni" cvs branch uses vecmath and a newer version of xith than the head. I think we should merge it into the head in the near future. The only active developer besides myself seems to be a user named harsens
 - so if you are around, harsens - any objections?
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #2 - Posted 2007-11-18 01:19:15 »

Where do I get the org.odejava.ode.* classes from? There doesn't seem to be a jar, nor a src folder in the branch containing these classes.

Marvin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #3 - Posted 2007-11-18 01:22:13 »

Oh, and how about Java-5 syntax? You seem to be using Java 1.4 syntax. Is it a problem, if I port the lib to use the nice generics and @Override annotations?

Marvin
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #4 - Posted 2007-11-18 01:38:07 »

Where do I get the org.odejava.ode.* classes from? There doesn't seem to be a jar, nor a src folder in the branch containing these classes.

OK, found it.
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #5 - Posted 2007-11-18 02:05:04 »

The methods Ode.setWorldID() and Ode.setContactGroupID() don't seem to be applicable anymore. What should I use instead?

Marvin
Offline irrisor

Junior Devvie





« Reply #6 - Posted 2007-11-18 10:30:11 »

The methods Ode.setWorldID() and Ode.setContactGroupID() don't seem to be applicable anymore. What should I use instead?
they're parameters to the collision function now (setting them globally caused errors with multiple worlds)
Offline irrisor

Junior Devvie





« Reply #7 - Posted 2007-11-18 10:33:33 »

Oh, and how about Java-5 syntax?
I think there might be people who would like to use it with 1.4 - but not myself. They could use retroweaver if they really need 1.4, though... so... why not?
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #8 - Posted 2007-11-18 14:17:39 »

they're parameters to the collision function now (setting them globally caused errors with multiple worlds)

Could you maybe fix that in the branch and commit? I don't know, how to do that.

Marvin
Offline irrisor

Junior Devvie





« Reply #9 - Posted 2007-11-18 15:31:33 »

ok, fixed in branch
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #10 - Posted 2007-11-18 15:42:49 »

ok, fixed in branch

Cool. Thanks. I have finished the port to the latest Xith3D and vecmath2. Please tell me, if and when I can commit it.

Marvin
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #11 - Posted 2007-11-18 15:52:47 »

There's one thing left, that I don't know, how to fix. In org.odejava.GeomTriMesh.init() the method getVoidPointer() is undefined for the SWIG types. What should I do here? Well I could simply commit all the stuff and let you fix it. Is this ok?

Marvin
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #12 - Posted 2007-11-18 15:58:30 »

What's this?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
18.11.2007 16:53:45 org.odejava.Odejava <clinit>
SCHWERWIEGEND: Wrong native version! Expected 0.3.1, but found 0.3
Exception in thread "main" java.lang.UnsupportedOperationException: Failed to load natives
   at org.odejava.Odejava.init(Odejava.java:125)
   at org.odejava.test.car.CarTerrain.initWorld(CarTerrain.java:142)
   at org.odejava.test.car.CarTerrain.<init>(CarTerrain.java:131)
   at org.odejava.xith3d.test.CarTerrainExample.<init>(CarTerrainExample.java:124)
   at org.odejava.xith3d.test.CarTerrainExample.main(CarTerrainExample.java:105)
Caused by: java.lang.UnsatisfiedLinkError: Wrong native version! Expected 0.3.1, but found 0.3
   at org.odejava.Odejava.<clinit>(Odejava.java:105)
   ... 4 more


Marvin
Offline irrisor

Junior Devvie





« Reply #13 - Posted 2007-11-18 16:07:25 »

There's one thing left, that I don't know, how to fix. In org.odejava.GeomTriMesh.init() the method getVoidPointer() is undefined for the SWIG types. What should I do here? Well I could simply commit all the stuff and let you fix it. Is this ok?
you should use the head in odejava-jni module, sorry, forgot to point that out - the branch was joined there already

What's this?
...
As printed: you use an old native version of odejava-jni Tongue  (same problem as above probably)
OS? (osx might be out of date, win/lin should be fine)
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #14 - Posted 2007-11-18 16:20:23 »

you should use the head in odejava-jni module, sorry, forgot to point that out - the branch was joined there already

 Shocked. Well, if it's ok, I will commit the changes to the with-odejava-jni branch now. Could you than please merge it to where it should be? And then please tell me, where I can checkout the latest. I am a bit confused now.

As printed: you use an old native version of odejava-jni Tongue  (same problem as above probably)
OS? (osx might be out of date, win/lin should be fine)

I am using Linux.

Marvin
Offline irrisor

Junior Devvie





« Reply #15 - Posted 2007-11-18 16:30:43 »

Due to the weired cvs setup on java.net I was not able to delete the branch for the odejava-jni folder, that's why you need to check out the "HEAD" for the folder odejava-jni, but "with-odejava-jni" branch for all the other dirs.
For me it's ok, if you commit to the "with-odejava-jni" branch (am I the one to decide that?). But do you have commit rights - what's your login?
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #16 - Posted 2007-11-18 16:46:15 »

I have commit rights. My Login is "qudus". I have committed the changes. Please tell me, if everything is ok.

After you've merged it to where ever it should be I can start the Java-5-Syntax port.

Marvin
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #17 - Posted 2007-11-18 16:50:51 »

Oh, just to be mentioned: I don't know, if there are any ant-scripts to be updated. I am working with Eclipse and don't have too much knowledge about ant. So please have a look at the .classpath file to know, which jars etc. have to be imported.

Marvin
Offline irrisor

Junior Devvie





« Reply #18 - Posted 2007-11-18 18:32:40 »

After you've merged it to where ever it should be I can start the Java-5-Syntax port.
I won't merge into the head in the next couple of days (no time for that). So just go ahead in the branch.

And: I don't use Ant either.
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #19 - Posted 2007-11-18 18:45:07 »

I won't merge into the head in the next couple of days (no time for that). So just go ahead in the branch.

ok

And: I don't use Ant either.

So, what are you using? The eclipse project wasn't completely setup in the branch.

Marvin
Offline irrisor

Junior Devvie





« Reply #20 - Posted 2007-11-18 18:50:55 »

IntelliJ IDEA
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #21 - Posted 2007-11-19 14:45:49 »

I managed to switch the odejava-jni folder to the HEAD. So there's no need to merge, I guess.

Marvin
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #22 - Posted 2007-11-19 17:19:33 »

I have finished the Java-5 Syntax port. If you have time, please check my work.

Marvin
Offline irrisor

Junior Devvie





« Reply #23 - Posted 2007-11-19 18:41:05 »

Scanning over the diff, it looks ok. Just one thing I stumbled upon:
1  
2  
3  
4  
5  
6  
7  
8  
public class GeomBox extends PlaceableGeom {
 
+    @SuppressWarnings("unused")
     private float sizeX;
+    @SuppressWarnings("unused")
     private float sizeY;
+    @SuppressWarnings("unused")
     private float sizeZ;

Does that make sense? Are they really used - what for? If you are unsure you should not suppress the warnings. If you are sure they are not use, they should rather be removed.
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #24 - Posted 2007-11-19 18:55:57 »

You're right. I shouldn't have suppressed these warnings. If they are unused (up to you, but I think, they are), just remove them.

Marvin
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (57 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!