Here is some Code i made if anyone is having trouble with this command.
Use the Arrow keys to move the Camera.
` Sync On
sync on
` Set sync rate to 60
sync rate 60
` Make Cameras
Make Camera 1
Make Camera 2
` Create Scene
For x=1 to 100
Make Object Cube x,10
Position Object x,Rnd(1000),0,Rnd(1000)
Next x
` Set 2nd Camera to colour backdrop
Set Current Camera 2
` Colour Backdrop
Color Backdrop RGB(0,128,255)
` set Camera 1 to view
Set Current Camera 1
` Colour Backdrop
Color Backdrop 0
` Make object to texture with Camera
Make Object Cube 101,20
` Seta Camera to image. The image width and height has to be a factor of 2.
` E.g 1024x1024 512x512 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2
Set Camera To Image 2,1,512,512
` Point camera at object 101
Point Camera 1,0,0,0
` Texture object 101 with the image we set the camera to
Texture Object 101,1
` begin loop
Do
` move camera 2 forward if upkey is pressed. (Camera 2 is the camera that is sent to the texture. Camera 1 is the current
` Camera that we are viewing through)
if upkey()=1 then move camera 2,1
` Move camera 2 backwards if downkey is pressed
if downkey ()=1 then move camera 2,-1
` Rotate camera on the Y axis by the value of Y
yrotate camera 2,y
` Decrease Y by the value of 1 if leftkey is pressed
if leftkey()=1 then dec y
` Increase Y by the value of 1 if Rightkey is pressed
if rightkey()=1 then inc y
` Inc Y2# by the value of 0.1
inc y2#,0.1
` Rotate object 101 by the value of Y2#
yrotate object 101,y2#
` Refresh screen
sync
` Close loop
Loop
Tell me if this has helped anyone
SSDD
Same Sh** Different Day