Results 1 to 2 of 2

Thread: Draw seasurface

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2006
    Location
    Norway
    Posts
    3

    Draw seasurface

    Hi!

    I have a program where I draw the movements of an item in 3 dimensions. This can be a submarine, car of airplane.

    I would like to draw the sea surface all over my scene. I mean kind of a square all over the place where z=0. How can I do this?

    Thanks

  2. #2
    Member Contributor
    Join Date
    Nov 2001
    Posts
    77

    Re: Draw seasurface

    I'm not entirely sure if I get what you mean, but from the sound of it, you probably only need to draw a huge QUAD the color of the water over the dimensions of your world. OpenGL will crop and cull as needed.

    If you need to blend it, or texture it, you should be able to figure that out on your own.

Similar Threads

  1. Rendering terrain - multiple draw calls or draw whole VBO?
    By rakketh in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 07-19-2013, 02:26 PM
  2. How do I draw separate triangles (not attached) in one draw call?
    By Spankenstein in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-04-2012, 05:48 AM
  3. OSX 1.7 does not draw anything
    By Crashdog in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-08-2012, 11:14 AM
  4. another C++ guy wants to draw 3D
    By mrzhu in forum OpenGL: General
    Replies: 2
    Last Post: 11-09-2005, 12:31 AM
  5. Draw at 3D
    By GLman in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 06-05-2002, 05:25 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