Posted 05 November 2001 - 06:08 AM
Sorry, I don''t understand your question... What do you mean by ''shading on shapes'', and what is a ''light fog'' ?
Members - Reputation: 122
Posted 07 November 2001 - 02:56 PM
Posted 08 November 2001 - 04:38 AM
What you mean by shading on shapes is simply called ''lighting'' in OpenGL Eg. you put a lightsource infront of a cube and the cube rotates, then the incident light will automatically calculated.
And about the fog thing: What you want is simple linear/exponential fog, a very basic OpenGL operation.
I suggest you take a look at nehe.gamedev.net, you will find very good OpenGL tutorials explaining all this from the beginning on in very understandable form (including the commonly used OpenGL and computer graphics terms).