如何在3D使用的OpenGL渲染海浪?海浪、如何在、OpenGL

2023-09-07 21:59:25 作者:浅夜微光昼未至ㄨ

如何在3D使用的OpenGL渲染海浪?任何答复将受到欢迎。

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

编辑:

有没有源$ C ​​$ C呈现碧波荡漾,但不能使用其它SDK或API?这是很难学会如何通过读OSG源$ C ​​$ C,也许渲染。因此,任何关于它的教程将确定,这是非常好的,它附加源$ C ​​$ C。

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 (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的模拟海浪。还是看看杰姆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.