Posted: 8th May 2003 01:53
Does anyone have a demo program showing the creation of 2 cameras with 2 separate viewports in 1 window, looking at the same scene?
I can't for the life of me get this to work.
Here's the code I am trying to make work:
set window layout 1,0,0
set window size 400,200
sync on
make camera 1
make camera 2
set camera view 1,0,0,200,200
set camera view 2,200,0,400,200
point camera 1,0,0,0
point camera 2,1,0,0
position camera 1,0,0,10
position camera 2,1,0,10
make object box 1,1,1,1
position object 1,0,0,0
do
y=y+1
rotate object 1,0,y,0
set current camera 1
sync
set current camera 2
sync
loop