- #1
Liquid7800
- 76
- 0
Hi,
I am just finished my Calc II class and a programming class and I am trying to write a computer graphics shader...
My goal is to model this scenario:
"Imagine a brick wall standing on a plane --- a shadow will be cast depending on the light source" ---my goal is to model the dispersion of the shadow (area?) at the point of intersection between the wall and ground plane.
Eventually I want to eliminate the light source from the equation and control through variables the amount of shadow dispersion...a kind of faux shadow shader based on object intersections.
Problem is I've learned how to solve a lot of calculus problems and math problems in general...but I've had trouble modelling them (especially in 3 dimensions)...and this is the area I really want to break into, and where I think an example could really help me get started.
Can anyone help me get started or at least point me in the right direction with the mathematics I may need? Thanks in advance...
I am just finished my Calc II class and a programming class and I am trying to write a computer graphics shader...
My goal is to model this scenario:
"Imagine a brick wall standing on a plane --- a shadow will be cast depending on the light source" ---my goal is to model the dispersion of the shadow (area?) at the point of intersection between the wall and ground plane.
Eventually I want to eliminate the light source from the equation and control through variables the amount of shadow dispersion...a kind of faux shadow shader based on object intersections.
Problem is I've learned how to solve a lot of calculus problems and math problems in general...but I've had trouble modelling them (especially in 3 dimensions)...and this is the area I really want to break into, and where I think an example could really help me get started.
Can anyone help me get started or at least point me in the right direction with the mathematics I may need? Thanks in advance...