Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Loading 3D character models into JOGL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Loading 3D character models into JOGL" Watch "Loading 3D character models into JOGL" New topic
Author

Loading 3D character models into JOGL

Kirk Gao
Greenhorn

Joined: Aug 30, 2007
Posts: 8
I would like to load a ms3d file format (Milkshape 3D) character model from Unreal Tournament 2003 (gotten from Milkshape's download site) to a four-walled room I created using jogl methods. How does one go about doing so? I read around but all the 'help' sites I found only give instructions on how to download and set up their own loaders and load to Java 3D or DirectX and I really don't wanna mess with those. On somes sites I read that you have to write your own loader (yikes!). Is this true? Any/all help appreciated.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14278
    
  21

JOGL is a low-level API, a wrapper for OpenGL. It contains a lot of functionality to do low-level 3D graphics stuff, for example draw triangles, set up lighting etc.

It has no support for higher-level abstractions such as models of objects etc. For this you'll need a higher-level library such as Java 3D, which can manage a scene graph for you in which you can load models.

I you just want to use JOGL and not a higher-level API such as Java 3D, then you'll have to write a lot of code to load and manage all the triangles in the model yourself - not a small task.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Kirk Gao
Greenhorn

Joined: Aug 30, 2007
Posts: 8
That's a bummer. Well I looked at Sun's Java 3D site and there doesn't actually seem to be a link to download the darn thing...just a lot of referrals to other descriptions of their various APIs. Am I just not looking hard enough?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42370
    
  64
Am I just not looking hard enough?


Depends on where you're looking

Current development is being carried out on https://java3d.dev.java.net/


Ping & DNS - my free Android networking tools app
 
 
subject: Loading 3D character models into JOGL