MD3 Loader

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!

I don’t know, but I am interested too, and I suggest someone that know where to grab it add it to the toolkit. (Note : If i knew, I could add it…)

Didn’t I see posts the other day about the newdawn loaders now being part of the tool kit?

Why do you want 2?

Or have I missed something?

Dan.

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?

No, I don’t know if AC3D includes animation. I think it doesn’t.
Actually there’s only OBJ, MD2, 3DS, and ASE loaders in Xith. There’s an AC3D loader in the toolkit. And there’s a MD3 loader made by Java Cool Dude that has been lost in the ocean of posts…

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 :(. If anyone knows anything about the md3 loader please let me know!

try

http://users.xith.org/JavaCoolDude/JWS/Xith3D/Quake3/

Thanks! But which files are that of the actual loader and not that of the test?

ding

Sorry, you will have to work that out.

If you manage to isolate the loader, please feel free to add it to the xith-tk project (as org.xith3d.loaders.md3), in fact that would be quite nice to have.

If the MD2 format is good enough, use that – that loader works well.

Will.

For interest I also wrote a MD3Loader for Java3D which is very much in the same style as the MD2Loader. That could probably be ported pretty easily to Xith3D if anyone has time. The only thing I’d say is its potentially not as tested as the MD2Loader since few inide devs both with MD3 and Java3D.

I’ve got a pretty quiet weekend so I might be able to fit it in.

Kev

Hi

AC3D Spec doesn’t include animations, so the loader doesn’t either.

Endolf

Yea - if you get the chance to port it kevglass I’d be in permanent debt to you!

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?

I don’t think named node support is the OBJ loader. I could be wrong, its been a while since I even thought about OBJ :slight_smile:

Kev

Incidently, the ASE loader has ways to extract named nodes and make them relitive to their pivot points (though the use of TransformGroups). To have this feature, both your model format and loader must support it and I can’t name any others that do (I have not done a great deal of research). Granted you may not need this level of named node support, but I thought I should point out the differences (if you were reading my tutorial on this, you will need pivot point support, my tutorial is quite ASE specific).

Kev, please do post your java3d code for the md3 loader, hopefully someone may have the time to port it.

Cheers,

Will.

You can get the MD3Loader for Java3D package is here:

http://www.newdawnsoftware.com/resources/md3loader.zip

I looked at porting it a moment ago but its currently reliant on behaviours for animation (though it doesn’t look too complicated to change). Most everything seems compatible with Xith other than of course Capability bits :slight_smile:

Kev

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 :(.

Try to port it. You learn, when you code. It belongs to xith-tk anyways, so I believe you could ask Will to assign you a subdir for the md3-loader (e.g. org.xith3d.loaders.md3) Then you can use the cvs function and others would also be able to help you out coding it more easily.

Arne

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.

Time is scarce for must of us my friend. The nature of open source allows one to do such code, and contribute it back to the community. As far as Xith3D work goes, there are many feature requests and many are a higher priority than a MD3 loader. If you really don’t want to do it yourself (and as you say, I’m sure you could), would be willing to hire someone to do it for you?

Will.