• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading 3D character models into JOGL

 
Kirk Gao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kirk Gao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic