Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2
1  Java Game APIs & Engines / Xith3D Forums / Animating with .OBJ's on: 2006-07-02 20:08:08
I read the short HowTo on how to animate .OBJ's, and I'm still not sure what to do to get that to work. I'm not a very experienced programmer. Does anyone have a code example of animating .obj's? It would really help.

Thanks!
2  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-30 23:13:08
Apparently doesn't matter whether you use forward or backward:

1  
2  
3  
4  
5  
C:\xith3d\xith3d-0.7.1\xith3d>java -cp libs/xith3d.jar;C:\xith3d\third-party\thi
rd-party\vecmath\vecmath.jar;C:\xith3d\third-party\third-party\jogl\jogl.zip;cla
sses;c:\xith3d\md2loader2\xith-md2.jar org.xith3d.gsg.HelloXith3D
Exception in thread "main" java.lang.NoClassDefFoundError: org/xith3d/loaders/md
2/MD2Loader
3  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-30 19:25:37
I never got the time to download one. Will try to soon.

Ok - changed it to Exception and now here's my error:
1  
2  
3  
4  
5  
C:\xith3d\xith3d-0.7.1\xith3d>java -cp libs/xith3d.jar;C:\xith3d\third-party\thi
rd-party\vecmath\vecmath.jar;C:\xith3d\third-party\third-party\jogl\jogl.zip;cla
sses;c:/xith3d/md2loader2/xith-md2.jar org.xith3d.gsg.HelloXith3D
Exception in thread "main" java.lang.NoClassDefFoundError: org/xith3d/loaders/md
2/MD2Loader
4  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-29 01:12:10
Thanks for the help! Still getting an error on compile though:


1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
C:\xith3d\xith3d-0.7.1\xith3d>javac -classpath libs/xith3d.jar;C:\xith3d\third-p
arty\third-party\vecmath\vecmath.jar;C:\xith3d\third-party\third-party\jogl\jogl
.zip;c:/xith3d/md2loader2/xith-md2.jar -d classes HelloXith3D.java
HelloXith3D.java:90: cannot find symbol
symbol  : class ModelLoadingException
location: class org.xith3d.gsg.HelloXith3D
catch (ModelLoadingException e) {/* Exception handling... */}
       ^
1 error

C:\xith3d\xith3d-0.7.1\xith3d>


Any ideas? Thanks!
5  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-26 18:31:21
You're right, it is ModelLoadingException. Typo Smiley. I'm trying to simply use the loader to import a model. I had no problems with the last version of the loader.

Check my former post, you'll see what error I'm getting.
6  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-26 00:02:45
Still having problems with the exporter unfortunately. I've tried both removing the ModelLoaderException, and copying the old files into their place in the loader, nothing works: I still recieve the same errors as before.

Anyone know how to get around this?
7  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-19 17:32:34
Do you know where I could find the newest version of the loader? I checked the tk but that vers. still had the ModelLoader exception etc.

@kev - You've been extremely helpful!
8  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-19 02:32:31
I tried that. It was already made of triangles unfortunately. Thanks for the interest though!
9  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-18 22:50:51
Thanks for your help kev! Still having some problems though. I wasn't sure where to put the code you placed, so I tried sticking it in a new folder and putting that in my classpath. Compiles fine, but I get this error when trying to run:

1  
2  
3  
4  
5  
C:\xith3d\xith3d-0.7.1\xith3d>java -cp libs/xith3d.jar;C:\xith3d\third-party\thi
rd-party\vecmath\vecmath.jar;C:\xith3d\third-party\third-party\jogl\jogl.zip;cla
sses;c:/xith3d/md2loader2/xith-md2.jar org.xith3d.gsg.HelloXith3D
Exception in thread "main" java.lang.NoClassDefFoundError: org/xith3d/loaders/md
2/util/ModelLoadingException


Any ideas? Thanks!
10  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-05 15:36:14
I believe that there's something wrong with Blender internally in the way that it processes glcommands(according to the author of the exporter). Bug reports have been submitted but there hasn't been anything done about it.

Kev you're a friggin genius. Let me know when you have everything firmed up. I can't wait to import Md2's!
11  Java Game APIs & Engines / Xith3D Forums / Re: Removing Strips and Fans From MD2 Exporter on: 2006-06-05 03:59:30
Maybe I wasn't clear. There's nothing wrong with the MD2 Importer you wrote(in fact I think it is a godsend if you ask me). But the way the Blender MD2 Exporter is programmed right now, the geometry of the model gets messed up when using strips and fans. There's something wrong with the exporter code and they haven't been to expedient in fixing it Smiley. I was hoping we could get the md2 importer to not use them so the geometry would be fine again.

