POV-Ray : Newsgroups : povray.animations : alternating objects depending on Z value of spline vector animation : Re: alternating objects depending on Z value of spline vector animation Server Time
20 Apr 2024 00:13:04 EDT (-0400)
  Re: alternating objects depending on Z value of spline vector animation  
From: omniverse
Date: 20 Sep 2010 12:35:00
Message: <web.4c978cd878c97e55d939a6800@news.povray.org>
"CAD-Andi" <nomail@nomail> wrote:
> "omniverse" <omn### [at] charternet> wrote:
>
> > > #if (Z-value of Spline_1(clock) is less or equal 1000 ) // Is something like
> > > this possible? If yes, how?
> > >  object {TARGET translate Spline_1(clock)}
> > > #else
> > >  object {TARGET2 translate Spline_1(clock)}
> > > #end
> >
> > I think this might be what you're looking for.
> >
> > #if (Spline_1(clock).z <= 1000)
>
> Thanks! Somehow I knew stuff like this is easy in SDL. At least for someone who
> knows what he is doing :-)

YW! Heh, if only I knew what I was doing in POV-Ray most the time. I seem to
remember a fraction of what I learn.

Bob


Post a reply to this message

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