PDA

View Full Version : Cook Torrance metal shading algorithm


Mimus
12-21-2001, 10:36 PM
Hi,

Okay, I'm currently writing a Cook-Torrance metal shader plug-in for 3D Studio MAX, which is going well. I have implemented the main algorithm as in the paper.

What I am slightly unsure about, and need help from someone that knows... ;), is how light colour affects the colour of the specular highlight. At the moment the colour of the highlight mostly stays the colour of the metal and isn't affected too much by the colour of the lights. (I just wanted to know whether this was correct).

Also, second point relates to Index of Refraction. This changes between light wavelengths and I was wondering whether it was possible to find out what the IoR is for green light if you know what it is for red light....

thanks for any help. I'll post the plug-in here when it's finished.

Mike

Mauritius
12-30-2001, 03:37 PM
I think you would be best off, asking this question at the highend 3d render list.
It also has a web interface:

http://www.highend3d.com/render/listserver/

resp.
http://www.highend3d.com/render/archive/

cheers,

Moritz

CGTalk Moderation
01-13-2006, 01:26 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.