As an example model, I've been using marvin the good ol' martian enclosed in your sample. Try importing it into blender, then exporting it as an md2.
12  Java Game APIs & Engines / Xith3D Forums / Removing Strips and Fans From MD2 Exporter on: 2006-06-05 02:41:32
Ok - I have a strange question. Not even sure if this is possible but I'll give it a go:

The md2 exporter for blender is not working properly, and hasn't been working properly for the past few years. The result is due to using strips and fans, and I am curious to see if we can get the MD2 Importer to work without using strips and fans?

If Kev, etc. could get it working without them, it would be a HUGE help to me and the many others who are trying to import MD2's. Is it possible?

Thanks!

 
13  Java Game APIs & Engines / Xith3D Forums / Re: unSatifiedError on: 2006-05-22 02:04:15
I had the same problem a few minutes ago. If I remember correctly I had to reinstall the jogl dll's into my JRE/bin folder. My path was:

C:\Program Files\Java\jre1.5.0_06\bin

Hope this helps!
14  Java Game APIs & Engines / Xith3D Forums / MD2 Problem... help out a noob on: 2006-05-22 02:02:04
I know you guys must want to kill me for asking all these questions, but when it comes ot java I'm seriously deficient.

Having some issues with the MD2Loader HOWTO. I stuck the code for the howto into the HelloXith3D.java example code, and here's the error I get:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
C:\xith3d\xith3d-0.7.1\xith3d>javac -classpath C:\xith3d\third-party\third-party
\vecmath\vecmath.jar;C:\xith3d\third-party\third-party\jogl\jogl.zip;xith-md2.ja
r;C:\xith3d\xith3d-0.7.1\xith3d\libs\xith3d.jar;libs/xith-tk.jar;C:\xith3d\md2lo
ader\xith-md2.jar;C:\Program%20Files\Java\jdk1.5.0_06\jre\lib\ext\.;.;model -d c
lasses HelloXith3D.java
HelloXith3D.java:68: variable model might not have been initialized
try {  MD2Loader loader = new MD2Loader();  MD2Model md2Model = loader.load(new
FileInputStream("tris.md2"), "marvin.pcx");  model = md2Model.getInstance();} ca
tch (ModelLoadingException e) {/* Exception handling... */}scene.addChild(model)
;


                                                                          ^
HelloXith3D.java:68: unreported exception java.io.FileNotFoundException; must be
 caught or declared to be thrown
try {  MD2Loader loader = new MD2Loader();  MD2Model md2Model = loader.load(new
FileInputStream("tris.md2"), "marvin.pcx");  model = md2Model.getInstance();} ca
tch (ModelLoadingException e) {/* Exception handling... */}scene.addChild(model)
;
                                                                            ^
2 errors


I would also like to mention just how amazing all you guys at the forum have been. This is my 2nd time installing xith and everyone was incredibly helpful in getting everything up and running! Thanks!
15  Java Game APIs & Engines / Xith3D Forums / Re: Can't load Xith3D - Help!! on: 2006-05-22 01:40:48
Fixed! You're a genius Arne! I can't thank you all enough!
16  Java Game APIs & Engines / Xith3D Forums / Re: Can't load Xith3D - Help!! on: 2006-05-21 19:34:42
Ok - added the period. Still having issues. I even switched my version of xith to the 8/31/2005 version that I was ableto get working before. Here's what I'm getting:

C:\xith3d\xith3d>java -cp libs/xith3d.jar;.;C:\xith3d\third-party\third-party\ve
cmath\vecmath.jar;C:\xith3d\third-party\third-party\jogl\jogl.jar com.xith3d.tes
t.CubeTest
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/opengl/util/B
ufferUtil
        at com.xith3d.render.jsr231.ShapeAtomPeer.<init>(ShapeAtomPeer.java:660)

        at com.xith3d.render.jsr231.RenderPeerImpl.<init>(RenderPeerImpl.java:64
)
        at com.xith3d.test.CubeTest.<init>(CubeTest.java:139)
        at com.xith3d.test.CubeTest.main(CubeTest.java:212)

Thanks so much for all your help! I hope I'll be able to get this working...
17  Java Game APIs & Engines / Xith3D Forums / Re: Can't load Xith3D - Help!! on: 2006-05-19 15:17:29
Ok - I updated my SDK, now I'm getting that dandy NoClassDefFound error when I try to run it. I tried doing everything the GSG said ot fix it, no luck Sad.

