Login  Register

How to import Blender models into JOGL?

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

Hi there,

I want to import my Blender models into JOGL, which I suppose to be a fairly standard use case. However, I could not find any readily available solution to this wish.

I tried joglutils, which seems to be a little outdated and even worse, uncomplete: http://sourceforge.net/projects/joglutils/. When I import it into my project, I get 1342 errors stating that some classes could not be found.

I also looked around in the forum here, but the closest thing I found was a tutorial telling me how to program a port for Blender animations into LWJGL: http://forum.jogamp.org/Tutorial-Exporting-Animation-Data-From-Blender-2-5-API-td1755881.html#a1914726. A rather laborous task, which I only want to approach if absolutely necessary.

So, can it really be that for such a basic task no one already wrote an importer, not for any of the file formats Blender can export to? I guess it would be easy enough for me if it was only about vertices, edges and faces, but going into materials and animations probably exceeds my schedule.

Thanks for any hint or solution you can provide!
Estajxo