Editing Surface tile
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Surface Tiles are a way to use high resolution ground textures for a small local region, usually around a base. | |
The earth is split into 2048 tiles in latitude and 4096 tiles in longitude. | The earth is split into 2048 tiles in latitude and 4096 tiles in longitude. | ||
− | The | + | The surface tiles in orbiter consist of two parts: The actual tile textures for the planet and the |
− | + | surface tile definition in the configuration file of a base. | |
− | |||
− | The syntax for a | + | |
+ | The syntax for a surface tile list is | ||
<pre> | <pre> | ||
BEGIN_SURFTILELIST | BEGIN_SURFTILELIST | ||
− | <texturelevel> <tilenumberfrommeridian_positive_for_east> <tilenumberfromequator_positive_north> | + | <texturelevel> <tilenumberfrommeridian_positive_for_east> <tilenumberfromequator_positive_north> 1 |
END_SURFTILELIST | END_SURFTILELIST | ||
</pre> | </pre> | ||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
− | The function for getting the tilenumber in | + | The function for getting the tilenumber in latitude is: |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <math>TN_lat = \frac{1024*latitude}{90}></math> | |
− | + | The function for getting the tilenumber in longitude is: | |
− | + | <math>TN_long = \frac{2048*longitude}{180}</math> | |
− | + | Each surface tile is roughly 5 x 5 km large. | |
− |