Let's find out:
Graphics3D 800, 600
GridSize = 10
CameraLimit = GridSize * GridSize
Width = 800 / GridSize
Height = 600 / GridSize
Dim Cam( CameraLimit )
For X = 0 To GridSize - 1
For Y = 0 To GridSize - 1
C = C + 1
Cam( C ) = CreateCamera()
CameraViewport Cam( C ), Width * X, Height * Y, Width, Height
Next
Next
Light = CreateLight()
Cube = CreateCube()
PositionEntity Cube, 0, 0, 4
Repeat
TurnEntity Cube, 1, 1, 1
UpdateWorld
RenderWorld
Flip
Until KeyHit( 1 ) With a GridSize of 10 producing 100 cameras, this runs fine. With a GridSize of 100 producing 10,000 cameras, it still runs (though quite slowly) and the cubes are understandably rather hard to see <g>.
How many cameras do you need?
|