For me, going through wikipedia article on phong and working out the math with my friends (instead of just blindly translating the equations to code) really helped me understand the basics.
In order to learn more (I admittedly know very little about anything other than the phong model - the other friend is much more knowledgable), I presume either a textbook or a course notes like this https://www.student.cs.uwaterloo.ca/~cs488/notes.pdf will probably help.
Hi, I worked on this project as well. I tried it on Windows, it ran without issues. If you run 'go run src/main.go', it should create output.png in the current directory. Then you should be able to run 'explorer output.png' to view the image.
[+] [-] ppymou|11 years ago|reply
[+] [-] 856dfiuk|11 years ago|reply
[+] [-] ppymou|11 years ago|reply
In order to learn more (I admittedly know very little about anything other than the phong model - the other friend is much more knowledgable), I presume either a textbook or a course notes like this https://www.student.cs.uwaterloo.ca/~cs488/notes.pdf will probably help.
[+] [-] pavlov|11 years ago|reply
http://www.pbrt.org
[+] [-] drewmate|11 years ago|reply
[+] [-] jackhxs|11 years ago|reply
[+] [-] ppymou|11 years ago|reply
You should see an output.png if it run successfully in the same folder.
Sorry, no easy access to a windows right now, but I will try it out on when I get a chance.
[+] [-] _ph_|11 years ago|reply
[+] [-] ppymou|11 years ago|reply
[+] [-] jackhxs|11 years ago|reply
[+] [-] mazeway|11 years ago|reply
[+] [-] not_with_retard|11 years ago|reply
[deleted]