TEMPERATE PLANET DEMO
------------------------------------------------------------------------------
by Krischan www.extrasolar.de

This is a techdemo of a spherized cube looking much like a Temperate Planet.
All done in Blitzmax+miniB3D. No subdividing, no shaders - just a clever use
of high resolution detail textures and vertex alpha. The music is an old
evergreen from Austria, Earth - a rearranged free Midi file.

This is a test how realistic a Planet could look and it really looks good in
my humble opinion. The planet surface consists of only five base Textures:
Water, Grassland, Desert, Hills and Mountains. Each of these Textures is
applied to a separate Mesh with Vertex Alpha information according to the
Heightmap. At the surrounding seams they blend softly into each other.

The hardest part was the Texture Design - the Textures must match to each
other, they must not be too colorful and the details should be random but not
too fragmented. (Download) The Desert mesh uses a different heightmap and
covers other areas, and this is the key for the natural look. Again, a
Cubemap applied to a spherized Cube is used as a Planet base.



License Agreement
------------------------------------------------------------------------------
Copyright (c) 2016, Christian Hart. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

- Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION). HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.


Third-Party Textures and Redesigns Copyright credits
------------------------------------------------------------------------------
Some Textures are based on free satellite images by NASA and reworked by
myself. The Music Track "Johann Strauss - The Blue Danube.ogg" is free under
the http://creativecommons.org/licenses/by-sa/4.0/ license based on a free
MIDI file and rearranged by myself using the free Cadenza SF2 Soundfont and
the commercial EWQL Symphonic Orchestra Gold Edition

You can put your own Music Tracks in the "sound" folder (OGG format only) and
select one of them from the launcher menu to play in background. Either use
my batch file in the sound folder to convert your MP3 to OGG format (LAME.EXE
and OGGENC2.EXE are available from http://www.rarewares.org) or use a program
like Audacity (http://www.audacityteam.org) to convert them (like I did).



Demo controls
------------------------------------------------------------------------------
Arrows+WASD            move, turn, holding SHIFT at the same time = 10x faster
Left Mousebutton       Surface view (straight down)
Right Mousebutton      stop rolling
F1-F9                  show/hide Layer 1,2,3,4,5 (Atmosphere, Clouds / Planet(
1-4                    show hide galactic background layers
T                      stop/start planet turning
B                      show/hide Bloom effect
V                      VSYNC on/off
SPACE                  Wireframe on/off
ENTER                  calculate a new random planet
Escape                 quit