POV-Ray : Newsgroups : povray.binaries.images : weighted normals from p.a-u (94 kbu) Server Time
19 Aug 2024 12:14:45 EDT (-0400)
  weighted normals from p.a-u (94 kbu) (Message 1 to 2 of 2)  
From: Wlodzimierz ABX Skiba
Subject: weighted normals from p.a-u (94 kbu)
Date: 8 Dec 2000 07:35:56
Message: <3a30d5ac@news.povray.org>
mesh x 3 and one union

right top - wireframe
left top - triangles
left bottom - smooth triangles with averaged normals
right bottom - smooth triangles with weighted normals

ABX (& my child at zuza.org)


Post a reply to this message


Attachments:
Download 'weighted.jpg' (92 KB)

Preview of image 'weighted.jpg'
weighted.jpg


 

From: Warp
Subject: Re: weighted normals from p.a-u (94 kbu)
Date: 10 Dec 2000 09:56:13
Message: <3a33998c@news.povray.org>
Yes, it's quite clear that the weigthed average gives the best result.
It doesn't suprise me, but it's good to have a clear example of this.

  I'm only worried about the increased possibility of creating degenerate
smooth triangles.
  One solution to this is to smooth an edge only if its angle is less than
a certain angle (if the angle is at most 90 degrees, there shouldn't appear
any degenerate triangles).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.