[GEM-dev] Smoothing polygon surfaces

Frank Barknecht fbar at footils.org
Sat Jul 1 14:26:30 CEST 2006


Hallo,
cyrille henry hat gesagt: // cyrille henry wrote:

> in you example, the color of a quad was uniform, but different for every 
> quad.
> i just change 3 connections in order to have a smooth color variation of 
> the quad.
> 
> i also put som GEMglNormal3fv befor every GEMglVertex3fv, in order to 
> have nice lighting effect. (the normal are the same as the vertex 
> position, assuming that the shape is not very differents from a sphere 
> (!!!!)
> 
> i also remove the any objects as you don't nead it.
> 
> that's all i can do.

That's a lot you did! Thanks very much, looks much better now.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the GEM-dev mailing list