POV-Ray : Newsgroups : povray.newusers : sum of 2 normals : sum of 2 normals Server Time
29 Jul 2024 08:19:20 EDT (-0400)
  sum of 2 normals  
From: Mr Seb
Date: 1 May 2006 12:10:11
Message: <445632e3$1@news.povray.org>
I'd like to blend 2 normals.

for example I do :

normal {brick}
normal {dents}

and I hope to have a mixture of both. It doesn't work. More, if I switch
both, I don't obtain the same result (!)
I switched with functions :

#declare n1=function{pattern{bumps}}
#declare n2=function{pattern{dents}}
#declare NORM=function{n1(x,y,z)+n2(x,y,z)}

object {myobject normal{NORM}}

and it doesn't work... More, if I switch n1 and n2 in the NORM function, I
don't obtain the same result.
I'm lost. What's wrong with my idea ?


Post a reply to this message

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