|
|
#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
|
|