Posted: 24th Feb 2008 14:28
Can someone explain to me why this
dbMakeObjectPlane(17, 1000, 1000 );
dbPositionObject ( 17, 0, -50, 400 );
dbRotateObject ( 17, -90,0,0 );
dbSetAmbientLight( 12 );
dbMakeLight(1);
dbSetPointLight (1, 100, 800, 100 );
dbColorLight ( 1, 200, 200, 255 );
dbSetLightRange ( 1, 70000 );
Results in the plane being illuminated a bright yellow, evenly across its entire area.
Whereas this...
dbMakeObjectPlane(17, 1000, 1000 );
dbPositionObject ( 17, 0, -50, 400 );
dbRotateObject ( 17, -90,0,0 );
dbSetAmbientLight( 12 );
dbMakeLight(1);
dbSetPointLight (1, 100, 800, 100 );
dbColorLight ( 1, 200, 200, 255 );
dbSetLightRange ( 1, 70000 );