# This is a sample definition file for xhangglider.
# Copy this file to your home directory and rename to '.xhangglider'. Or type
# 	cp glider.def ~/.xhangglider
# and you will get it correctly done.

# PolygonDataPath <path> : specify the path where polygon data file[s] exists.
# PolygonDataPath ./

# BackgroundColor <colorname> : specify the colorname painted in root window.
# BackgroundColor DeepSkyBlue

# DisplayArea <x> <y> <width> <height> : specify the display area.
# DisplayArea 112 84 800 600

# MaxY <y> : specify the max Y coord. Remember the Y coord is the depth.
#	   : Default is 450.0 . If you specify a smaller value, glider(s)
#	   : will not go far from the 'front'.
# MaxY 300.0

# ViewpointZ <z> : specify the Z coord of the viewpoint. The Z coord is the
		 : height. Default is 0.0 .
# ViewpointZ -100.0

# NumOfPilots <num> : specify the number of pilots between 1 and 8.
# NumOfPilots 1

# NumOfThermal <num> : specify the number of thermals between 0 and 5.
# NumOfThermal 5

# UpdateFrequency <sec> : specify the update frequency.
# UpdateFrequency 0.1

# NoFlicker   : Never flicker.
# UseClipMask : Use clipmask.
#             : These two conflict with each other. Use one of these if you
#               want.

# Transient : transient mode.
Transient

# ShowVariometer : show variometer.
# ShowVariometer

# PylonRace : do pylon-race.
# PylonRace

# Begin <glider_num> : begin a glider definition. 0 <= glider_num <= 7.
Begin 0
#	File <filename> : describe the filename of 'polygon data'.
	File hg_standard.dat
#	Optimize : Compose quad from two triangles if possible.
	Optimize
#	NoBank : bank angle is always set to 0.
#	NoBank
#	RelativeSpeed : Default is 1.0
#	RelativeSpeed 1.0
#	ChangeColor [-exact|-substr] <pattern> <color name>
#	 : change color of the polygons which match <pattern> to <color name>
	ChangeColor -substr wing	white
	ChangeColor -substr wing.bottom	gray95
	ChangeColor -substr swingline	black
	ChangeColor -substr body	gray40
	ChangeColor -substr head	black
	ChangeColor -substr arm		LightSlateGray
End

Begin 1
	File pg_standard.dat
	Optimize
	RelativeSpeed			0.5
	ChangeColor -substr wing	RoyalBlue1
	ChangeColor -substr left.wing3	red
	ChangeColor -substr line	gray60
	ChangeColor -substr arm		navy
	ChangeColor -substr leg		navy
	ChangeColor -substr body	navy
	ChangeColor -substr head	MediumPurple
End

Begin 2
	File pg_standard.dat
	Optimize
	RelativeSpeed			0.5
	ChangeColor -substr wing	red
	ChangeColor -substr right.wing2	black
	ChangeColor -substr right.wing1	black
	ChangeColor -substr right.wing0	black
	ChangeColor -substr body	gray90
	ChangeColor -substr arm		gray90
	ChangeColor -substr leg		gray90
	ChangeColor -substr head	gray50
	ChangeColor -substr line	gray90
End

Begin 3
	File hg_standard.dat
	Optimize
	ChangeColor -substr wing	yellow1
	ChangeColor -substr swingline	black
	ChangeColor -substr body	AntiqueWhite3
	ChangeColor -substr head	black
	ChangeColor -substr arm		black
End

Begin 4
	File hg_standard.dat
	Optimize
	ChangeColor -substr wing	DarkGoldenrod
	ChangeColor -substr swingline	black
	ChangeColor -substr head	OliveDrab
	ChangeColor -substr body	DarkKhaki
	ChangeColor -substr arm		OliveDrab
End

Begin 5
	File hg_standard.dat
	Optimize
End

Begin 6
	File hg_standard.dat
	Optimize
End

Begin 7
	File hg_standard.dat
	Optimize
End



