Wave system
I tried to speed up the wave process by using a sin table, unfortunately, my implementation needs a little optimizing. You can see this if you add more than two waves at a time. I have a few ideas to do this which I will be trying to implement this week. The waves work by grabbing their place on the sin table and then stepping back 25% to get the normal according to that point. This is normalized and scaled and there you have a wave. I think I might have screwed up the normals slightly in the scaling, but I'll look at that next week too. Press P to start the wave action, every time you click a new wave is generated in the middle. I want to add point selecting with the mouse, but I want to get the waves looking right and running smoothly first
The box is the light source btw
Controls:
movement, same as usual
p - toggle time
click - generates a new wave in the middle
Next Week: more of the same