To simplify the math:
Forget polygons! All we really need to do is mark the globe with points. At each point you would put a terrain icon. The land-based icons could be made with fuzzy edges so that they blend together. The ocean icons would be solid all the way to the edge. Each icon could have an octagon shape.
Points are easier to keep track of, since each point can be specified by:
- radius (from the center of the planet)
- angle from the north pole (0 - 2*pi radians, or 0 - 180°)
- angle from the "front" of the globe (I think it is called the Prime Meridian). This should make a sperical planet more processor-friendly.
Forget polygons! All we really need to do is mark the globe with points. At each point you would put a terrain icon. The land-based icons could be made with fuzzy edges so that they blend together. The ocean icons would be solid all the way to the edge. Each icon could have an octagon shape.
Points are easier to keep track of, since each point can be specified by:
- radius (from the center of the planet)
- angle from the north pole (0 - 2*pi radians, or 0 - 180°)
- angle from the "front" of the globe (I think it is called the Prime Meridian). This should make a sperical planet more processor-friendly.
Comment