// Generated by L3P v1.3 20010120 (C) 1998-2001 Lars C. Hassing lch@ccieurope.com // WWW: http://home16.inet.tele.dk/hassing/l3p.html // WWW: http://www.ldraw.org/download/software/l3p // Date: Tue Nov 12 01:39:38 2002 // Input file: drill.ldr // ModelDir: // LDRAWDIR: c:\Program Files\LDRAW // LGEODIR: c:\program files\ldraw\lgeo // Commandline: l3p -b1,1,1 -q3 -bu -ca30 -lgeo -o drill.ldr #declare QUAL = 3; // Quality level, 0=BBox, 1=no refr, 2=normal, 3=studlogo #declare SW = 0.5; // Width of seam between two bricks #declare STUDS = 1; // 1=on 0=off #declare BUMPS = 1; // 1=on 0=off #declare BUMPNORMAL = normal { bumps 0.01 scale 20 } #declare AMB = 0.4; #declare DIF = 0.4; #declare AMB = 0; #declare DIF = 1; global_settings { assumed_gamma 1 ambient_light 0 max_trace_level 25 adc_bailout 1/150 radiosity { pretrace_start 0.08 pretrace_end 0.01 count 300 //error_bound 0.1 error_bound 0.07 recursion_limit 1 } } #declare O7071 = sqrt(0.5); #declare L3Logo = union { sphere {<-59,0,-96>,6} cylinder {<-59,0,-96>,<59,0,-122>,6 open} sphere {<59,0,-122>,6} cylinder {<59,0,-122>,<59,0,-84>,6 open} sphere {<59,0,-84>,6} sphere {<-59,0,-36>,6} cylinder {<-59,0,-36>,<-59,0,1>,6 open} sphere {<-59,0,1>,6} cylinder {<0,0,-49>,<0,0,-25>,6 open} sphere {<0,0,-25>,6} sphere {<59,0,-62>,6} cylinder {<59,0,-62>,<59,0,-24>,6 open} sphere {<59,0,-24>,6} cylinder {<-59,0,-36>,<59,0,-62>,6 open} sphere {<-35.95,0,57>,6} torus {18.45,6 clipped_by{plane{<40,0,-9>,0}} translate<-40,0,39>} cylinder {<-44.05,0,21>,<35.95,0,3>,6 open} torus {18.45,6 clipped_by{plane{<-40,0,9>,0}} translate<40,0,21>} cylinder {<44.05,0,39>,<0,0,49>,6 open} sphere {<0,0,49>,6} cylinder {<0,0,49>,<0,0,34>,6 open} sphere {<0,0,34>,6} torus {18.45,6 clipped_by{plane{<40,0,-9>,0}} translate<-40,0,99>} cylinder {<-44.05,0,81>,<35.95,0,63>,6 open} torus {18.45,6 clipped_by{plane{<-40,0,9>,0}} translate<40,0,81>} cylinder {<44.05,0,99>,<-35.95,0,117>,6 open} scale 4.5/128 } #if (version >= 3.1) #local L3_Temp_Vers = version; #version 3.1; #end // Avoid most warnings from LGEO #include "lg_defs.inc" #include "lg_color.inc" #ifdef (L3_Temp_Vers) #version L3_Temp_Vers; #undef L3_Temp_Vers #end #if (QUAL > 2) #declare lg_knob_l3temp = union { object { lg_knob } object { L3Logo matrix <0,-LG_BRICK_WIDTH/20,0, 0,0,-LG_BRICK_HEIGHT/24, -LG_BRICK_WIDTH/20,0,0, 0,0,4*LG_BRICK_HEIGHT/24> } } #declare lg_knob = object { lg_knob_l3temp } #declare lg_knob_l3temp = merge { object { lg_knob_clear } object { L3Logo matrix <0,-LG_BRICK_WIDTH/20,0, 0,0,-LG_BRICK_HEIGHT/24, -LG_BRICK_WIDTH/20,0,0, 0,0,4*LG_BRICK_HEIGHT/24> } } #declare lg_knob_clear = object { lg_knob_l3temp } #end #ifndef (Color7) #declare Color7 = #if (version >= 3.1) material { #end texture { lg_grey } #if (version >= 3.1) } #end #declare Color7_slope = #if (version >= 3.1) material { #end texture { lg_grey #if (QUAL > 1) normal { bumps 0.3 scale 25*0.02 } #end } #if (version >= 3.1) } #end #end #ifndef (Color1) #declare Color1 = #if (version >= 3.1) material { #end texture { lg_blue } #if (version >= 3.1) } #end #declare Color1_slope = #if (version >= 3.1) material { #end texture { lg_blue #if (QUAL > 1) normal { bumps 0.3 scale 25*0.02 } #end } #if (version >= 3.1) } #end #end #ifndef (Color8) #declare Color8 = #if (version >= 3.1) material { #end texture { lg_dark_grey } #if (version >= 3.1) } #end #declare Color8_slope = #if (version >= 3.1) material { #end texture { lg_dark_grey #if (QUAL > 1) normal { bumps 0.3 scale 25*0.02 } #end } #if (version >= 3.1) } #end #end #ifndef (Color0) #declare Color0 = #if (version >= 3.1) material { #end texture { lg_black } #if (version >= 3.1) } #end #declare Color0_slope = #if (version >= 3.1) material { #end texture { lg_black #if (QUAL > 1) normal { bumps 0.3 scale 25*0.02 } #end } #if (version >= 3.1) } #end #end #declare fin = finish { ambient 0 diffuse 1 reflection {0.025,.7 falloff 4} brilliance 1.2 } #declare Color7 = material { texture { pigment {rgb 0.5} finish {fin} } } #declare Color4 = material { texture { pigment {rgb .5*x} finish {fin} } } #declare Color0 = material { texture { //pigment {rgb .025} pigment {rgb .025} finish {fin} } } #declare Color15 = material { texture { pigment {rgb .8} finish {fin} } } #declare Color14 = material { texture { pigment {rgb <.8,.81,0>} finish {fin} } } #declare Color47 = material { texture { pigment {rgb 0.7} finish {fin} } } #declare Color1 = // I couldn't find this one... material { texture { // pigment {rgb <0, .065, 1> } pigment {rgb <0, .05, .3> } //pigment {rgb <0, .01, .08> } finish {fin} } } #declare tyrefin = finish { ambient 0 diffuse 1 // reflection {0.025,.3 falloff 2} reflection {0.0,.1 falloff 2} brilliance 1 //1.2 } #declare Color256 = material { texture { //pigment {rgb 0.025} pigment {rgb 0.05} finish {tyrefin} } } // Model was here // Background: background { color rgb <1,1,1>} // Camera (Latitude,Longitude,Radius = 30,45,0) camera { #declare PCT = 0; // Percentage further away #declare STEREO = 0; // Normal view //#declare STEREO = degrees(atan2(1,12))/2; // Left view //#declare STEREO = -degrees(atan2(1,12))/2; // Right view location vaxis_rotate(<527.464,-426.114,-602.975> + PCT/100.0*<636.671,-519.84,-636.671>, <-330967,-810700,330967>,STEREO) sky -y right -4/3*x look_at <-109.207,93.7256,33.696> // calculated angle 30 rotate <0,1e-5,0> // Prevent gap between adjecent quads //orthographic // focal_point <150,-50,-150> // aperture 25 // blur_samples 70 //good luck //variance 1/1000 //even better: 0.0 } // Lights: /* light_source { <-35,-602.027,-659.441> // Latitude,Longitude,Radius: 45,0,1039.68 color rgb <1,1,1> } light_source { <744.76,-386.702,525.918> // Latitude,Longitude,Radius: 30,120,1039.68 color rgb <1,1,1> } light_source { <-485.194,-767.251,335.643> // Latitude,Longitude,Radius: 60,-120,1039.68 color rgb <1,1,1> } */ // Number of processed parts: 116 // From PARTS: 70 // LGEO parts: 40 (57%) // stud.dat: 58 // BoundingBox: <-115,-80,-260> <45,346.275,411.447> // Center: <-35,133.137,75.7235> // Size: <160,426.275,671.447>