Web GL Ocean Simulation
david.li
Web GL Ocean Simulation
1–10 of 138 posts
Re: Web GL Ocean Simulation
#2If anyone is interested in playing around with it, I threw it up at JSFiddle here: http://jsfiddle.net/zyAzg/
Excellent demo.
Re: Web GL Ocean Simulation
#3BTW geistner waves reference here: http://http.developer.nvidia.com/GPUGems/gpugems_ch01.html
Re: Web GL Ocean Simulation
#4Re: Web GL Ocean Simulation
#5The code is quite cool to look at. Love seeing the extensive use of matrices and mathematics to create such a beautiful and mesmerizing display. If anyone is interested in playing around with it, I threw it up at JSFiddle here: http://jsfiddle.net/zyAzg/ Excellent demo.
Re: Web GL Ocean Simulation
#6Re: Web GL Ocean Simulation
#7Is that some sort of fluctuating perlin noise?
Re: Web GL Ocean Simulation
#8Sorry if this is a dumb question, but how hard would it be to add a boat that realistically bobs up and down with the water?
Re: Web GL Ocean Simulation
#9It would've been nice to have an 'I don't care, proceed anyway' button. The check excludes Safari 7, which runs the demo just as well as Chrome.
^ removes the hasWebGLSupport() invocation.
Very nice demo, though!
Re: Web GL Ocean Simulation
#10Sorry if this is a dumb question, but how hard would it be to add a boat that realistically bobs up and down with the water?
But there is a better way of doing interactive waves from a boat, wave particles:
http://www.cemyuksel.com/research/waveparticles/waveparticle...