Libs3D Library Model Import
From GiderosMobile
I am ready
Next step is to import 3D models. Let's start with some static models (.obj, .vox, ...). As with the shapes we have seen before, models will react to lighting, shadow, normal map, ... .
.obj Rulez
When you work with 3D, you need to follow some "engine" rulez. In Gideros those are:
- currently Gideros supports .png and .jpg image formats
- currently Gideros supports Base Color, Texture map and Normal Map
- the textures shouldn't be embedded in the models. In Blender, use unpack resources:
- your Blender BSDF shaders should look something like:
please note, you can still have the Metallic, Roughness and other textures attached in your Blender BSDF shaders, Gideros will just ignore them
- Gideros will import the position of the models
- I believe Gideros also imports the origin of the models, so place the origins accordingly
I personally use this Blender add-on: https://extensions.blender.org/add-ons/act-game-asset-creation-toolset/
...TO BE CONTINUED...
I am out 3
You are strongly encouraged to mess with the code.
Bye for now!