Login  Register

Re: How to import Blender models into JOGL?

Posted by gouessej on Jul 03, 2012; 7:52pm
URL: https://forum.jogamp.org/How-to-import-Blender-models-into-JOGL-tp4025391p4025393.html

Hi

You should use the version of JOGLUtils that is on Github; if it is not yet supporting JOGL 2.0, I will port it.

I have used JOGL since 2006 and I have imported all sorts of models without any problem, WaveFront OBJ, MD2, MD3, Collada, etc... I use a lot Blender, you can load Blender models with JMonkeyEngine 2.0 + my old renderer based on JOGL 1 + an extension supporting Blender format. Another solution consists in exporting your model to Collada to load it into Ardor3D (you can use it with my renderer based on JOGL 2.0), there is even an example of animated model on its repository.

Keep in mind that JOGL is essentially a low level Java binding for the OpenGL API, not a full scenegraph. You can find such loaders in Java3D, Xith3D, Ardor3D, JMonkeyEngine, Aviatrix3D, 3DzzD, etc...

Anyway, most loaders using plain C/C++ and OpenGL are easy to port to JOGL, I did that to load MD3 models in 2007. Best regards.
Julien Gouesse | Personal blog | Website