water simulation
Name: Water Simulation
Language: C/C++
API: OpenGL
Platform: Windows
This was a really fun project to work on. The main idea for the movement of the water came
from one of my favorite sites on the net:
The good-looking textured light-sourced bouncy fun smart and stretchy page.
Once I got the water moving correctly the next step was to get some form of texturing working on it.
For the water colour I multi-textured the floor of the pool with a fake sky. This is done by constantly taking the look
vector and bending it by the refractive index of water
and noticing where this vector now intersects with the wall off the pool.
Here is a screen shot of the project.
I really encourage anyone to try this type of a project, it is really very rewarding. If anyone would like more
information then the very little that I provided, please contact me corey(at)coreyauger.com.
|