Quake3 loader

Enjoy fellas ;D

Hopefully the animated version will be done by this weekend :slight_smile:

Hi there,

Looks like very interesting work. Do you know if anyone is working on a BSP viewer/loader? I am thinking of using Jogl to port my project at mundo.sourceforge.net. I’ve rearranged the C-code a lot by making the sources more contained in a structure and avoiding the globals, but still am not happy.

I see it as a starting point for an application using Java and classloaders to introduce new objects at runtime. Java would be an excellent language for it due to its classloading abilities and getting code from remote places. That could be awesome when used in P2P applications?

Please let me know if anyone is working on BSP viewers/loaders at the time and whether we can collaborate efforts… :slight_smile:

Cheers,

Chiraz

[quote]Hi there,

Looks like very interesting work. Do you know if anyone is working on a BSP viewer/loader? I am thinking of using Jogl to port my project at mundo.sourceforge.net. I’ve rearranged the C-code a lot by making the sources more contained in a structure and avoiding the globals, but still am not happy.

I see it as a starting point for an application using Java and classloaders to introduce new objects at runtime. Java would be an excellent language for it due to its classloading abilities and getting code from remote places. That could be awesome when used in P2P applications?

Please let me know if anyone is working on BSP viewers/loaders at the time and whether we can collaborate efforts… :slight_smile:

Cheers,

Chiraz
[/quote]
I was thinking about porting a quake3 bsp demo sometime ago (well that’s me, neither creativity nor demand for certain type of demo so I resort to porting C/C++ code :’( ), but I have md3 animations as main project for now.
I’m not aware if there is anyone working on something like that, but I definitely wouldn’t mind jumping on the bandwagon if there is some team-spirit pushing it :slight_smile:

Fixed a tiny flaw in the code which might cause a runtime error.
Should be solid as rock now 8)
/me is about 85% done with the animations :slight_smile:

W00h00000 JoGL Quake 3 Animator :stuck_out_tongue:

;D

Dude of the Java. make it work with Xith3D m8… would be sweet… a md3 loader! cooolllll!!!

Is this a port of nehe lesson 31 or something separate? Just to know if I should integrate it with the rest of the demos.

[quote]Is this a port of nehe lesson 31 or something separate? Just to know if I should integrate it with the rest of the demos.
[/quote]
The Quake 3 Loader is a port from GL4Java, and I’ve given the due Credits to the original Authors.
The animation loader However is my entire work (head still aches :’() and it’s a direct port from C++.
Pepi I was about to contact you regarding integrating such demos in your package regardless of whether they’re Nehe’s or not.
I’m thinking about porting as many demos as I can to JoGL so people would have a good starting point with them :slight_smile:

[quote]Dude of the Java. make it work with Xith3D m8… would be sweet… a md3 loader! cooolllll!!!
[/quote]
Man I’m sorry I have never dealt with Xith3D before :-/

Porting the MD3 loader from Java3D to Xith3D might be easy. Only problem is probably the interpolation of the frames since I’m not sure Xith has a Morph node yet.

Kev

Updated both demo to their final shape: No more frequent crashing when fullscreen is enabled :slight_smile:
Now any suggestions on what port you guys would like to see this weekend?

How about NeHe tutorial 45? :wink:
Although I haven’t looked at the existing code yet so I don’t know if the conversion to JOGL code would be trivial or not. Just know that I’m going to need code like that for my terrain rendering (although it’s doing 60 fps now using strips so it isn’t strictly necessary yet).

The other thing is that when I turn on lighting my terrain get’s really dark except around the camera. Changing ambient and diffuse lighting doesn’t seem to do what I expected. So any tutorial which goes into lighting would do as well ;D

[quote]How about NeHe tutorial 45? :wink:
Although I haven’t looked at the existing code yet so I don’t know if the conversion to JOGL code would be trivial or not. Just know that I’m going to need code like that for my terrain rendering (although it’s doing 60 fps now using strips so it isn’t strictly necessary yet).

The other thing is that when I turn on lighting my terrain get’s really dark except around the camera. Changing ambient and diffuse lighting doesn’t seem to do what I expected. So any tutorial which goes into lighting would do as well ;D
[/quote]
Pepi did Lesson 45 >:( … j/k mate :stuck_out_tongue:
I’m done with gameTutorial lesson 41 (fog + height map), and it looks amazing :slight_smile:
Too bad my host is being a b|tch, I can’t seem to get the upload to work :’(.
PS: I changed my frame work, and from now on I will only submit executable jars (which also contains the source :slight_smile: )

He did? Damn, must have missed that one. :slight_smile:
Is there a place where all the latest conversion can be found?

if u want webspace dude - give me a yell:

ant@tomato.co.uk

can have as much as u like :slight_smile:

I sent you an email Sir, thanks for your generosity :slight_smile:
Back on topic, I packed both ports in one zip file which has two executable jars within.
Check them out here
Quake 3 Loader and Animator

Can’t wait to port Doom ]|[ .md5 models ;D

http://www.topresultmate.com/JavaDude/

your set- check yer email :slight_smile:

I just found the following site and ASE importer code. It’s Delphi but if someone can read it, it may help porting code to jogl.

http://www.delphi3d.net/listfiles.php?category=1
http://www.delphi3d.net/download/aseread.zip

There is Quake MD2 and MD3 loaders avail as well.

I’ve got some generic ASE reader code for Java. It is separated rom the graphics library (JOGL). If anyone needs that, I’d gladly contribute it as is.

Would be great to take a look at the another ASE loader because of we have not resolved issue with normals in ASE in Xith3D loader. Can you please drop a link to your loader somewhere in the forum (or maybe personal message?)

Yuri