/*
  ssystem 1.6 configuration file (NOT compatible with previous versions)
*/

/***************************************************************************
 Options
***************************************************************************/

#where do data files reside (stars.dat and textures)
#data_directory = .


#Render planet atmosphere, default is 1. Atmospheres hurt performance
#atmospheres = 0

#bordered textures. 0 for hardware accelerated, 1 for software-only OpenGL
#(see README.3D for details)
#border = 1

#show a background image during the loading stage. Set this option to 0 if
#you're running ssystem in high resolution modes (say greater than 640x480)
#openbitmap = 0

#Filtering method (GL_LINEAR or GL_NEAREST), default is GL_LINEAR
#GL_NEAREST filtering will increase performance on software-only OpenGL drivers
#filter = GL_NEAREST

#Shading model (defaults to GL_SMOOTH)
#shading = GL_FLAT

#starting date (format is MM-DD-YY HH:MM:SS)
#date = 9-21-72 7:00:00
#date = 12-11-94 15:10:00

#global configuration items
#pause = 1
#realtime = 1
#demo = 0
#planets_labels = 1
#stars_labels = 1
#info = 0

#how bright stars are (higher is brighter)
#star_brightness_factor = 5.0

#Define textured stars size. You may have to tune this value (high-res video
#modes will require lower values). Default is 0.3, typical range is (0.1-0.5).
#Try 5.0 for fun ;-)
#star_size = 0.3

# camera speed in millon Km per frame
#camera_speed = 0.0

#camera modes are: 0 (free), 1 (Linked), 2 (Body 2 Body), 3 (Orbiter)	
#camera_mode = 3

#start with body N as target/source. (N=0 for SUN, N=1 for first body defined
# below and so on). source keyword applies only for cmode 2
#target = 4
#source = 0

#detail level, higher is better/slower. To keep texture handling functions
#happy, these two numbers must be divible by any texture width (slices) or
#height (stacks), in terms of 256x256 pieces not pixels. It's a good idea to 
#use always powers of two. Anyway ssystem will tell you when invalid values
#are set
#slices = 16
#stacks = 32

#Screenshots quality, (0-100). Higher is better. Default is 90
#jpeg_quality = 100


/*****************************************************************************
				BODY DECLARATION

	There are two main bodies: planets and asteroids. Data referred to
   these two bodies are enclosed between { }

	In every planet you can declare one atmosphere (right after planet
   data) and any number of rings and/or satellites (rings declaration must
   precede satellites declaration).
 
	You can't define atmospheres or rings in asteroid declarations, only
   satellites are allowed.

	Custom function are allowed for planets, satellites and asteroids.
   Note that here you assign an index to the custom function and you'll have
   to edit positions.c in order to add one entry in the switch where custom
   functions are called (see line 81 in positions.c). Obviously, when custom
   functions are used, the elements defined in this file are ignored for that
   body.

	Config file stuff is STILL IN DEVELOPMENT, so it may be buggy (works
   OK with default config file but don't know with custom config files). But
   as long as you define your own bodies following the rules above it should
   work. You better take a look at Earth and Saturn to learn how to define
   cloudy atmospheres, rings and multiple satellites.
 
 	Whenever you find a value of 0.0 (except for the flattening and
   randomness) means that this value is unknown (i mean i don't know it)

****************************************************************************/

sun	{
	sun.jpg			# texture file (must be a 128x128 24-bit JPEG)
	1.5			# blending factor, the higher this value the
	30			# better it will look (if you're running a
				# software only OpenGL driver or your 3D card
				# supports 32 bits rendering set this value
				# to 2.0). Don't set this value above 1.5 if
				# you're using a 3dfx 3D card (they don't
				# support 32 bits rendering and their 16 bit
				# filtering is not very good). Second number
				# stands for the cut level, so pixels with
				# a mean level below this value will be
				# transparent.
}

planet	Mercury {
	mercury.jpg		# texture file
	199,160,105		# color for untextured objects (RGB triplet)
	0.382000		# radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.0			# surface randomness
	0.0			# body tilt
	6.138505		# rotation rate (in degrees/Earth day)
	7.005070		# orbit tilt (relative to ecliptic)
	48.333899		# ascendind node (degrees)
	77.453997		# perihelion (degrees)
	0.387098		# mean distance (in AU)
	4.092353		# daily motion (degrees)
	87.969002		# orbital period (Earth days)
	0.205632		# eccentricity
	314.423688		# mean longitude (degrees)		       
	1			# Index of custom function (0=NO)
}

