If you've got a minute run this ...
Can someone please explain why, when you move the sphere into the screen that the color switches to being much darker so quickly ? I've tried various camera ranges etc.. with no joy. I was beginning to think this was a bug .. please prove me wrong!!
Graphics3D 640,480,16,1 mirror = CreateMirror() PositionEntity mirror,0,-.1,0 plane = CreatePlane() PositionEntity plane,0,-.1,0 EntityColor plane,50,100,50 EntityAlpha plane,.75 light = CreateLight() RotateEntity light,30,-45,0 camera=CreateCamera() CameraZoom camera,6.75 PositionEntity camera,0,250,-250 PointEntity camera,plane ground = quad() ScaleMesh ground,45,1,45 EntityColor ground,50,50,100 EntityBlend ground,3 sphere = CreateSphere() PositionMesh sphere,0,1,0 ScaleEntity sphere,4,4,4 EntityAlpha sphere,.5 UpdateNormals sphere EntityShininess sphere,1 While Not KeyDown(1) TranslateEntity sphere,( KeyDown(205)-KeyDown(203) )*.25,0, (KeyDown(200)-KeyDown(208))*.25 RenderWorld() Flip Wend Function quad( parent=0, rx=0 ,s#=1 ) mesh=CreateMesh(parent) surface=CreateSurface(mesh) AddVertex surface,-1,0,1,0,0 AddVertex surface,1,0,1,1,0 AddVertex surface,1,0,-1,1,1 AddVertex surface,-1,0,-1,0,1 AddTriangle surface,0,1,2 AddTriangle surface,2,3,0 RotateMesh mesh,rx,0,0 ScaleMesh mesh,s,s,s Return mesh End Function
Can someone please explain why, when you move the sphere into the screen that the color switches to being much darker so quickly ? I've tried various camera ranges etc.. with no joy. I was beginning to think this was a bug .. please prove me wrong!!