Here's what I'm using:

1  
2  
3  
4  
5  
6  
C:\xith3d\xith3d-0.7.1\xith3d>javac -classpath libs/xith3d.jar;C:\xith3d\third-p
arty\third-party\vecmath\vecmath.jar HelloXith3D.java

C:\xith3d\xith3d-0.7.1\xith3d>java -cp libs/xith3d.jar;C:\xith3d\third-party\thi
rd-party\vecmath\vecmath.jar HelloXith3D
Exception in thread "main" java.lang.NoClassDefFoundError: HelloXith3D

18  Java Game APIs & Engines / Xith3D Forums / Re: Can't load Xith3D - Help!! on: 2006-05-19 02:59:02
Thanks for your help arne, but I'm still having the problem. I changed the line to com.xith3d.render.jsr231, it still unfortunately doesn't work. I'm getting the same error. Any ideas?
19  Java Game APIs & Engines / Xith3D Forums / Re: HOWTOs on: 2006-05-18 17:11:20
It actually looks as though the link on the left takes me to the right page: http://xith.org/howtos.
20  Java Game APIs & Engines / Xith3D Forums / Re: HOWTOs on: 2006-05-18 17:09:06
I think model loading Howto's would be great. Especially for newbies like myself! Unfortunately the link isn't working: http://www.xith.org/docs/howtos/ comes up with an error?
21  Java Game APIs & Engines / Xith3D Forums / Can't load Xith3D - Help!! on: 2006-05-18 17:04:28
I'm new to Xith3D (and java for that matter), and I'm having some trouble getting the HelloXith3D.java file to compile. I followed all the instructions in the Getting started guide, here's the error I get:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
C:\xith3d\xith3d-0.7.1\xith3d>javac -classpath C:\xith3d\xith3d-0.7.1\xith3d\lib
s\xith3d.jar;C:\xith3d\third-party\third-party\vecmath\vecmath.jar;C:\Program%20
Files\Java\jre1.5.0_06\bin\.;C:\Program%20Files\Java\jre1.5.0_06\lib\ext\. Hello
Xith3D.java
HelloXith3D.java:11: package com.xith3d.render.jogl does not exist
import com.xith3d.render.jogl.*;
^
HelloXith3D.java:36: cannot access com.xith3d.scenegraph.VirtualUniverse
bad class file: C:\xith3d\xith3d-0.7.1\xith3d\libs\xith3d.jar(com/xith3d/scenegr
aph/VirtualUniverse.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
                VirtualUniverse universe = new VirtualUniverse();
                ^
2 errors


Any ideas? Thanks!
22  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-14 17:33:36
No. I'll just use another format. I've been trying .OBJ but it's tough without any animation. I'd love to use MD2, but the darn blender exporter doesn't work. Is there an AC3D loader with named node support?
23  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-13 14:10:36
I'm sure I could port it eventually, but as I don't have that much time I was hoping there'd be someone willing.
24  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-12 15:52:09
Is anyone interested in porting it? I'd do it myself, but as I am an inexperienced Java programmer I don't think it would be much use Sad.
25  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-10 20:13:50
Oh, and one more question. Kevglass, is there any way to isolate parts of .OBJ models like in the .ASE loader examples? The function was namedNode() in the examples I think. Does that work for your obj loader also?
26  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-10 20:09:27
Yea - if you get the chance to port it kevglass I'd be in permanent debt to you!
27  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-10 00:14:55
Thanks! But which files are that of the actual loader and not that of the test?
28  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-09 16:44:10
That's my problem. I'd REALLY prefer not to use obj's as they have no animation, and the MD2 exporter for blender doesn't work. So that means I'm stuck with an MD3 exporter from gmax Sad.  If anyone knows anything about the md3 loader please let me know!
29  Java Game APIs & Engines / Xith3D Forums / Re: MD3 Loader on: 2005-09-09 15:30:47
Yes - but only some seem to be in the toolkit. Loaders like the AC3D and MD3 loaders still aren't there. Any ideas on where to get them from?

And do you know if AC3D includes animation?
30  Java Game APIs & Engines / Xith3D Forums / MD3 Loader on: 2005-09-09 13:36:56
Hey - does anyone know where to get a copy of Java Cool Dude's MD3 loader? It appears that the link in his old post to it doesn't work anymore.

Thanks!
Pages: [1] 2
 

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 (20 views)
2014-12-14 19:50:38

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

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

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

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

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

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

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

toopeicgaming1999 (30 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!