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
26 Apr 2024 22:35:35 EDT (-0400)
  Re: alternating objects depending on Z value of spline vector animation  
From: CAD-Andi
Date: 20 Sep 2010 07:20:00
Message: <web.4c9742d378c97e55fdfcf7500@news.povray.org>
"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 :-)

Cheers!
Andi


Post a reply to this message

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