<p>Having the horizon fall off is simply dropping the ground in the distance down somewhat.</p>

<p>A point $x$ km away if you follow the curve of the planet will be $r-r\cdot \cos \frac{x}{r}$ down and $r\cdot \sin \frac{x}{r}$ out horizontally where $r$ is the radius of the planet you are modeling (~6.3k km for earth). In the vertex shader you can account for that before you apply the view and projection matrix.</p>

CC BY-SA 3.0
2015-11-09T00:41:21.270Z
Can you give an example with a 3d modeling software ?
Valerio
CC BY-SA 3.0
2015-11-09T14:03:21.607Z
@Valerio this is not a forum for how to use modeling software.
joojaa
CC BY-SA 3.0
2015-11-09T00:13:20.613Z
2015-11-09T00:13:20.613Z
ratchet freak
<p>If I want to model a large environment, how can I solve the problem of earth curvature and horizon?</p>

<p>I use an environment map for the sky, but for the ground what can I do?</p>

<p>Do I have to model the ground with a big plane, disk or a spherical cap?</p>

<p>Is there a general procedure to solve this problem in computer graphics?</p>

CC BY-SA 3.0
2015-11-09T09:14:42.337Z
Following from your comment on the answer, could you clarify whether you want to know about a theoretical approach, how to achieve this programmatically or how to achieve this in modelling software? This Stack Exchange is specifically about computer graphics programming and theory. If your question is specifically about how to achieve the effect in modelling software, I'm afraid your question is off topic. It makes a good question as a general CG problem though.
Martin Ender
<3d>
Earth curvature and horizon in modeling large scenes
Valerio
# Earth curvature and horizon in modeling large scenes

(Asked by: username_0 on 2015-11-08)

If I want to model a large environment, how can I solve the problem of earth curvature and horizon?

I use an environment map for the sky, but for the ground what can I do?

Do I have to model the ground with a big plane, disk or a spherical cap?

Is there a general procedure to solve this problem in computer graphics?

**Tags:** 3d

> **Comments:**
> **username_1**: Following from your comment on the answer, could you clarify whether you want to know about a theoretical approach, how to achieve this programmatically or how to achieve this in modelling software? This Stack Exchange is specifically about computer graphics programming and theory. If your question is specifically about how to achieve the effect in modelling software, I'm afraid your question is off topic. It makes a good question as a general CG problem though.  

---

## 1 answers

### Answer by username_2 on 2015-11-09. Score: 6

Having the horizon fall off is simply dropping the ground in the distance down somewhat.

A point $x$ km away if you follow the curve of the planet will be $r-r\cdot \cos \frac{x}{r}$ down and $r\cdot \sin \frac{x}{r}$ out horizontally where $r$ is the radius of the planet you are modeling (~6.3k km for earth). In the vertex shader you can account for that before you apply the view and projection matrix.

> **Comments:**
> **username_0**: Can you give an example with a 3d modeling software ?  
> **username_3**: @username_0 this is not a forum for how to use modeling software.  

---

