Difference between revisions of "Libs3D Library"

From GiderosMobile
 
(wip)
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/>
+
__TOC__
  
__TOC__
+
== 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'''
  
== I am real 3D ==
+
You can run your project, you should have a blank screen.
First and foremost, for 3D, we set our application as such. There are many ways to tell our application be 3D:
 
* application ''configureFrustum''
 
* Matrix ''orthographicProjection''
 
* Matrix ''perspectiveProjection''
 
* Viewport ''setProjection''
 
  
Let's see some of those making our first steps in Gideros 3D.
+
== The Ground ==
 +
As we are more learning than making a game, we won't really care if the 3D assets don't match 🤷‍♂️!
  
== TO DO ==
 
=== TO DO ===
 
As seen above, first we set our application 3D: ''configureFrustum''.
 
  
To do.
 
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 04:34, 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 Ground

As we are more learning than making a game, we won't really care if the 3D assets don't match 🤷‍♂️!


3d toruZ.png

I am out 2

To do.

You are strongly encouraged to mess with the code.

Bye for now!


Libs3D