Game Development Community

Ovean trouble

by Caleb · in Torque Game Engine · 06/13/2006 (10:41 am) · 5 replies

[Ocean Trouble not Ovean]

Here's a problem that I have recently found. I got my ground level at 50 and under water level at 35. when I get my water into place and sized up, But when go to lower so it will be just under the ground level, it disappears.

It's realy frustrating especially since I made an ocean and two lakes on another map.
I don't know what I'm doing wrong so any help would be great.

#1
06/13/2006 (10:45 am)
Try changing your waterblock scale on the Z axis, and move the waterblock accordingly.

Edit: Nevermind I misunderstood.
#2
06/14/2006 (8:39 am)
I think that the problem is I needed a bigger world so I changed my grid size to 16 instead of 8. If I can't fix my water I'll try to find some way of loading two different haves of my world. I would like to be able to have just one seamless world complete with water. So if someone has a fix for this problem please post.
#3
06/14/2006 (10:29 am)
Caleb,

I think I just figured out what you were describing. For performance reasons, TGE doesn't render water directly under terrain. The assumption is if a bit of water is under the landscape, it doesn't need to be drawn on the screen. However, this seriously limits the types of subterranian caves you can build.

If you're comfortable with making engine changes, you might look at the water rendering code and find out what hides water under terrain. Or you might be able to ask Josh Ritter about it. I seem to recall that he was able to create underground rivers and lakes with some code changes.

Hopefully, that's the problem you were encountering.

Aaron E.
#4
06/14/2006 (12:32 pm)
This actuly helps! You see, i found a way to fix the problem on this page by leaving my grid size at 8, cut my player size by 50% and making his movement speed 5. That way I don't get the freaked out water.

However I was just about to post a something about what you just described (not being able to do under ground water). I'm pretty sure that I'll figure out how to edit the code.

Thanks Aaron!
#5
06/14/2006 (2:20 pm)
Cool. Glad to help out. By the way, I would love to hear how this goes for you, once you start digging into the code.