Contrast due to scaling

Started by ErDetEnAnd?, March 05, 2008, 09:58:45 AM

Previous topic - Next topic

ErDetEnAnd?

Hello all!

First of all I'd like to appreciate the work that have made so intuitive 3D handling feasible in Java.

About my question:
Once an object is created in the world, a solid gray texture has been assigned to it and lights have been set up, the object shows to the camera like one could expect. I'm scaling the object to make a zoom effect when using the mouse. What I find strange is that the object appears brighter the closer the camera get (almost white), and darker as the distance grows (almost black).

I've tried to move the lights far away but no improvement.

Could someone explain what is happening, and how to avoid it?

Regards

EgonOlsen


JavaMan

Maybe you have two lights in the world, and one is behind the camera? Or your light is super bright, and you need to move it very far away to see any change in brightness?


ErDetEnAnd?

No fogging is enabled.

It seems to be the brightness of lights, and they are very very hard to control to give a good light so shapes looks realistic instead of a single color.

EgonOlsen

Do you have a test case or a screen shot? I'm not sure if we are taking about the same thing here... ???