如何在 3D 中使用 opengl 渲染海浪? [英] How to render ocean wave using opengl in 3D?

查看:36
本文介绍了如何在 3D 中使用 opengl 渲染海浪?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 3D 中使用 opengl 渲染海浪?欢迎任何回复.

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

是否有任何源代码可以渲染海浪但不使用其他 sdk 或 api?可能很难通过阅读 OSG 源代码来了解如何渲染它.所以任何关于它的教程都可以,附上源代码非常好.

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.

推荐答案

Christian(以上)是对的.目前你的问题非常广泛,很难回答.您可能想自己做一些研究,然后提出更有针对性的问题.

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.

例如,开始查看浅水方程.(我暂时在这里跳过完整的流体模拟)或者阅读 Tessendorf 的模拟海浪".或者看看 Cem Yuksel 的波粒子.即使您最终没有实现其中的任何一个,这些参考资料对您来说也是一个很好的资源.另一个可能是此链接集合.

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.

这篇关于如何在 3D 中使用 opengl 渲染海浪?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