Game Development Community

Multiple water(blocks) heights

by Hans Voorbij · in Torque Game Engine · 02/28/2006 (7:26 am) · 4 replies

We are exploring the idea of making a real landscape in Torque. However we are trying to replicate a dutch landscape, which involves a lot of different water levels.

Our problem is that we can't really use seperate waterblocks because the rivers (which have a higher water level then the "polders") are flowing randomly trough the landscape. It wouldn't be a problem if they would be straight.

We need at least three different water levels. Is there a way to do this in TGE and if not can it be done in TSE ?

Greetings Paul Wiezer

About the author

Recent Threads


#1
02/28/2006 (8:40 am)
Im not sure i understand the limitation.

I have a river and a "sea" in my game boath are on difrent levels. Boath are waterblocks.

Mabye your river system is more complex than mine...
#2
03/01/2006 (1:54 am)
Well if i understand correctly you can only have square waterblocks. And then the problem is that we have rivers with a lot of turns and bends trough the landscape, but next to the river we also have small ditches with water. And because the waterlevel of the river is higher we can't use one big block cause then the water would appear above the waterlevel of the ditches.

I hope i made a bit more clear what the problem is.
#3
03/02/2006 (10:08 am)
Yes, you did.

well, your other option is to create your water using a mesh of some sort. Then using IFL or Animated UV's, you can animate the water. But, unless you find a way to code stuff back in, you will loose the underwater fog and the "splash" effect that you have when entering a water block. But, with a mesh, you still have a color map, and a reflection, transparency, and you could even enviroment map it.

This is the technique that i used for my waterfall.

also, have you played with "Remove wet edges" (or somthing like that) option for wate blocks? it wont fix your curvs issue...but its kind of neet.

Only otherthing i can think of, you dont HAVE to have square waterblocks, but it will distort the image you have as a texture, if you pre-distort, mabye you could work around the issue.
#4
03/06/2006 (2:17 am)
Oke i'm happy that it's possible.

However i've just started with Torque and don't have any idea on how to do that. Could you get me started with an example or a tutorial or at least some more background on how to do it ?

Thanks for helping me out.