BTG file format: Difference between revisions

Jump to navigation Jump to search
→‎Coordinates: link to general coordinates page
(→‎Coordinates: link to general coordinates page)
Line 11: Line 11:
=== Coordinates ===
=== Coordinates ===


All coordinates in the file are geocentric/cartesian coordinates, with
All coordinates in the file (except for texture coordinates) are [[Geographic_Coordinate_Systems#Cartesian Geocentric Coordinates|cartesian geocentric coordinates]].
 
* the center of the earth being the origin,
* the z-axis aligned with the earth axis pointing north,
* the x-axis going through the Greenwich Meridian at its intersection with the equator, and
* the y-axis going through the intersection of the meridian at 90 degrees east and the equator.


In order to allow more compact storage, all coordinates are stored as single precision floating point values relative to the center of a bounding sphere, except for the bounding sphere itself, which is stored in double precision format.
In order to allow more compact storage, all coordinates are stored as single precision floating point values relative to the center of a bounding sphere, except for the bounding sphere itself, which is stored in double precision format.
26

edits

Navigation menu