Difference between revisions of "Libs3D Library"
From GiderosMobile
(wip) |
(wip) |
||
| Line 20: | Line 20: | ||
== The 3D Assets == | == The 3D Assets == | ||
When you work with 3D, you need to follow some "engine" rulez. In Gideros there are a couple things to know: | When you work with 3D, you need to follow some "engine" rulez. In Gideros there are a couple things to know: | ||
| − | *the texture shouldn't be embedded in the model. In Blender, use ''unpack resources'' | + | *'''the texture shouldn't be embedded in the model. In Blender, use ''unpack resources''''': |
| + | [[File:Blender_unpack_resources.png|414px]] | ||
| + | |||
| + | *'''your Blender BSDF shader should look something like''': | ||
| + | [[File:Blender_shading_tab.png|558px]] | ||
| + | |||
*currently Gideros supports | *currently Gideros supports | ||
I have chosen this asset pack: https://roadtovostok.itch.io/road-to-vostok-assets-vol1. | I have chosen this asset pack: https://roadtovostok.itch.io/road-to-vostok-assets-vol1. | ||
Revision as of 05:44, 28 January 2026
I am ready
As we have seen, when it comes to 3D, Gideros has a bunch of helper files packed in the Library folder.
Here is the plan:
- start with shapes
- add some .obj models
- maybe some .glb files
- some .fbx animations
I will try to impress you with 3D Gideros ✨.
Create a new Gideros project and add these two folders in the assets folder:
- 3dbase
- luashader
You can run your project, you should have a blank screen.
The 3D Assets
When you work with 3D, you need to follow some "engine" rulez. In Gideros there are a couple things to know:
- the texture shouldn't be embedded in the model. In Blender, use unpack resources:
- your Blender BSDF shader should look something like:
- currently Gideros supports
I have chosen this asset pack: https://roadtovostok.itch.io/road-to-vostok-assets-vol1.
In 3D, the assets you download often need some adjustement 🤷♂️. I made those adjustements and will use the pack I uploaded here: https://mokatunprod.itch.io/3dpixel-obj-packs
You can download the adjusted pack or use your own models.
The Ground
As we are more learning than making a game, we won't really care if the 3D assets don't match 🤷♂️!
I am out 2
To do.
You are strongly encouraged to mess with the code.
Bye for now!


