Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Anyone knows polygons smoothing ?

  1. #1
    Junior Member Regular Contributor Roderic (Ingenu)'s Avatar
    Join Date
    Mar 2000
    Location
    Horsham, West Sussex, UK.
    Posts
    156

    Anyone knows polygons smoothing ?

    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.
    -* So many things to do, so little time to spend. *-

  2. #2
    Intern Contributor
    Join Date
    Apr 2000
    Posts
    50

    Re: Anyone knows polygons smoothing ?

    You just have to average your normal vectors.

  3. #3
    Junior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    Germany
    Posts
    235

    Re: Anyone knows polygons smoothing ?

    Average Normals for what?
    For Lightning?

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,982

    Re: Anyone knows polygons smoothing ?

    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.

  5. #5
    Junior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    Germany
    Posts
    235

    Re: Anyone knows polygons smoothing ?

    Thanx!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •