POV-Ray : Newsgroups : povray.binaries.images : My first (working script) : Re: My first (working script) Server Time
18 Aug 2024 08:22:50 EDT (-0400)
  Re: My first (working script)  
From: Freddy D 
Date: 13 May 2001 13:20:01
Message: <3afec241$1@news.povray.org>
// init
#declare trans_value = 50;

#while (<some test here>)
  #declare trans_value = 50 - trans_value;
  object { <good object here> translate <trans_value,0,0> }
  #end  // end while

assuming the bricks are line-up to x axis..

-- 
FD aka Freddy D. aka Prof D.
Pro### [at] wanadoofr
http://profd.est-ici.org


Post a reply to this message

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