POV-Ray : Newsgroups : povray.general : normal calculation : Re: normal calculation Server Time
11 Aug 2024 15:19:50 EDT (-0400)
  Re: normal calculation  
From: Ken
Date: 27 Jun 1999 11:41:22
Message: <37764655.5A0BAA98@pacbell.net>
Andreas Gerdes wrote:
> 
> Hi
> when calculating the normals of a smooth_triangle, POV Help tells me that
> "Generally the smoothed normal should be the average of all the actual
> normals of the triangles which share that point".
> 
> Does that mean, that I simply have to add these normals and divide them by
> their number? Is the average of some vectors such a simple thing, and why
> then do MY smooth_triangles look so sadly wrong?
> Are their special things to care about while calculating normals, width of
> angles or such?
> Short question, does anyone know about some simple-case-tutorial/faq
> concerning  triangle or mesh calculation? Some source-code would do, too, I
> am for now working on a rounded "Icosaede" (didn't find the english
> translation, the platonic shape made of 20 equal triangles).
> 
> Thanks for your hints
> Andreas
> ger### [at] netcologneNOSPAMde

  Besides the advice you have already recieved see the tread in
povray.advanced-users posted 06-08-99 "smooth triangle normals"
for more info on calculating the cross product at each vertice.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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