PDA

View Full Version : Draw seasurface



illuminator
10-09-2006, 03:47 AM
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

Nychold
10-09-2006, 04:26 AM
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.