- Joined
- Mar 1, 2013
- Messages
- 555
Greetings everyone
I decided to continue with this project. I know that there is libraries out there to help me but I want to create my own one mostly for the fun of it and to get a better understanding of how it works.
I'm currently stuck on applying light to a surface. I want to create a light source at a target location and make nearby surfaces brighter according to the angle between the light source, surface and camera. Can anyone please help me out with the math to do it?
Anyway here is a new version of the program
- needs MS visual studio '10+ to compile.
I decided to continue with this project. I know that there is libraries out there to help me but I want to create my own one mostly for the fun of it and to get a better understanding of how it works.
I'm currently stuck on applying light to a surface. I want to create a light source at a target location and make nearby surfaces brighter according to the angle between the light source, surface and camera. Can anyone please help me out with the math to do it?
Anyway here is a new version of the program