[ Back to Geeks3D.com ]
GeeXLab
Laboratory for Real Time 3D Experimentations OpenGL, Lua, Python, GLSL, PhysX and more...Code Samples
Basics
Direct Model Loading
Python
Lua
GLSL Shaders
Post Processing
Shadows
Instancing
NVIDIA PhysX
Particle System
Audio / Sound
Fonts 2D / 3D
You can download all code samples in a single archive:
All Code Samples (15MB)
GeeXLab Code Samples - Basics
» Built-in Meshes
This example shows how to use some of the built-in meshes (here a sphere and a torus) and display vertices normals. |
|
» Skybox
This example shows how to load a skybox (simple way and with Python). |
|
» HUD
This example shows how to use HUD (Head Up Display) and play with color blending factors. |
|
GeeXLab Code Samples - Direct Model Loading
» 3DS Format - Cube
This example shows how to load a textured model from a 3DS file. There is no dynamic lighting. |
|
GeeXLab Code Samples - Python
» Hello World!
This example shows how to use Python scripts. This is the famous Hello World of programming languages. |
|
» Texture Viewer
This example shows how to use drag n drop scripts (Python scripting) to load and display several texture files at the same time. |
|
» Shared Variables
This example shows how to use the shared variables to share data between Python and Lua scripts. |
|
» NetworkX
This example shows how to use the NetworkX library. More information HERE.
You have to install the NetworkX library before loading this demo. |
|
» Post Direct Rendering
This example shows how to use the post direct rendering scripts to have a full control on the rendering. |
|
» PyOpenGL
This example shows how to use the PyOpenGL library with post direct rendering scripts. More information HERE.
You have to install the PyOpenGL library before loading this demo |
|
GeeXLab Code Samples - Lua
» 3D Curve
This example shows how to create a curve object and render a 3D curve (here a sine). |
|
» Hierarchy
This example shows how to setup a hierarchy. |
|
» Draw Line
This example shows how to draw a line using a line object and without a line object in immediate mode (post direct rendering). |
|
» Model Cloning
This example shows how to clone a model. The model can be seen as a template and you can create new model by cloning the template. In the demo, just press the SPACE key to clone the model. |
|
GeeXLab Code Samples - GLSL Shaders
GeeXLab Code Samples - Post Processing
» Bloom PostFX
This example shows how to use post processing filters to create a bloom effect. |
|
» Negative PostFX
This example shows how to create a negative post processing filter that simply reverses colors. |
|
GeeXLab Code Samples - Shadows
» Shadow Volume
This example shows how to simulate soft shadows with shadow volumes and several light sources. |
|
» Shadow Mapping
This example shows how to use the shadow mapping to create nice soft shadows. |
|
GeeXLab Code Samples - Instancing
GeeXLab Code Samples - NVIDIA PhysX
GeeXLab Code Samples - Particle System
GeeXLab Code Samples - Audio / Sound
» MP3 File
This example shows how to load and play a MP3 file. |
|
» 3D Sound
This example shows how to load a sound file and use 3D sound capabilities. The source of sound is attached to a gizmo moving on the motion path. |
|
» Sound Phaser
This example shows how start sound playing when you want. Each time you press the SPACE key, the mesh sphere polygon mode is changed (LINE / SOLID) and a sound (phaser) is played. |
|
GeeXLab Code Samples - Font
» 2D Bitmap fonts
This example shows how to use 2D fonts created from bitmap files. Bitmap files have been created with Bitmap Font Generator. This program will allow you to generate bitmap fonts from TrueType fonts. |
|
» 3D fonts
This example shows how to use 3D fonts. |
|
|