PDA

View Full Version : Help - material properties



Ady
10-27-2000, 03:36 AM
Hi guys!

I'm trying to display an object (a cube for example) made of wood-like material in a directional light source. When I start to rotate the camera around the cube, the faces of the cube are changing their color (becaming darker or lighter) even if the light is in the same position relative to the cube. As far as I know, the colors should remain the same because the angle between the face and the light doesn't change!

I would appreciate a lot any kind of suggestion that could help me to fix this problem.

Best regards,

Adrian Danila

butthead
10-27-2000, 05:20 AM
reposition your light everyframe after u postion you (camera)

julien
10-27-2000, 05:41 AM
I do use material properties and lights, and I've never noticed such a problem. But I know that some effects change with the point of view, like the specular effect. So you may notice a big change if you move the point of view while your object has big specular componants.

That's just an idea, it may mean nothing http://www.opengl.org/discussion_boards/ubb/wink.gif