planet 	Venus {
	venus.jpg		# texture file
	249,217,170             # color for untextured objects (RGB triplet)
	0.950000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.0			# surface randomness
	177.300003              # body tilt
	1.481367                # rotation rate (in degrees/Earth day)
	3.394720                # orbit tilt (relative to ecliptic)
	76.688900               # ascendind node (degrees)
	131.761002              # perihelion (degrees)
	0.723324                # mean distance (in AU)
	1.602158                # daily motion (degrees)
	224.699997              # orbital period (Earth days)
	0.006793                # eccentricity
	236.940437              # mean longitude (degrees)
	2			# Index of custom function (0=NO)
}

planet 	Earth {
	earth.jpg	        # texture file
	31,94,125               # color for untextured objects (RGB triplet)
	1.000000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0034			# z axis flattening
	0.0			# surface randomness
	23.450001               # body tilt
	360.252502              # rotation rate (in degrees/Earth day)
	0.000410                # orbit tilt (relative to ecliptic)
	349.200006              # ascendind node (degrees)
	102.851700              # perihelion (degrees)
	1.000020                # mean distance (in AU)
	0.985580                # daily motion (degrees)
	365.256012              # orbital period (Earth days)
	0.016697                # eccentricity
	328.403528              # mean longitude (degrees)
	3			# Index of custom function (0=NO)

	atmosphere {
		earthcld.jpg	# texture file
		200,200,200	# color if untextured
		1.02		# radius (in Earth radii)
		1.3		# blending factor (useful range 1-4)
		150		# samples below this value are tranparent
	}

	satellite Moon {
		moon.jpg	# texture file
		200,200,200     # color for untextured objects (RGB triplet)
		0.272400        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	6.410000        # body tilt
	 	13.176359       # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	125.122795      # ascendind node (degrees)
	 	83.186199       # perihelion (degrees)
	 	60.268          # mean distance (in host planet radii)
	 	12.190992       # daily motion (degrees)
	 	27.321659       # orbital period (Earth days)
	 	0.054900        # eccentricity
	 	16.999999       # mean longitude (degrees)
		10		# Index of custom function (0=NO)
	}
}


planet	Mars {
	mars.jpg	        # texture file
	187,153,115             # color for untextured objects (RGB triplet)
	0.532000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.0			# surface randomness
	25.190001               # body tilt
	350.891907              # rotation rate (in degrees/Earth day)
	1.849920                # orbit tilt (relative to ecliptic)
	49.566399               # ascendind node (degrees)
	336.088201              # perihelion (degrees)
	1.523636                # mean distance (in AU)
	0.524061                # daily motion (degrees)
	686.979980              # orbital period (Earth days)
	0.093423                # eccentricity
	262.427834              # mean longitude (degrees)			
	4			# Index of custom function (0=NO)

/*** Currently disabled due to clipping errors, remove comments to enable *****
	satellite Phobos {
		asteroid.jpg	# texture file
		200,200,200     # color for untextured objects (RGB triplet)
		0.04	        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.4		# y axis flattening
		0.4		# z axis flattening
		0.06		# surface randomness
	 	0.0	        # body tilt
	 	350.891907      # rotation rate (in degrees/Earth day)
	 	1.0             # orbit tilt (relative to host planet plane)
	 	0.0      	# ascendind node (degrees)
	 	0.0       	# perihelion (degrees)
	 	2.76          	# mean distance (in host planet radii)
	 	1128.8451       # daily motion (degrees)
	 	0.318910       	# orbital period (Earth days)
	 	0.015        	# eccentricity
	 	0.0       	# mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Deimos {
		asteroid.jpg	# texture file
		200,200,200     # color for untextured objects (RGB triplet)
		0.02	        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.3		# y axis flattening
		0.4		# z axis flattening
		0.07		# surface randomness
	 	0.0	        # body tilt
	 	350.891907      # rotation rate (in degrees/Earth day)
	 	1.0             # orbit tilt (relative to host planet plane)
	 	0.0      	# ascendind node (degrees)
	 	0.0       	# perihelion (degrees)
	 	6.91          	# mean distance (in host planet radii)
	 	285.16184       # daily motion (degrees)
	 	1.262441       	# orbital period (Earth days)
	 	0.0005        	# eccentricity
	 	0.0       	# mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}
****************************************************************************/
}


asteroid Ceres	 {
	asteroid.jpg		# texture file
	100,100,100             # color for untextured objects (RGB triplet)
	0.15	                # radius (in Earth radii)
	0.0                     # x axis flattening
	0.0			# y axis flattening
	0.05			# z axis flattening
	0.07			# surface randomness
	0.0			# body tilt
	952.06			# rotation rate (in degrees/Earth day)
	10.601			# orbit tilt (relative to ecliptic)
	80.659			# ascendind node (degrees)
	71.530			# perihelion (degrees)
	2.7669			# mean distance (in AU)
	0.21414844		# daily motion (degrees)
	1656.886		# orbital period (Earth days)
	0.0760			# eccentricity
	0.0			# mean longitude (degrees)
	0			# Index of custom function (0=NO)
}

