How to render ocean wave using opengl in 3D?

11,630

Solution 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.

Solution 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.

Share:
11,630
user399955
Author by

user399955

Updated on June 04, 2022

Comments

  • user399955
    user399955 almost 2 years

    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.

  • Waylon Flinn
    Waylon Flinn over 12 years
    This is a fantastic answer to this question.
  • zionpi
    zionpi about 11 years
    Thanks for your answer.
  • guillaume guerin
    guillaume guerin almost 8 years
    The OSGOcan project has moved to github : github.com/kbale/osgocean