POV-Ray : Newsgroups : povray.general : Disc which is not flat : Re: Disc which is not flat Server Time
7 Aug 2024 11:23:12 EDT (-0400)
  Re: Disc which is not flat  
From: Ron Parker
Date: 30 Nov 2001 22:20:21
Message: <slrna0gj3o.ht.ron.parker@fwi.com>
On Fri, 30 Nov 2001 21:24:42 -0500, Dave Dunn wrote:
> to maintain consistency at the user level (I keep hearing that things should
> hold true in every case, a scale of our object along y by 2 should be able to
> be written "scale y*2," returning the defaults, for an equivalent expression of
><1,2,1>. 

But "y*2" is defined as <0,2,0>, regardless of where it's used.  If scale
wants to assume that any component that's specified as 0 is really 1, that's
fine, but any mumbo-jumbo about "defaults" is sure to confuse anyone who
really thinks about it, and a warning would be nice for the cases where it
wasn't expected.

Maybe what we need is a switch to turn off that warning, but that's not
likely to happen til 4.0.

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

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