Re: How to import Blender models into JOGL?
Posted by
Demoscene Passivist on
Jul 03, 2012; 9:44pm
URL: https://forum.jogamp.org/How-to-import-Blender-models-into-JOGL-tp4025391p4025398.html
Maybe the Wavefront .obj loader from my repository is what you are looking for. Wavefront objects can be easily exported from blender (I use blender myself for exactly the same purpose).
You can either use the
DisplayList based version or the
VBO based version of the Wavefront loader.
The usage is quite easy:
mDisplayListID = WavefrontObjectLoader_DisplayList.loadWavefrontObjectAsDisplayList(inGL,"/binaries/geometry/TextureBaking_Normals.wobj.zip");
Works with vertices, polygons, normals and textures. So you can completely export a UV unwrapped model from Blender and simply use it in your JOGL application.