"No one can be told what GeeXLab is, you have to see it for yourself!"

"Stop Playing Games and Start Making Them! With GeeXLab, your are on your way!"


Quick Links
What is GeeXLab
Download GeeXLab
GeeXLab Requirements
Online Help
Articles and Tutorials
Samples Screenshots
Videos

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab
GeeXLab SDK

Shader Library

Follow GeeXLab's News
GeeXLab news, articles, tutorials and demos @ Geeks3D.com
GeeXLab @ Twitter GeeXLab RSS Feed

Subscribe to GeeXLab news by email

[ Back to Geeks3D.com ]

GeeXLab

GeeXLab

Laboratory for Real Time 3D Programming (prototyping and demos)
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:

    Code Samples Pack:
    [ DOWNLOAD (18MB) ]
    Left-click to download (right-click disabled)

    GeeXLab Code Samples - Basics



    Texture - JPG image

    This example shows how to load a JPG image.
    Texture - JPG image
    Texture - Video AVI

    This example shows how to load an animated texture (AVI file).
    Texture - Video AVI

    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.
    Built-in Meshes

    Skybox

    This example shows how to load a skybox (simple way and with Python).
    Skybox

    HUD

    This example shows how to use HUD (Head Up Display) and play with color blending factors.
    HUD

    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.
    3DS Format - Cube

    W4K Format - Plane

    This example shows how to load a multi-textured model from a W4K file. W4K format is generated with the W4K Mesh Exporter for 3ds Max.
    W4K Format - Plane

    OBJ Format - Cube

    This example shows how to load a model from an OBJ (Alias Wavefront) file.
    OBJ Format - Cube

    DirectX Format - Tiger

    This example shows how to load a model from a DirectX file.
    DirectX Format - Tiger

    Collada Format - Car

    This example shows how to load a model from a Collada file.
    Collada Format - Car

    OpenCTM Format

    This example shows how to load a mesh from an OpenCTM file.
    OpenCTM Format

    GeeXLab Code Samples - Python


    Hello World!

    This example shows how to use Python scripts. This is the famous Hello World of programming languages.
    Hello World!

    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.
    Texture Viewer

    Shared Variables

    This example shows how to use the shared variables to share data between Python and Lua scripts.
    Shared Variables

    NetworkX

    This example shows how to use the NetworkX library. More information HERE.

    You have to install the NetworkX library before loading this demo.
    NetworkX

    Post Direct Rendering

    This example shows how to use the post direct rendering scripts to have a full control on the rendering.
    Post Direct 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
    PyOpenGL

    GeeXLab Code Samples - Lua


    LuaGL

    This code sample shows how to use LuaGL, a library that provides access to all OpenGL (up to version 1.3) functionalities from Lua.
    LuaGL
    Anaglyph Stereoscopic 3D

    This code sample shows (in Lua and Python) how to generate anaglyph 3D images. Anaglyph images must be viewed with red/cyan glasses.
    Anaglyph Stereoscopic 3D

    3D Curve

    This example shows how to create a curve object and render a 3D curve (here a sine).
    3D Curve

    Render to texture

    This example shows how to do render to texture (RTT).
    Render to texture

    Motion Path Editor

    This example shows a very simple motion path editor.
    Motion Path Editor

    Hierarchy

    This example shows how to setup a hierarchy.
    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).
    Draw Line

    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.
    Model Cloning

    GeeXLab Code Samples - GLSL Shaders


    Point Light - Phong Lighting

    This example shows how to implement a Phong shader in GLSL.
    Point Light - Phong Lighting

    Simple Bump Mapping

    This example shows how to do bump mapping with normal map and a GLSL shader.
    Simple Bump Mapping

    GeeXLab Code Samples - Post Processing


    Bloom PostFX

    This example shows how to use post processing filters to create a bloom effect.
    Bloom PostFX

    Negative PostFX

    This example shows how to create a negative post processing filter that simply reverses colors.
    Negative PostFX

    GeeXLab Code Samples - Shadows


    Shadow Volume

    This example shows how to simulate soft shadows with shadow volumes and several light sources.
    Shadow Volume

    Shadow Mapping

    This example shows how to use the shadow mapping to create nice soft shadows.
    Shadow Mapping

    GeeXLab Code Samples - Instancing


    Software Mesh Instancing

    This example shows how to do software mesh instancing in Lua.
    Software Mesh Instancing

    Software Mesh Instancing - Spirale

    This example shows how to do software mesh instancing in a simple hierarchy.
    Software Mesh Instancing - Spirale

    GeeXLab Code Samples - NVIDIA PhysX


    PhysX fluids

    This example shows how use the fluids of NVIDIA PhysX.

    You have to install the latest PhysX System Software before running this demo.
    PhysX fluids
    Simple PhysX demo

    This example shows how use NVIDIA PhysX with the drop of a simple cube.

    You have to install the latest PhysX System Software before running this demo.
    Simple PhysX demo

    Revolute joints

    This example shows how use revolute and breakable joints.

    You have to install the latest PhysX System Software before running this demo.
    Revolute joints

    GeeXLab Code Samples - Particle System


    Point Emitter

    This example shows how use a simple point emitter.
    Point Emitter

    GeeXLab Code Samples - Audio / Sound


    MP3 File

    This example shows how to load and play a MP3 file.
    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.
    3D Sound

    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.
    Sound Phaser

    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.
    2D Bitmap fonts

    3D fonts

    This example shows how to use 3D fonts.
    3D fonts
    Random Projects

    Phong Lighting Multiple Lights
    Phong Lighting Multiple Lights

    Depth Buffer Visualization
    Depth Buffer Visualization

    2D Shockwave Effect
    2D Shockwave Effect


    Random Code Samples

    Mesh Instancing - Spirale
    Mesh Instancing - Spirale

    PhysX Fluids
    PhysX Fluids

    Negative PostFX
    Negative PostFX



    (C)2009-2010 Geeks3D.com