Libs3D: Difference between revisions

From GiderosMobile
wip
No edit summary
Line 1: Line 1:
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]][[File:Platform linux.png]]<br/>
{{PLATFORMS ALL}}


__TOC__
__TOC__
Line 17: Line 17:
To make more advanced games and applications, you would want to add animation, load complex models, add light, fog, ...
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'''.
Fortunately, in your Gideros installation folder, you will find a ''Library'' folder (thank you '''hgy29''') that will help with 3D:
* '''Library/3dbase''' for importers (obj, fbx, glb, ...), animation, ...
* '''Library/luashader''' for light, normal mapping, fog, ...


All the parsers are available in the '''Library/3dbase folder'''.
To learn more, please head over here: '''<big>[[Libs3D_Library_Shapes]]</big>'''
 
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: '''<big>[[Libs3D_Library_Shapes]]</big>'''
*|Gideros Library .obj: '''<big>[[Libs3D_Library_Obj]]</big>'''


=== VR ===
=== VR ===

Revision as of 20:47, 16 July 2026

Supported platforms:

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, in your Gideros installation folder, you will find a Library folder (thank you hgy29) that will help with 3D:

  • Library/3dbase for importers (obj, fbx, glb, ...), animation, ...
  • Library/luashader for light, normal mapping, fog, ...

To learn more, please head over here: Libs3D_Library_Shapes

VR

If you are into VR, you would want to use the Library/oculus folder.

TO DO