Tutorial 1-5 | Tutorial 6-10 | Tutorial 11-15 | Tutorial 16-20 | Tutorial 21-25 | Tutorial 26-30
Lessons

 

Tutorial 11 : Environment Mapping & Automatic texture coordinate generation

Run tutorial !

Author : Jouvieje
Thanks : NeHe, McCLaw

Description : This is a port of NeHe's Tutorial 23 and McClaw's Cube mapping tutorial plus some addition from my own.
This tutorial use automatic coordinates texture generation. This can be used to creates reflection effects or to apply texture to complexe shapes (3d models).

New Functions : glTexGen, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_TEXTURE_CUBE_MAP, GL_REFLECTION_MAP

 

Tutorial 12 : Light [Part I]

Run tutorial !

Author : Jouvieje
Thanks : NeHe, The Red Book

Description : This Tutorial creates a simple light source that lit the surface of a sphere or a cube.

New Functions : glLightfv, glNormal3f

 

Tutorial 13 : Light [Part II]

Run tutorial !

Author : Jouvieje

Description : The sphere is light up by 3 kind of lights: a positional light source (yellow), a directional light (white) and a spot (blue).

 

Tutorial 14 : Light & Material [Part I]

Run tutorial !

Author : Silicon Graphics, ported to Java by Ron Cemer

Description : This program demonstrates the use of the GL lighting model.
Several objects are drawn using different material characteristics.
The same light source illuminates all the objects.

New Functions : glMaterialfv, glLightModelfv

 

Tutorial 15 v2 : Light & Material [Part II] - Particle System

Run tutorial !

Author : Jouvieje

Description : This is the second version of the tutorial. I think the scene is better, I've also added a small particle system.
The scene is composed of the two kind of lights (spot and a positional light). The objects in the scene have different material properties.
 

 

Last modified on 04/10/2010
Copyright © 2004-2012 Jérôme JOUVIE - All rights reserved. http://jerome.jouvie.free.fr/