POV-Ray : Newsgroups : povray.advanced-users : Normal vector deformation : Re: Normal vector deformation Server Time
29 Jul 2024 20:21:25 EDT (-0400)
  Re: Normal vector deformation  
From: Chris Huff
Date: 13 Jan 2001 22:36:43
Message: <chrishuff-F60238.22381413012001@news.povray.org>
In article <3A61148C.66317755@online.no>, Tor Olav Kristensen 
<tor### [at] onlineno> wrote:

> If N is the normal at the point P, then how about trying this ?
> 
> #declare dN = vnormalize(Deform(P + 0.01*vnormalize(N)) - Deform(P));

That is exactly the same as what I suggested (and which won't work), 
though it is slightly reworded and I assumed the normal was already 
normalized.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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