|
|
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "David Kraics" <bar### [at] aolcom> wrote:
> > Ok. bear with me. I know I should know this, and it is really basic, but between
> > my meds and my state of mind, I can't think of it.
> >
> > I created this object
> > #declare floorframe = box{<0.283031,-0.001781,-0.001781>,
> > <0.283031,0.001781,0.501781>}
> >
> > and starting at
> > object{floorframe translate<0,1.570883,0>}
> >
> > I am placing them downwards in increments of 0.032059
> > until it stops at 0 or thereabouts (not below).
> >
> > I actually crunched out 20 numbers until I remembered there is a way to do it
> > using steps, but God help me I can't remember how. Can you help me out?
>
> guessing you're thinking of '#for' loop.
>
> <https://wiki.povray.org/content/Reference:Conditional_Directives#The_for_Directive>
>
>
> regards, jr.
Ok I tried with
#for (ff,1.570883,0,-0.032059)
object{floorframe translate<0,ff,0>}
#end
and there is no object. I thought that maybe it just moved one object downward
but it doesn't show at all.
Post a reply to this message
|
|