# Ray-tracing rendering package Model Data File format version 3: A.H.Barnett 21/7/1993 read by programs: r7,r8 (source ray8.c), in /usr/people/barnet/ray Order of component lines of file is irrelevant, a T,S,F,V,C,L character begins reading with the format shown (others are ignored) E stops reading (end of file). # # enclose comments in hashes like this... # # model title string (terminate with newline)... # T Glassware AHB 19/7/1993 # spheres: centre X Y Z, radius, diffuse R G B, texture diff, bump, reflec, transp, refrac index # # cylinders: end X Y Z, end X Y Z, radius, diffuse R G B, texture diff, bump, reflec, transp, refrac index # # facets: vertex number list (-1 terminates), diffuse R G B, texture diff, bump, reflec, transp, refrac index # F 0 4 9 7 -1 0.90 0.90 0.90 6 0 0.20 0.00 1.00 F 1 5 10 4 -1 0.90 0.90 0.90 6 0 0.20 0.00 1.00 F 2 6 11 5 -1 0.90 0.90 0.90 6 0 0.20 0.00 1.00 F 3 7 8 6 -1 0.90 0.90 0.90 6 0 0.20 0.00 1.00 F 8 9 13 12 -1 0.30 0.90 0.40 0 0 0.05 0.00 1.00 F 9 10 14 13 -1 0.30 0.90 0.40 0 0 0.05 0.00 1.00 F 10 11 15 14 -1 0.30 0.90 0.40 0 0 0.05 0.00 1.00 F 11 8 12 15 -1 0.30 0.90 0.40 0 0 0.05 0.00 1.00 F 12 13 14 15 -1 0.20 0.40 0.60 4 0 0.20 0.00 1.00 F 16 17 18 19 -1 0.10 0.20 0.30 0 21 0.30 0.90 1.33 F 20 21 25 24 -1 0.80 0.30 0.10 8 0 0.00 0.00 1.00 F 21 22 26 25 -1 0.80 0.30 0.10 7 0 0.00 0.00 1.00 F 22 23 27 26 -1 0.80 0.30 0.10 8 0 0.00 0.00 1.00 F 23 20 24 27 -1 0.80 0.30 0.10 7 0 0.00 0.00 1.00 F 28 29 26 27 -1 0.90 0.90 0.00 0 0 0.20 0.00 1.00 F 30 31 9 37 -1 0.60 0.90 0.60 10 0 0.20 0.00 1.00 F 32 33 10 31 -1 0.60 0.90 0.60 10 0 0.20 0.00 1.00 F 34 35 11 33 -1 0.60 0.90 0.60 10 0 0.20 0.00 1.00 F 36 37 8 35 -1 0.60 0.90 0.60 10 0 0.20 0.00 1.00 # verteces: vertex number, X Y Z # V 0 -20.000 -20.000 0.000 V 1 20.000 -20.000 0.000 V 2 20.000 20.000 0.000 V 3 -20.000 20.000 0.000 V 4 8.000 -20.000 0.000 V 5 20.000 6.000 0.000 V 6 -8.000 20.000 0.000 V 7 -20.000 -6.000 0.000 V 8 -8.000 -6.000 0.000 V 9 8.000 -6.000 0.000 V 10 8.000 6.000 0.000 V 11 -8.000 6.000 0.000 V 12 -8.000 -6.000 -5.000 V 13 8.000 -6.000 -5.000 V 14 8.000 6.000 -5.000 V 15 -8.000 6.000 -5.000 V 16 -8.000 -6.000 -1.000 V 17 8.000 -6.000 -1.000 V 18 8.000 6.000 -1.000 V 19 -8.000 6.000 -1.000 V 20 -1.000 6.000 0.000 V 21 1.000 6.000 0.000 V 22 1.000 7.500 0.000 V 23 -1.000 7.500 0.000 V 24 -1.000 6.000 1.000 V 25 1.000 6.000 1.000 V 26 1.000 7.500 1.000 V 27 -1.000 7.500 1.000 V 28 -1.000 2.000 1.000 V 29 1.000 2.000 1.000 V 30 -10.000 -8.000 0.001 V 31 8.000 -8.000 0.001 V 32 10.000 -8.000 0.001 V 33 10.000 6.000 0.001 V 34 10.000 8.000 0.001 V 35 -8.000 8.000 0.001 V 36 -10.000 8.000 0.001 V 37 -10.000 -6.000 0.001 # lights: light-vector X Y Z, colour R G B # L 0.636 0.213 0.742 0.80 0.80 0.80 # ambient R G B # A 0.20 0.20 0.10 # sky R G B # K 0.20 0.40 0.70 # end of file... # E