// Persistence Of Vision raytracer version 3.0 styling file. // a buncha cylinders, some torii, and a cylinder-Tallbike-001 //first made a long long time ago, updated for individual componentry //starting 05.16.07 global_settings { assumed_gamma 2.2 } #include "colors.inc" #include "textures.inc" #include "metals.inc" #include "finish.inc" #include "onetireb.pov" #include "sprock.pov" #include "RMCRing.pov" #declare MyChrome = texture {NotAsShinyTex} background { color red 0.6322352 green 0.542549 blue 0.6223529} camera { location <18, -101, 3> //good fra,e fit!! //location <40, -35, 3> sky x right x*image_width/image_height look_at <18,0,3> } //97i flyah /* camera { location <41, -55, 0> sky x look_at <41,0,15> } camera { location <37, 35, -30> sky x look_at <37,0,-30> } */ /* camera { //rotate 360*clock*x //the magical rotate! hopefully! location <45,-10,5> sky x look_at <25,-10,45> right x*image_width/image_height } camera {location <35, 15.25, 55> look_at <30, 5.25, 55> right x*image_width/image_height sky x } */ light_source { <45, -60, -5> White } light_source { <35, -70, -10> White } light_source { <25, -80, -15> White } light_source { <30, -10, -10> White } // breadbasket? //light_source { <20, -5, -20> White*3 } //light_source { <10, -5, -20> White*3 } //light_source { <25, -15, -20> White*3 } //light_source { <25, 5, -5> White*3 } //light_source { <35, 5, -5> White*3 } //light_source { <30, -30,1> White} //light_source { <55,1,1> White } /* light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color spotlight // this kind of light source translate <60, 1,-10> // position of light point_at <0, -5, -10> // direction of spotlight radius 10 // hotspot (inner, in degrees) tightness 15 // tightness of falloff (1...100) lower is softer, higher is tighter falloff 25 // intensity falloff radius (outer, in degrees) } */ #declare TyrePair= union{object{ThornyTire rotate y*180 scale 10} object{ThornyTire rotate y*180 scale 10 translate <0,0,42.75>}} #declare BottomFrame=union{ cylinder {<0,-1.8,0>, < -2.5,-1.5,16.5>,.3 } //chainstay cylinder {<0,1.8,0>, <-2.5,1.5,16.5>,.35 } //and the other cylinder {<0,2,0>, <21,1,10.5>,.35} //seatstaze cylinder {<0,-2,0>, <21,-1,10.5>,.35} difference{cylinder {<-2.5,-2,17.25>,<-2.5,2,17.25>,.95} // bottom cranx cylinder {<-2.5,-2.1,17.25>,<-2.5,2.1,17.25>,.85} }//crankhole! cylinder {<-2.5,0,17.25>,<16,0,36.5>,.60} //bottom tube cylinder {<-2.5,0,17.25>,<25,0,9>,.6} //seat tube/post cylinder {<21.5,0,10>,<21.5,0,35.0>,.6} // top tube cylinder {<15.4125,0,36.875>,<23.25,0,34.5>,.65} //bottom steer tube, oy the math! cylinder {<15,1,37>,<5,1.5,40>,.35} // top of fork cylinder {<15,-1,37>,<5,-1.5,40>,.35} cylinder {<5,1.5,40>,<0,2,42.75>,.3} cylinder {<5,-1.5,40>,<0,-2,42.75>,.3} //bottom of fork } }//end BottomFrame #declare MagicWand=cylinder {<15,0,37>,<46.35,0,27.5>,.5 texture {MyChrome}} // steer stem #declare SeatPostTop=cylinder {<45,0,6>,<41,0,7>,.5 texture {MyChrome}} //seatpost #declare Bars=union{cylinder {<48,0,27>,<50,3.5,32>,.4} //left sprout cylinder {<48,0,27>,<50,-3.5,32>,.4} //right sprout difference{cylinder {<50,3.5,32>,<50,-3.5,32>,.5} cylinder {<50,3.6,32>,<50,-3.6,32>,.4} } //centerbar difference{cylinder {<50,3.5,32>,<51.5,14,30.5>,.5} cylinder {<50,3.4,32>,<51.5,14.1,30.5>,.4} } //leftbar difference{cylinder {<50,-3.5,32>,<51.5,-14,30.5>,.5} cylinder {<50,-3.4,32>,<51.5,-14.1,30.5>,.4} } //rightbar cylinder {<48,0,27>,<46.35,0,27.5>,.4} texture { MyChrome }} #declare GripR=difference{cylinder {<50.5,-6.967,31.5>,<51,-10.533,31>,.7} ///some cutouts... } #declare xDiff=1.5; #declare xStart=50; #declare yDiff=10.7; #declare yStart=3.4; #declare zDiff=-1.5; #declare zStart=32; #declare rubbaStart=.45; #declare rubbaEnd=.97; #declare Grip=difference{union{cylinder {, ,.7} torus { .6,0.1 translate } torus { .6,0.1 translate } } //end union cylinder {, ,.5} //cut grip guts } //end difference #declare RGrip=difference{union{cylinder {, ,.7} torus {.6,.1 translate } torus{.6,.1 translate } }//end union cylinder {, ,.5} } #declare TopFrame=union{cylinder {<44.7,0,28>,<38.1,0,30>,.65} //top steer tube //cylinder {<38.1,0,30>,<34.8,-2,31>,.55} //cylinder {<38.1,0,30>,<34.8,2,31>,.55} // forklets cylinder {<38.1,0,30>,<37.1,0,30.303>,.55} //shinny inny difference{cylinder {<37.9,0,30.0606>,<35.9,0,30.6666>,.75} // the fatness cylinder {<36.5,0,29>,<36.5,0,32>,.13} } //brakehole difference{torus{2.3,.65 scale<1.5,1,1> rotate <90,18,0> } torus{2.3,.63 scale<1.5,1,1> rotate <90,18,0> } box{<-5,-5,-5><1,5,5>} translate <33.5,0,31.3>} difference{cylinder {<23,-1.8,11.5>,<23,1.8,11.5>,1} //top bb cylinder {<23,-1.9,11.5>,<23,1.9,11.5>,.9} } //with the middle cut out cylinder {<23, 0,11.5>,<39,0,29.5>,.6} //top bottom tube cylinder {<23,0,11.5>,<41,0,7>,.6} //top seat tube/post cylinder {<34,0,9>,<43,0,28.5>,.6}//top top tube} }//end topframe #declare CrappySeat=union{prism { linear_sweep linear_spline // linear_spline | quadratic_spline | cubic_spline -.8, // height 1 2.5, // h2 10, // #-o-pts < 0, 0>, < 2, 0.5>, < 4, 1>, <1.5, 5.5>, < 1,9>, // all this for a crappy seat <-1,9>, <-1.5,5.5>, <-4, 1>, <-2, 0.5>,<0,0> rotate z*90 rotate y*3 // tilt it up a teensy bit translate <46,0,3> pigment {color Black} }}//end seat #include "pedals.pov" #declare Cranx=difference{union{//disc{<23,-2,11.5>,y,3.3,2.6 } // top cranx gear object{RMCRing rotate z*90 translate<23,-2,11.5>} cylinder{<23,-2,11.5>,<18,-3,16.5>,.33 } sphere { <18,-3,16.5>, 0.33 } // end of sphere sphere { <23,-2,11.5>, 0.33 } sphere { <23,2,11.5>, 0.33 } cylinder {<23,2,11.5>,<28,3,6>,.33} // and cranx sphere { <28,3,6>, 0.33 } // now with ballsy ends!! cylinder {<23,2,11.5>,<23,-2,11.5>,.33} //bottom bracket (Ashtabula style!) } //end big Ashtabula chrome-hunk... cylinder {<28,3.4,6>,<28,1.9,6>,.17} cylinder {<18,-3.4,16.5>,<18,-1.9,16.5>,.17} texture { MyChrome }} #declare Tallbike001 = // I do declare... union{object{TyrePair} object{BottomFrame pigment{Yellow/2}} object{TopFrame pigment{Yellow/2}} object{MagicWand texture{MyChrome}} object{SeatPostTop} object{TyrePair} object{Bars} object{CrappySeat} object{Pedals} object{Cranx} object{Grip pigment{Yellow}} object{RGrip pigment{Yellow}} } //end Tallbike union object {Tallbike001 //rotate x*135 rotate x*-225 translate z*25} /*object {Tallbike001 rotate x*135 translate <0,100,100>} object {Tallbike001 rotate x*135 translate <0,200,100>} object {Tallbike001 rotate x*135 translate <0,200,200>} */ //object {BlueSkies}