POV-Ray : Newsgroups : povray.general : Disc which is not flat : Re: Disc which is not flat Server Time
7 Aug 2024 13:18:47 EDT (-0400)
  Re: Disc which is not flat  
From: Warp
Date: 2 Dec 2001 14:03:50
Message: <3c0a7b16@news.povray.org>
Dave Dunn <poi### [at] aolcom> wrote:
: if I can translate x*3, and rotate x*3, that I should be able to scale x*3
: without generating an error or a warning.

  The problem with your thinking is that you talk as if the "x*3" was a
"shortcut" property of "translate" or "rotate", when it actually isn't.
"translate x*3" just happens to work because "x*3" is defined to expand to
"<3,0,0>", which is ok for translate. However, the "x*3" has nothing to do
with the translate command itself. Thus you can't expect the same trick to
work with other commands which require a different syntax to work.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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