loading objects to JOGL

Hi guys. I have been reading about JOGL for some time. I now want to put a .3ds object into my JFrame. But it seems I have to write the object loader by myself and I don’t have the time and [knowledge] to do that.

Anyway, I tried to use Java 3D API but it seems it can load only load .obj files(I have done that and it works).

Let me make what I am doing clear. I have a terrain that I created using Terragen2. I am trying to load that to my JOGL code and on top of that terrain, I want to add some objects that I created using 3D Max Studio.

The problem with using .obj loader of Java 3D is that I can only load either the terrain that I created using Terragen2 or the .obj that I created using 3d Max. If I tried to load both, only the one that is added latter gets displayed.

I have wasted so much time to solve this by my own, and that is why I’m here. May be this question is so simple for some one one not novice like me. Do me a favor by writing a line of help or two…

Thanks

Hi!

Look at jogl-utils to load 3DS models:


Thanks gouessej