# Palomino configuration 1.0.
# DO NOT CHANGE THE FIRST LINE UNLESS VERSION HAS CHANGED.
# $LastChangedDate: 2010-09-05 11:37:11 -0400 (Sun, 05 Sep 2010) $
#
# Note:
# Latitude is in range {-90,..+90} degrees.
# Longitude is in range {-180,..,+180} degrees.
# ---------------------------------------------

# Graphics:
WindowTitle         Palomino Flight Simulator
WindowWidth         1024
WindowHeight        768
WindowPosition      100 100  # top-left corner
BackgroundColor     0.47 0.68 0.92 1.0  # OSG clear color
OtwViewpointOffset  9.0  # adjust height of OTW view to mitigate frustum clipping
# OSG default values were: fov=29.1484 aspectRatio=1.25 zNear=1 zFar=10000
ViewProjectionFOV          20.0  # field-of-view degree
ViewProjectionAspectRatio  1.10
ViewNearFarRatio           0.00001  # OSG default = 0.0005

# Sky:
Light0Position        1000.0 1000.0 50000.0 1.0
ShadowLightNum        1
ShadowLightPosition   500.0 500.0 3000.0 0.0
ShadowLightDirection  0.70710678 0.0 -0.70710678
ShadowLightColor      1.0 1.0 1.0 1.0
FogColor              0.65 0.65 0.85 1.0
FogMode               exp  # { linear, exp, exp2 }
FogDensity            0.00060
FogMin                0.2  # unit range, ensures near objects have some fog
SkyFogDensity         0.00003
SkyColor              0.45  0.65  0.90  1.0  # lt blue
SkyDomeSlices         72
EnableMoon            1
#
FlatStars             500
FlatClouds            85
FlatCloudMinWidth     4500    # meters, random width in range
FlatCloudMaxWidth     11000
FlatCloudMinAlt       4500    # meters, random width in range
FlatCloudMaxAlt       7500
#
SphereStars           4000
SphereClouds          2000    # exaggerated clouds to substitute for
SphereCloudMinWidth   40000   # SkyDome not really enclosing OSSIM planet
SphereCloudMaxWidth   60000
SphereCloudMinAlt     25000
SphereCloudMaxAlt     50000

# Weather:
WeatherRainChance     20
WeatherSnowChance     10

# World:
WorldAltitudeMin      -2000.0   # Grand Canyon depth is 1.6 KM
WorldAltitudeMax      100000.0  # SR-71 ceiling is 25,900 meters (16 miles)
SphereObjectScale     300.0     # scales objects (excluding planet/terrain)
FlatObjectScale       1.0

# Terrain model of flat world:
FlatModelFile           terrain/GoldenGate.osga  # a terrain patch
FlatModelRotationList   { }
FlatModelScale          50.0
FlatModelOffset         0.0 0.0 0.0  # to adjust graphical origin of particular terrain patch
FlatModelNW             37.5620 -122.4253 0.0  # NW (lat,lon,alt) of terrain patch
FlatModelSE             37.4936 -122.2130 0.0  # SE (lat,lon,alt) of terrain patch
FlatModelMeterSimRatio  1.0  # ratio of meter over graphical coordinates
FlatModelMeterOffset    0.0 0.0 -552.0  # 3D meters, to adjust center of world
FlatWorldMeterLowAlt    100.0  # approx
FlatModelMeterAltMin    0.0
FlatModelMeterAltMax    10000.0

# Timer:
TimerTickFreq               10     # keep all frequencies the same
InputQueueTickFreq          10     # to avoid synchronization problems
KeyboardInputQueueOverflow  4      # 0 to disable venting events that overflow
JoystickInputQueueOverflow  5
MouseInputQueueOverflow     5

# Two applications of rotation list:
# At one level, rotation list is applied to orient a specific 3D model.
# At another level, rotation list applied to the matrix of an Object (general).
# 3D models:
AircraftRotationList     { XX 90.0 }
CarrierRotationList      { XX 90.0 YY -90.0 }
CarrierModel             models/nimitz/nimitz.osg.gz
CarrierRunwayLength      210.0  # meters

# Physics:
MaxLandingSpeedVertical  30  # KPH

# Fonts:
# The first font listed becomes the default.
# fontName defaultSize widthRatio heightRatio
font arial   28.0  0.593  1.0
font masque  28.0  0.593  1.0

# Manipulator mode:
ManipulatorYaw           1.5   # degrees
ManipulatorPitch         1.5   # degrees
ManipulatorStep          50.0  # world space
ManipulatorPosition      0.0 0.0 500.0  # world space
ManipulatorRotationList  { XX 90.0 YY 180.0 }

# Misc:
RandomSeed     0  # 0x2b3e27bd  # 0 for true randomness
DebugTest      1234 0x1234 0xabcd -0xabcd  # test converting decimal and hex numbers
Verbose        0
Quiet          0
Splash         masque 50.0 4000 7000  # fontName fontSize fadeBeginMilsec splashEndMilsec
TimeClockSkew  10000  # milliseconds, time delta to detect if calendar clock was adjusted (N/A for monotonic clock/counter)
