POV-Ray : Newsgroups : povray.binaries.animations : read / write array's from / to disc ? : Re: read / write array's from / to disc ? Server Time
17 May 2024 04:48:15 EDT (-0400)
  Re: read / write array's from / to disc ?  
From: Le Forgeron
Date: 28 Nov 2010 09:49:24
Message: <4cf26bf4$1@news.povray.org>
Le 28/11/2010 14:41, Blua Tigro nous fit lire :
> i cut and paste a part of a example
> to move 1 bal whit phisics
> 
> but how do you do this
> whit a array of bal's ?

With a loop:
//assuming Position & Velocity are arrays
#local idx=0;
#while (idx < dimension_size(Position,1))
#write (Previous, Position[idx],",",Velocity[idx],"\n");
#local idx=idx+1;
#end


Post a reply to this message

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