Drawing a Lit Torus With A Rotating Light Tutorial - OpenGL Tutorials in Delphi

OpenGL News / Downloads / OpenGL / Rage3D / Tutorials / Photos / Links / Contact Me / About / Forum
Chapter 1-2     Chapter 3-4    Chapter 5-7   Chapter 8-13


 Ads



 Drawing a Lit Torus With A Rotating Light (example 6.1d) 12 November 2003
Description :

Delphi courses learning tutor OpenGL 3D Development Information Technology Here we are drawing a Torus (Doughnut) with one Blue light enabled.

It uses similar materials as the sphere we drew int the previous example.

Because we are not using the aux or glut libraries I added a function to create a torus in a Display List.

The function is called CreateTorus (As if you wouldn't have guessed).

Download :   18 KB (EXE and Source)



Chapter 1-2     Chapter 3-4    Chapter 5-7      Chapter 8-13


 Ads