asteroid Pallas	 {
	asteroid.jpg		# texture file
	100,100,100             # color for untextured objects (RGB triplet)
	0.09	                # radius (in Earth radii)
	0.0                     # x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.05			# surface randomness
	0.0			# body tilt
	1106.13			# rotation rate (in degrees/Earth day)
	34.88			# orbit tilt (relative to ecliptic)
	173.298			# ascendind node (degrees)
	309.627			# perihelion (degrees)
	2.7711			# mean distance (in AU)
	0.213661		# daily motion (degrees)
	1660.66			# orbital period (Earth days)
	0.2338			# eccentricity
	0.0			# mean longitude (degrees)
	0			# Index of custom function (0=NO)
}

asteroid Vesta	 {
	asteroid.jpg		# texture file
	100,100,100             # color for untextured objects (RGB triplet)
	0.09	                # radius (in Earth radii)
	0.0                     # x axis flattening
	0.094			# y axis flattening
	0.23			# z axis flattening
	0.07			# surface randomness
	0.0			# body tilt
	1617.37			# rotation rate (in degrees/Earth day)
	7.136			# orbit tilt (relative to ecliptic)
	103.973			# ascendind node (degrees)
	150.346			# perihelion (degrees)
	2.361			# mean distance (in AU)
	0.271682		# daily motion (degrees)
	1306.01			# orbital period (Earth days)
	0.0897			# eccentricity
	0.0			# mean longitude (degrees)
	0			# Index of custom function (0=NO)
}


