## Water level vs. terrain Y value

Started by 3DGuy, December 29, 2006, 02:03:46 pm

#### 3DGuy

##### December 29, 2006, 02:03:46 pm
Why doesn't these 2 correspond? I've got a terrain and with the mouse I point to a spot thinking that is the level I want the water to be at, I take a note of the Y value and then add a lake object and enter that Y value. Surprise surprise, the water isn't where I want it. I had to move the water way up guessing where it would end up.

Am I misunderstanding the water level setting or am I reading the wrong terrain value.. or is this just a bug?

#### Irmisato

##### December 29, 2006, 05:25:04 pm #1
If the camera is far away, the Y-meters arent so exactly, you have to point three or five places at the same height (or what you think, what's the same), then you come quite nera to the point you expect.
The nearer the camera to the terrain, the exacter you will get the points.

But this is just my personal experience, maybe there is a trick, that I still don't know.

#### 3DGuy

##### December 29, 2006, 05:35:36 pm #2
Here I got right down to the watersurface and close to the wall. I placed the cursor where the + is because the mousepointer doesn't show up with printscreen. See the difference in values

Edit: whoops forgot to show the image

#### Tim O'Donoghue

##### December 29, 2006, 10:42:55 pm #3
I've seen the same issue with water. The value entered to get visible water is roughly double the value shown in the preview window. In my case the value showed as 228 meters and I had to enter 538 to get water visible at that level.

#### Matt

##### January 02, 2007, 05:05:59 pm #4 Last Edit: January 02, 2007, 05:09:18 pm by Matt
The difference is due to the curvature of the planet. If you look at the X and Z values you will see that you are tens of kilometres away from "ground zero". At these distances, the Y coordinate is no longer the same as the "altitude". The Y coordinate decreases as the surface curves downwards.

If you look at the Y coordinate for the lake centre you will see that is much closer to the value in the preview readout, because the lake centre in your scene is much closer to where your mouse is pointing.

To help in these situations we will need to add an altitude readout, not just X Y Z.

Matt
Just because milk is white doesn't mean that clouds are made of milk.