PDA

View Full Version : Phong Reflection Model


DenisK
24-Feb-2007, 18:54
http://rain.ifmo.ru/~kulagin/cg/phong_sh_blue.png

I am asking you to evaluate my work. I tried to implement Phong Reflection Model. Is it what it should be?

K.I.L.E.R
25-Feb-2007, 04:56
I cannot tell by looking at an image.
Show me some mathematics and I can tell you if it's correct.

IE:
"I calculated the reflection vector by R = 2(N.L).N - P"

Humus
25-Feb-2007, 05:24
Looks fairly phongish to me.
The picture reminds me of some of my first experiments in 3D coding in Pascal for DOS back in the day. I made something that looked almost exactly like that, except it was red and the lighting fake. Good ol' memories. I need to install Win98 again some day so I can run my old apps.