Game Development Community

Underwater camera bug

by Ian Omroth Hardingham · in Torque Game Engine · 03/13/2005 (9:59 am) · 9 replies

Hey everyone.

Pretty simple problem. With my camera underwater, at certain angles the underwater filter isn't applied. I think this is a general Torque problem, but I've searched around and come up with nothing. Has anybody fixed this? I took a half hour look through the code but this area seems a bit oblique.

Ian

#1
03/13/2005 (10:08 am)
This happens to me mostly in deep water and in interiors. I could use some help to.
#2
03/14/2005 (4:26 am)
Bump: surely someone has looked into this, or have no Torque games been released where you can go underwater?

Ian
#3
03/14/2005 (5:11 am)
There are numerous of stuff that has been released with changes to the engine, but not all changes are feasible to pick out and some just don't want to release them. Take this as an example, and maybe vehicle physics.

I'm sure there is a workaround for this problem though, with the fog that is applied underwater. Is your terrain resized down to lesser segments per kilometer?
#4
03/14/2005 (5:38 am)
Hi Stephan.

I haven't resized the terrain. I'm really drawing a blank on this one, I can't even find where the filter is being applied.

Ian
#5
04/06/2005 (9:01 am)
I'm noting this too, inndeep water and near an open water edge (edge of map)
#6
04/06/2005 (11:34 am)
If you can't see the water, the filter won't be applied...
#7
04/06/2005 (11:37 am)
My understanding of this same problem was that the z for the water was not extending far enough down, ergo you are standing UNDER the water block. Anyways making the z axis of the water a bit bigger solved the problem for me.
#8
04/06/2005 (2:16 pm)
.
#9
05/08/2006 (7:31 am)
For the record, making your water block start waaaaay below the terrain, as Dreamer says, works fine.

Ian