planet 	Jupiter {
  	jupiter.jpg		# texture file
	185,166,152             # color for untextured objects (RGB triplet)
	11.27000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0625			# z axis flattening
	0.0			# surface randomness
	3.120000                # body tilt
	870.532471              # rotation rate (in degrees/Earth day)
	1.304630                # orbit tilt (relative to ecliptic)
	100.471297              # ascendind node (degrees)
	15.697800               # perihelion (degrees)
	5.202597                # mean distance (in AU)
	0.083096                # daily motion (degrees)
	4332.586914             # orbital period (Earth days)
	0.048465                # eccentricity
	322.559836              # mean longitude (degrees)
	5			# Index of custom function (0=NO)

	satellite Io {
		io.jpg		# texture file
		208,200,128     # color for untextured objects (RGB triplet)
		0.285356        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	203.488937      # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	5.9             # mean distance (in host planet radii)
	 	203.48893       # daily motion (degrees)
		1.769138        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Europa {
		europa.jpg	# texture file
		202,171,143     # color for untextured objects (RGB triplet)
		0.245375        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	101.374725      # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	9.39            # mean distance (in host planet radii)
	 	101.37473       # daily motion (degrees)
	 	3.551181        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Ganymede {
 		ganymede.jpg	# texture file
		117,117,117     # color for untextured objects (RGB triplet)
		0.413139        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	50.317608       # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	14.97           # mean distance (in host planet radii)
	 	50.177552       # daily motion (degrees)
	 	7.154553        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Callisto {
 		callisto.jpg	# texture file
		96,96,96        # color for untextured objects (RGB triplet)
		0.379429        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	21.571070       # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	26.34           # mean distance (in host planet radii)
	 	21.571071       # daily motion (degrees)
	 	16.689020       # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}
}



planet 	Saturn {
	saturn.jpg	        # texture file
	189,174,153             # color for untextured objects (RGB triplet)
	9.500000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.1			# z axis flattening
	0.0			# surface randomness
	26.730000               # body tilt
	810.792542              # rotation rate (in degrees/Earth day)
	2.485240                # orbit tilt (relative to ecliptic)
	113.635797              # ascendind node (degrees)
	88.863001               # perihelion (degrees)
	9.571900                # mean distance (in AU)
	0.033287                # daily motion (degrees)
	10759.209961            # orbital period (Earth days)
	0.053165                # eccentricity
	20.957590               # mean longitude (degrees)
	6			# Index of custom function (0=NO)

	ring {
  		satrings.jpg	# texture file
		150,150,150	# color if untextured
		12.0		# inner radius (in Earth radii)
		17.0		# outter radius (in Earth radii)
	}

	ring {
		satrings.jpg	# texture file
		150,150,150	# color if untextured
		18.0            # inner radius (in Earth radii)
		19.5            # outter radius (in Earth radii)
	}

	satellite Tethys {
	 	tethys.jpg	# texture file
		189,189,189     # color for untextured objects (RGB triplet)
		0.082314        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	190.668610      # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	4.89            # mean distance (in host planet radii)
	 	190.66857       # daily motion (degrees)
	 	1.888093        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Dione {
	 	dione.jpg	# texture file
		130,130,130     # color for untextured objects (RGB triplet)
		0.087802        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	131.505798      # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	6.26            # mean distance (in host planet radii)
	 	131.50579       # daily motion (degrees)
	 	2.737522        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Rhea {
	 	rhea.jpg	# texture file
		158,158,158     # color for untextured objects (RGB triplet)
		0.119944        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	79.660767       # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	8.74            # mean distance (in host planet radii)
	 	79.660769       # daily motion (degrees)
	 	4.519163        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

	satellite Titan {
	 	titan.jpg	# texture file
		252,96,9        # color for untextured objects (RGB triplet)
		0.403732        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	22.546638       # rotation rate (in degrees/Earth day)
	 	0.0             # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	20.27           # mean distance (in host planet radii)
	 	22.546639       # daily motion (degrees)
	 	15.966903       # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}
}




planet 	Uranus {
	uranus.jpg	        # texture file
	149,173,185             # color for untextured objects (RGB triplet)
	3.900000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.0			# surface randomness
	97.860001               # body tilt
	501.162415              # rotation rate (in degrees/Earth day)
	0.773430                # orbit tilt (relative to ecliptic)
	74.095402               # ascendind node (degrees)
	175.680703              # perihelion (degrees)
	19.301810               # mean distance (in AU)
	0.011623                # daily motion (degrees)
	30685.000000            # orbital period (Earth days)
	0.042896                # eccentricity
	303.189666              # mean longitude (degrees)
	7			# Index of custom function (0=NO)

	ring {
 		satrings.jpg    # texture file
		150,150,150	# color if untextured
		5.0             # inner radius (in Earth radii)
		6.0             # outter radius (in Earth radii)
	}
}



planet 	Neptune {
	neptune.jpg		# texture file
	94,129,223              # color for untextured objects (RGB triplet)
	4.000000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.0			# surface randomness
	29.000000               # body tilt
	536.312866              # rotation rate (in degrees/Earth day)
	1.768100                # orbit tilt (relative to ecliptic)
	131.792503              # ascendind node (degrees)
	7.206000                # perihelion (degrees)
	30.266640               # mean distance (in AU)
	0.005919                # daily motion (degrees)
	60188.000000            # orbital period (Earth days)
	0.010298                # eccentricity
	299.864101              # mean longitude (degrees)
	8			# Index of custom function (0=NO)

	satellite Triton {
	 	triton.jpg	# texture file
		216,208,206     # color for untextured objects (RGB triplet)
		0.212135        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	61.257263       # rotation rate (in degrees/Earth day)
	 	156.999999      # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	14.83           # mean distance (in host planet radii)
	 	61.257265       # daily motion (degrees)
	 	5.876854        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

}


planet 	Pluto {
	pluto.jpg	        # texture file
	241,220,167             # color for untextured objects (RGB triplet)
	0.450000                # radius (in Earth radii)
 	0.0			# x axis flattening
	0.0			# y axis flattening
	0.0			# z axis flattening
	0.0			# surface randomness
	118.000000              # body tilt
	56.362724               # rotation rate (in degrees/Earth day)
	17.121370               # orbit tilt (relative to ecliptic)
	110.383302              # ascendind node (degrees)
	224.802494              # perihelion (degrees)
	39.580400               # mean distance (in AU)
	0.003958                # daily motion (degrees)
	90700.0                 # orbital period (Earth days)
	0.250127                # eccentricity
	235.765590              # mean longitude (degrees)
	9			# Index of custom function (0=NO)

	satellite Charon {
		charon.jpg	# texture file
		125,109,94      # color for untextured objects (RGB triplet)
		0.092976        # radius (in Earth radii)
	 	0.0		# x axis flattening
		0.0		# y axis flattening
		0.0		# z axis flattening
		0.0		# surface randomness
	 	0.0             # body tilt
	 	56.362286       # rotation rate (in degrees/Earth day)
	 	98.999999       # orbit tilt (relative to host planet plane)
	 	0.0             # ascendind node (degrees)
	 	0.0             # perihelion (degrees)
	 	17.0            # mean distance (in host planet radii)
	 	56.362284       # daily motion (degrees)
	 	6.387250        # orbital period (Earth days)
	 	0.0             # eccentricity
	 	0.0             # mean longitude (degrees)
		0		# Index of custom function (0=NO)
	}

}

