Setting up OpenGL Materials

D046712cf3efd2c2d7840c4c51d28669
0
Yau 101 Feb 28, 2003 at 01:14

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.

2 Replies

Please log in or register to post a reply.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Mar 14, 2003 at 18:37

well, normally setting up material values is part of the artists job, and he reads/exports them directly from his prefered 3d application, say 3dsmax or so..

590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 Mar 15, 2003 at 07:37

Or blender.
Even that is fine. Otherwise you will have a nightmare trying to assort those UV mapping and XY corodinates. Besides that other things like the color of the pixels also give you a bad time.
You could try using
GMAX if u are comfortable with 3DS Max only.
Besides that you might also try Cg if you go a little further for pixel/vertex shading.