PDA

View Full Version : Setting up OpenGL Materials


Yau
02-27-2003, 06:16 PM
I was wondering if there exists a resource on the internet that can help me decide what values to set my OpenGL materials??

For example, if I wanted a varnished wooden table what values should I use for the specular colour, ambitient colour, diffuse colour, shininess and emmission??

This would be useful because I spend lots of time tweaking material settings to get the right look and feel for my objects. If there was such a resource this would be sooooo helpful as a starting point.

void
02-27-2003, 07:16 PM
I cant say exatly where but there definitely exists such a resource. I remember i was reading a book on 3D programming, something like 3D Graphics Programming with openGL, or something, and they had such a reference, otherwise, google it.