Libs3D: Difference between revisions
From GiderosMobile
wip |
wip |
||
| Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Gideros can work with 3D, out of the box: | Gideros can work with 3D, out of the box: | ||
*using | *using Gideros API like ''configureFrustum'', ''3D Matrix'', the ''Mesh'' class, the ''Viewport'' class, ... | ||
*using | *using Gideros Library: ''Library/3dbase'' and ''Library/luashader'' folders available in your Gideros installation folder | ||
*for VR, using the | *for VR, using the ''Library/oculus'' folder, also available in your Gideros installation folder | ||
=== Gideros API === | === Gideros API === | ||
To get our feet wet, we will start 3D using Gideros API. | To get our feet wet, we will start 3D using Gideros API. | ||
To learn more, please head over here: '''<big>[[Libs3D_Mesh|Basic Gideros 3D]]</big>''' | |||
To learn more, please head over here: | |||
=== Gideros Library === | === Gideros Library === | ||
| Line 27: | Line 24: | ||
To learn more, please head over here: | To learn more, please head over here: | ||
*Gideros Library Shapes: '''<big>[[Libs3D_Library_Shapes]]</big>''' | |||
*|Gideros Library .obj: '''<big>[[Libs3D_Library_Obj]]</big>''' | |||
=== VR === | === VR === | ||
Revision as of 10:38, 16 July 2026
Description
Gideros can work with 3D, out of the box:
- using Gideros API like configureFrustum, 3D Matrix, the Mesh class, the Viewport class, ...
- using Gideros Library: Library/3dbase and Library/luashader folders available in your Gideros installation folder
- for VR, using the Library/oculus folder, also available in your Gideros installation folder
Gideros API
To get our feet wet, we will start 3D using Gideros API.
To learn more, please head over here: Basic Gideros 3D
Gideros Library
To make more advanced games and applications, you would want to add animation, load complex models, add light, fog, ...
Fortunately, our hero and Gideros maintainer (@hgy29) has parsed many 3D formats: .obj, .fbx, .gltf and magicavoxel.
All the parsers are available in the Library/3dbase folder.
For light, normal mapping, fog, ... we use shaders. All the shaders we need are available in the Library/luashader folder.
To learn more, please head over here:
- Gideros Library Shapes: Libs3D_Library_Shapes
- |Gideros Library .obj: Libs3D_Library_Obj
VR
If you are into VR, you would want to use the Library/oculus folder.
TO DO