PDA

View Full Version : Anyone knows polygons smoothing ?



Roderic (Ingenu)
04-09-2000, 03:44 AM
I've seen somewhere something about polygon smoothing that make a characeter/object look better wihtout increasing the poly count.
I've seen 3dsmax pics with and w/o that effect activated and it's awesome !
Anybody knows how to achieve that effect ?

Thanx.

Gabriel
04-18-2000, 10:30 PM
You just have to average your normal vectors.

XBCT
04-20-2000, 10:45 AM
Average Normals for what?
For Lightning?

Bob
04-21-2000, 11:47 AM
You have to pass vertexnormals. This is the same as normals for triangles, but you assign these to each vertex. What he ment about averaging normals, is that each vertexnormal is an average of the normals for each triangle connected to that vertex.

You can calculate the average normal, by adding all normals and then scale it to unitlength.

XBCT
04-22-2000, 05:06 AM
Thanx! http://www.opengl.org/discussion_boards/ubb/smile.gif