Login  Register

Re: How to import Blender models into JOGL?

Posted by Demoscene Passivist on Jul 08, 2012; 9:18am
URL: https://forum.jogamp.org/How-to-import-Blender-models-into-JOGL-tp4025391p4025467.html

>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?

Generally u can't use the materials u see in in Blender directly in JOGL/OpenGL, but there are multiple ways to work around this.

Personally I use a combination of "texture baking" and "uv unwrapping" (google for these) to export materials as textures from blender. The rest I add with shaders manually in my application.

Another way is to use the "blender game engine" and use the materials provided there. These can be easily reverse engineered/extracted from the engine and used with JOGL.