Here are some explanations how to use SSG and SS and the notes about changes made to the original version. If you are interested in Ray-Tracing and Animations, please contact us to the address below: FREESTYLES TAYMANS BROTHERS STREET, 31 1360 TUBIZE (BELGIUM) PHONE : (02) 355.41.68 or (02) 355.36.78 Note about syntax: SSG i=inputfile o=outputfile d=dumpoutputfile r=registerinputfile b=n e (exit when finished) m=? s=n (small picture to test 1=1/4, 2=1/8...) t=? v (vertical: turn picture 90° clockwise) Only i and o parameters are necessary. You can use o=NIL: to test a scene without generating an image. SS inputimagefile ---------------------------------------------------------------------------- Note about versions: We have modified SSG and SS to provide PAL and Interlace PAL display modes. The original versions are renamed SSGntsc and SSntsc. The interlace version are SSGhi and SShi. The bytes to modify are: SSG: offsets 10356, 24944, 24976: Width offsets 10370, 24946, 24978: Height SS: offsets 5476, 5508: Width offsets 5478, 5510: Height ---------------------------------------------------------------------------- Here is a short explanation of the format of the SSG input file. (X,Y,Z) The eye position [XDIR,YDIR] The eye direction FOCALE The eye focale (50) One blank line TYPE (X,Y,Z): RAD; One sphere ... Idem for each sphere One blank line TYPE (X,Y,Z): RAD NUMSPH (X,Y,Z) RAD; One tube ... Idem for each tube ...; The last tube (or the last sphere if there are no tubes) must end with 2 semicolons!! One blank line NUMLAMPS The number of lamps (X,Y,Z): RAD One lamp ... Idem for each lamp One blank line Ground colors Illumination Sky zenith, horizon are floating point values between 0 and 1 (X,Y,Z) are positive or negative floating point values RAD are positive floating point values NUMSPH is integer number of spheres in tube (not including first and last) TYPE is an integer ( 0=dull, 1=shiny, 2=mirror) [XDIR,YDIR] are angle values Sorry, We can't figure out the format of the register file! ---------------------------------------------------------------------------- Here is a short explanation of the format of the Ray Tracer Editor I/O file. This is the file that the editor can load, not the .SSG file! line 1: Number of elements NUMSPHERES NUMLAMPS NUMTUBES line 2: Elements For each sphere: R G B TYPE X Y Z RAD 1 For each lamp: X Y Z RAD R G B For each tube: R G B TYPE X1 Y1 Z1 RAD1 SPHERES X2 Y2 Z2 RAD2 1 Current color: (This is for editor only: Remember the last color used) R G B line 3: (This parameter is obscure for us. Generally it is 0, 1 or 2) ? line 4: Ground colors R1 G1 B1 R2 G2 B2 line 5: Sky colors RZ GZ BZ RH GH BH Where NUMSPHERES, NUMLAMPS and NUMTUBES are positive count integers. TYPE is integer 0 (dull), 1 (shiny) or 2 (mirror). R, G, B... are positive ffp color parameters ranging from 0 to 1. X, Y, Z... are positive or negative ffp coordinates (see note below). RAD... is a positive ffp representing the radius of the sphere. SPHERES is a positive integer representing the number of spheres between the first and last spheres of a tube. ? (unknow) Positive integer apparently ranging between 0 and 2. 1, when indicated, must be included but has no effects. Note about coordinates: When you load the Ray Tracer Editor, the initial coordinates of the window range from -5 to +5 for the X and Y coordinates and from -.6666667 to +9.3333333 for the Z direction. Of course, if you zoom in or out, theses coordinates will change. FREESTYLES