|
![](/i/fill.gif) |
PoD <pod### [at] merlin net au> schrieb im Beitrag <35D### [at] merlin net au>...
> Daniel Sullivan wrote:
> >
> > Hi there-
> >
> > I'm trying to create a 'screen' for my povray bong using tori.
> > At the same time I'm trying learn how to use povrays programming
> > directives so I do'nt have to write so many lines of code.
> > I'm including the code I've already written so you can see what I'm
> > attempting to do.
> >
> > [SNIP]
> >
> > sig### [at] hotmail com
> > http://www.geocities.com/SoHo/1006
>
> [SNIP]
>
> #declare a = .1 #while(a < 1)
> object{b_ring scale cos(asin(a)) translate y*a }
> #declare a = a+.1 #end
>
Wouldn't:
#declare a = 0.1
#while( a < 1 )
object{ b_ring scale 1 - a translate y * a }
#declare a = a + 0.1
#end
be a lot easier to read (and understand)?
--
Best regards,
_ __ _ , _ _ _
' ) ) / _/_ ' ) / ' ) ) )
/--' ____/___/> __ / /--/ / / / __,_ __ o _ ______
/ \_(_) /_) (__/ (_<__ / ( o / ' (_(_) (_/ (_<_/_)_(_) / <_
Robert H. Morrison Tel: +49 721 9628 167
Software Development, Basis Team FAX: +49 721 9628 261
Hitex-Systementwicklung GmbH Email: RMorrison@hitex.de
Post a reply to this message
|
![](/i/fill.gif) |