Re: How to import Blender models into JOGL?
Posted by
Estajxo on
Jul 07, 2012; 10:38am
URL: https://forum.jogamp.org/How-to-import-Blender-models-into-JOGL-tp4025391p4025456.html
The last entry of the linked example still shows the entry, only with an empty String. This is what I have done, too.
Anyway, I now found one solution quite workable which is described here:
http://lj4newbies.blogspot.de/2008/03/using-classgetresource-load-resource.htmlI suppose this is a "clean" solution, isn't it? If not, what are the disadvantages?
Anyway, thanks a lot for your support! As a reward I would like to share my results regarding this. My Blender model

now looks like this inside my application:

Pretty flat shading still, but at least it is there. More vivid shading will need lighting, I suppose.
But also, as you can see I added some material to my model, like the black screen and the white eyes. Is there any way to recover those in the application? So far I just set the glColor to this bluey color (or any other) and the material is lost.