Game Development Community

Minor water problem

by Alexander Porter · in Torque Game Engine · 09/26/2002 (4:49 pm) · 5 replies

ok i have been having this problem for a while- but i haven't done anything about it because it doesn't affect gameplay- until now- when i add water the water is not that white non-textures color. but instead it just looks like some grey mist or fog, as if the fog is there but not the water- and the area still acts like water- it just isn't textured anymore. i have tried the reload/save/relight stuff but no go- i've tried with the latest build of HEAD and melves water, still no go. anyone have this problem before?

#1
09/27/2002 (12:40 pm)
can anyone help me out here? now it will show but not in flood fill and i cant move the position- i move the position but then it goes back to where it was created.
#2
09/29/2002 (6:46 pm)
Can anyone help me here? atleast reply with a check so i know someone has read this. put a X if you have no idea what to do. otherwise plz respond.
#3
09/29/2002 (8:29 pm)
Alexander,
I think this thread will answer your questions:

7248

-Ed (HOW)

Sorry about the multiple posts of this reply. I had a bit of trouble with the markup lite. Odd.
OK, I'm an idiot. Figured out what I did wrong on the link. Hope this doesn't make you doubt my intelligence too much ;)
#4
09/30/2002 (1:11 am)
thanx for the try but that's not quite my problem. i have already tried those solutions but they didn't work. the water only appear in the individual waterblock size and can be post only where the camera spawned it at. i can resize it but it only resizes in a certain direction and i can not move the waterblock. each time i hit apply it returns to its first spot. the water mode- i forget which is which but maybe the remove wet edges mode in which there is unlimited water, the water only shows up as the grid and nothing else.

this only happens when i place water tho- the existing levels like waterworld are fine.
plz help
#5
10/05/2002 (1:35 pm)
Sorry. My day job has kept me from Torqueing for a few days now. On the one problem, "water moves back to original location when I hit apply", that is an odd bug that I have not figured out how to get around. Scenario is like this:

1. Move water with X-Y-Z axis by dragging
2. modify fields for other attributes
3. hit apply and zingo! water moves back to original spot.

The only way I currently know of getting around this is:
1. move water
2. click on terraion or other object
3. click on water again
4. make field edits
5. hit apply


What happens is that when you move the water, the fields don't get updated and the apply uses the old location values.

Regarding not resizing in certain directions. I've found that the water has another odd bug. It only wants to resize in certain increments.

Try resizing by increments of 32. I'm working on figuring this out but don't have a solution yet. Melv May probably knows this as well as others but I'm trying to figure it out without bugging them. I need to dig into the code more. Note also that the water will only re-size along X and Z. Y changes the depth of the water which has its own bugs. Specifically, a Y size of anything other that 1.0 has an odd effect that goes like this:

1. Make water (small pond)
2. change y to > 1.0
3. character walking on map elsewhere but parallel to water behaves as if it is underwater (slow)

Finally, I do use Y values > 1.0 because there is another bug. If you make a small water spot like a pond and the chacter is on the bottom of the pond and if you look at just the right angle, the water fog disappears. I believe what is happening here is that the engine thinks you are not in the water block (probably a rounding error or other math inconsistency). I solve the water fog problem by using a larger value of Y, but then I get the slowness problem.

In short, there are bugs and Melv May has produced a better water that may or may not work for your needs. I'm currently trying to get my head around the 1.1.2 water before I investigate Melv's.

Sorry for the long post. I hope some of this helps. Also, sorry for the delay in replying, but my day job is killing me.

-Ed

ps - editted to fix some typos. When I get this figured out I'll write up a couple of tutorials. I know this doesn't help you now, but future readers may see this post.