POV-Ray : Newsgroups : povray.general : guys could you help me out once more? : Re: guys could you help me out once more? Server Time
27 Apr 2024 20:41:06 EDT (-0400)
  Re: guys could you help me out once more?  
From: Jay
Date: 24 Aug 2017 01:30:00
Message: <web.599e640561def543692574d10@news.povray.org>
#declare numofpic = 100;
#declare shift = 1;

#declare X=numofpic;
#declare Y=numofpic;


#declare X5=array [X]
{1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7
,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10};



#declare Y5=array [Y]
{1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,
6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10};




#declare Cam3 = camera {
  location <30,20-Y5[frame_number],5+X5[frame_number]>
  look_at  <0,10-Y5[frame_number],5+X5[frame_number]>                //
orthographic

 }

this is the full code i originally made.
and i wanna make this as simple as possible.

i wanna change whole arrays by just changing shift and numofpic


Post a reply to this message

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