Results 1 to 5 of 5

Thread: Water

  1. #1

    Water

    How to make a very simple water in opengl with small waves (like a sinus function)?
    regards Nergal

  2. #2
    Senior Member Regular Contributor
    Join Date
    Oct 2002
    Location
    King George, Virginia
    Posts
    132

    Re: Water

    opengl doesn't have functionality to simulate such things. you have to create the water yourself. look on google for a water tutorial. but a simple case would prolly use a transparent blu-ish mesh. something like a heightfield, where you can adjust the y values of the coords in the mesh dynamically to simulate waviness.

    jebus

    [This message has been edited by jebus (edited 11-04-2002).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Aug 2002
    Location
    Tulsa,OK
    Posts
    113

    Re: Water

    What is a sinus function is that the one that draws your nose?

  4. #4
    Senior Member Regular Contributor
    Join Date
    Oct 2002
    Location
    King George, Virginia
    Posts
    132

    Re: Water

    the sinus functions are part of the realm of mathematics known as boogernometry

    jebus

  5. #5
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Water

    That is a good one....




    Originally posted by jebus:
    the sinus functions are part of the realm of mathematics known as boogernometry

    jebus

Similar Threads

  1. Water
    By SionFly in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 09-20-2010, 06:34 AM
  2. water
    By Sabonis in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-01-2005, 07:50 PM
  3. Water
    By c_olin in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 04-17-2004, 06:45 AM
  4. once again water..
    By JanHH in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 01-03-2004, 06:31 PM
  5. Water
    By Andrea Rossini in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-05-2003, 06:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean