/************************* ** Output methods */ /* output { type ppm; width 800; height 400; output-file "test.ppm"; } */ output { type X-root; update-time -1; // Time between updates in seconds } /************************* ** Orbits */ orbit "fixed1" { type fixed-position; position 15.0 20.0; } orbit "random1" { type random-position; } orbit "circular1" { type circular; nodes 30.0; // Position of the nodes (crossing the equator) angle 30.0; // Angle of the orbital plane w.r.t. equator period 100; // Orbital period in seconds time-origin now; // Temporal origin of the orbit // ("date/time" or now) precession 5.0; // Precession of nodes per orbit // precession-period 86400 // Precession period of nodes } /************************* ** Content providers */ content "earth" { bitmap { // Bitmap file "earth.jpg"; smooth; } } content "earthnight" { bitmap { file "earthnight.jpg"; smooth; } } content "earthdots" { ref { ref "earth"; } latlongmarks { longitude-divs 12; longitude-minor-divs 15; scale-long-divs; } } content "terminator-test" { terminator { /* Example of an orbit reference sun { ref { ref "circular1"; } } */ sun { type circular; nodes 30.0; angle 30.0; period 100; time-origin now; precession 5.0; } night { ref { ref "earthnight"; } } day { ref { ref "earthdots"; } } boundary-width 30.0; boundary-blend linear; } } content "mixedbag" { // Each part is optional /* The following two options modify bitmap and outline colourings * neither is implemented yet bump-map "earth.height"; sunlight { time-origin now; // Temporal origin ("date/time" or now) speed 1.0; // Fraction of real-time to run at ecliptic 10.0; // Ecliptic angle nodes } */ ref { ref "earthdots"; } /* geodesic { // Line from one lat/long to another pt 0.0 53.0; pt -120.0 32.0; colour 255 127 0; //width 2; // Width in pixels -- really use this? // Compute these by midpoint division and // normalisation to the sphere surface in 3-space? } markers { // Draw markers marker-type cross; colour 255 255 255; marker 30.0 0.0 "Node 1"; marker -150.0 0.0 "Node 2"; marker-type dot; colour 255 0 0; marker 0.0 0.0 "Origin"; } outline { // Closed loop of solid colour colour 0 255 0; pt 0.0 0.0; pt 20.0 0.0; pt 20.0 20.0; pt 0.0 20.0; } */ loxodrome { // Line of constant heading start 30.0 -30.0; end -60.0 30.0; loops 2; colour 255 255 0; } /* background-colour 0 0 0;// If not specified, no background // clearing is done */ } content "amiga" { check { longitude-divs 12; latitude-divs 6; } } content "amiga2" { check { longitude-divs 30; colour1 127 0 0; colour2 0 0 255; } } projection "planar-parallel" { type planar; subtype orthographic; } projection "planar-stereographic" { type planar; subtype stereographic; } projection "planar-gnomonic" { type planar; subtype gnomonic; } projection "planar-equidistant" { type planar; subtype equidistant; limit 90.0; } projection "planar-equalarea" { // == Lambert's Azimuthal Equal-Area type planar; subtype equal-area; } projection "cylorthographic0" { type cylindrical; subtype orthographic; } projection "cylorthographic30" { type cylindrical; subtype orthographic; standard-parallels 30; } projection "cylorthographic60" { type cylindrical; subtype orthographic; standard-parallels 60; } /* projection "cylindrical-parallel" { type cylindrical; subtype orthographic; standard-parallels 15.0; } mercator is shorthand for: type cylindrical; subtype parallel; standard-parallels 0.0; peters is shorthand for: type cylindrical; subtype parallel; standard-parallels 30.0; projection "cylindrical" { type cylindrical; subtype gnomonic; standard-parallels 0.0; } */ /***************** ** Viewports */ viewport "vp00" { bottom-left 0 0; size 256 256; scale 128; } viewport "vp01" { bottom-left 256 0; size 256 256; scale 512; } viewport "vp02" { bottom-left 512 0; size 256 256; scale 128; } viewport "vp03" { bottom-left 768 0; size 256 256; scale 128; } viewport "vp04" { bottom-left 0 256; size 256 256; scale 128; } viewport "vp05" { bottom-left 256 256; size 256 256; scale 128; } viewport "vp06" { bottom-left 512 256; size 256 256; scale 128; } viewport "vp07" { bottom-left 768 256; size 256 256; scale 128; } viewport "vp08" { bottom-left 0 512; size 256 256; scale 128; } viewport "vp09" { bottom-left 256 512; size 256 256; scale 128; } viewport "vp10" { bottom-left 512 512; size 256 256; scale 128; } viewport "vp11" { bottom-left 768 512; size 256 256; scale 128; } /***************** ** How to put everything together */ display { viewport "vp00"; orbit "circular1"; content "mixedbag"; projection "planar-equalarea"; } display { viewport "vp01"; orbit "circular1"; content "mixedbag"; projection "planar-stereographic"; } display { viewport "vp02"; orbit "circular1"; content "mixedbag"; projection "planar-gnomonic"; } display { viewport "vp03"; orbit "circular1"; content "mixedbag"; projection "planar-parallel"; } display { viewport "vp04"; orbit "circular1"; content "mixedbag"; projection "planar-equidistant"; } display { viewport "vp05"; orbit "circular1"; content "mixedbag"; projection "cylorthographic0"; } display { viewport "vp06"; orbit "circular1"; content "mixedbag"; projection "cylorthographic30"; } display { viewport "vp07"; orbit "circular1"; content "mixedbag"; projection "cylorthographic60"; }