POV-Ray : Newsgroups : povray.general : guys could you help me out once more? : guys could you help me out once more? Server Time
28 Apr 2024 03:38:47 EDT (-0400)
  guys could you help me out once more?  
From: Jay
Date: 21 Aug 2017 01:15:00
Message: <web.599a6b3a829a71901d2cb5f70@news.povray.org>
#declare numofpic = 100;
#declare shift = 1;

#declare X=numofpic;

#declare X5=array [X] { #for (i,0,numofpic^(1/2)[,shift]) i*shift, #end};

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

i don't care about the Y5,i think i can do that by myself if i knew how to make
X5.

X5 is like there should be 'numofpic' of numbers. for example
if numofpic is 100 and shift is 1,

X5 is like
{1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,```,10,10,10,10,10,10,10,10,10,10};

idk how to put the #for to array structure. plz help me. i appreciate.


Post a reply to this message

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