Graphics3D 800,600 SetBuffer BackBuffer() pivot=CreatePivot() PositionEntity pivot,0,0,0 camera=CreateCamera(pivot) CameraRange camera,0.1,1000 CameraZoom camera,0.01;.4 PositionEntity camera,0,15,-15 RotateEntity camera,45,0,0 CameraProjMode camera,2 light=CreateLight(1) PositionEntity light,0,0,-500 AmbientLight 150,150,150 Global tank=CreateCube() PositionEntity tank,0,-15,0 ;EntityType tank, TANKA ScaleMesh tank,0.10,2,0.10 terrain=CreateCube();LoadMesh("C:\My Documents\Models\25x25 Texture.3DS") ScaleEntity terrain,5,0.001,5 ;EntityFX terrain,34 While Not KeyDown(1) TurnEntity pivot,0,0.1,0 x=x-MouseXSpeed() y=y+MouseYSpeed() MoveMouse 400,300 If x=>800 Then x=799 If x<0 Then x=0 If y=>600 Then y=599 If y<0 Then y=0 MoveEntity tank,0,0.1,0 MoveEntity terrain,0,-0.01,0 UpdateWorld RenderWorld Flip If KeyDown (57) Then Delay 500 Wend
Why in the orthographic projection mode does it not look like the cube called "tank" not look like it is passing through the ground as it clearly does on the perspective view?