Difference between revisions of "Libs3D"

From GiderosMobile
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
=== Description ===
 
=== Description ===
Various ways to make 3D in Gideros.
+
Gideros can work with 3D, out of the box:
 +
*using built in functions like Application ''configureFrustum'', ''3D Matrix'', the '''Mesh''' class, the '''Viewport''' class, ...
 +
*using '''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 ===
 
=== Gideros API ===
Gideros can work with 3D out of the box, using a '''Mesh''', a '''Viewport''' and some 3D '''matrices'''. Let's start here:
+
To get our feet wet, we will start 3D using Gideros API.
* '''[[Libs3D_Mesh|Mesh]]'''
 
  
=== '''WIP''' ===
+
While this is cool, this can quickly get out of hand building more complex shapes.
<del>[[3D_Plane]]</del>
+
 
 +
Please head over here:
 +
==== '''[[Libs3D_Mesh|Basic Gideros 3D]]''' ====
 +
 
 +
=== Gideros Library ===
 +
To make more advanced games and applications, you would want to add animation, load complex models, add light and normals, ...
 +
 
 +
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.
 +
 
 +
Please head over here:
 +
==== '''[[Libs3D_Library|Gideros Library]]''' ====
 +
 
 +
=== VR ===
 +
If you are into VR, you would want to use the '''Library/oculus''' folder.
 +
 
 +
'''TO DO'''
  
 
{{GIDEROS IMPORTANT LINKS}}
 
{{GIDEROS IMPORTANT LINKS}}

Latest revision as of 04:28, 27 January 2026

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.pngPlatform linux.png

Description

Gideros can work with 3D, out of the box:

  • using built in functions like Application configureFrustum, 3D Matrix, the Mesh class, the Viewport class, ...
  • using 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.

While this is cool, this can quickly get out of hand building more complex shapes.

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 and normals, ...

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.

Please head over here:

Gideros Library

VR

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

TO DO