POV-Ray : Newsgroups : povray.general : 2^3*4^4: quick what is it? : Re: 2^3*4^4: quick what is it? Server Time
8 Aug 2024 22:12:12 EDT (-0400)
  Re: 2^3*4^4: quick what is it?  
From: Ron Parker
Date: 30 Nov 2000 18:29:57
Message: <slrn92dono.l61.ron.parker@fwi.com>
On Thu, 30 Nov 2000 15:27:06 -0800, Ken wrote:
>
>
>Warp wrote:
>
>>   For example, I bet that this:
>> 
>> sphere { <1,2,3>*.25, 10*.25 }
>> 
>> tells you more about what is happening than this:
>> 
>> sphere { <.25, .5, .75>, 2.5 }
>
>That is an absurd presumption. Why should I have to sit here and
>mentally calculate values when absolutes are instantly readable ?

Which is more readable and conveys my intent better?

color_map {
  [ 1/7 color red 1 ]
  [ 1/7 color red 1 green .5]
  [ 2/7 color red 1 green .5]
  [ 2/7 color red 1 green 1]
  ...
}

or

color_map {
  [ 0.14285714 color red 1]
  [ 0.14285714 color red 1 green .5]
  [ 0.28571428 color red 1 green .5]
  [ 0.28571428 color red 1 green 1]
  ...
}

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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