How to render ocean wave using opengl in 3D? [closed]

℡╲_俬逩灬. 提交于 2019-12-29 05:00:08

问题


How to render ocean waves using opengl in 3D? Any reply will be welcome.

Edit:

Is there any source code that renders ocean waves but not using an other sdk or api? It's difficult to learn how render it by read OSG source code maybe. So any tutorials about it will be ok, it is very good that it attach the source code.


回答1:


Christian (above) is right. Currently your question is very broad and difficult to answer. You might want to do some research yourself and then ask a more targeted question.

Start looking at shallow water equations for example. (I'm skipping full fluid simulations here for the moment) Or read Tessendorf's "Simulating Ocean Waves". Or have a look at Cem Yuksel's wave particles. Even if you don't end up implementing any of it, the references will be a good resource for you. Another one might be this collection of links.

Not really a clear answer, but give us more to go on and we can point you in a more specific direction.




回答2:


Rendering realistic looking water is extremely difficult. Luckily there are tools to make it easier, like OSGOcean, which can render some quite impressive waves.



来源:https://stackoverflow.com/questions/6716887/how-to-render-ocean-wave-using-opengl-in-3d

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!