• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Loading 3D character models into JOGL

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic