POV-Ray : Newsgroups : povray.general : What is wrong with this? : What is wrong with this? Server Time
2 Jul 2024 10:32:23 EDT (-0400)
  What is wrong with this?  
From: TonyB
Date: 1 Sep 1999 12:23:37
Message: <37CD3FCE.D2DF3923@panama.phoenix.net>
Hello. I am having a small math problem. All my life I have found this
to be true. I even tried it on paper, and it works.

A/2 + B/2 = (A + B)/2

Am I wrong? The reason I ask is because of something that happened to me
while playing with Jaime Vives' clouds. The line that reads:

#declare p=sky_color*.5+White*.5;

*can* be re-written as:

#declare p=(sky_color+White)/2;

right? At least according to my formula. But for some odd reason, POV
says NO. Try it. I will post an image to the corresponding group
shortly.

--
Anthony L. Bennett
http://welcome.to/TonyB

Non nova, sed nove.


Post a reply to this message

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