// Persistence of Vision Ray Tracer Scene Description File // File: RMCRing.pov // Vers: 3.1 or is it like 3.7 these days? // Desc: soon to be the quintissential collecion of bike tire producing macros // Date: begun September 13,2002 // Auth: dookie x (dookiex@counterbalancebicycles.com) //tallbike fancy Renegade Muscle Club? Musss-Cull? we'll never know... #declare FiddyOneTeeth=difference{object{Sprock(51)} cylinder{-x,x,3.8} } #declare TrannyStamp=difference{cone{.12*x, 3.68, 0, 3.83} //stamped transition cone{.13*x, 3.62, -.01*x,3.77} } #declare Fat=1; // skinny/fatness of points #declare Spikes = 5; #declare R = (3-sqrt(Spikes))/2 * Fat; // only works right with 5 now... <-what that mean? #declare StarHole=prism { linear_sweep -.5, .5, 2*Spikes //star from the 'net #declare Count = 0; #while (Count , <-sin(Angle+pi/Spikes), cos(Angle+pi/Spikes)> * R #declare Count = Count+1; #end//while Count //pigment { color rgb <.6, .6, 1> } rotate<0,-18,-90> } #declare BigStarHole=object{StarHole translate y*1.53 scale 1.40} #declare LittleStarHole=object{StarHole rotate x*180 translate y*-3.1 scale .85} #declare BothStarHoles=union{object{BigStarHole} object{LittleStarHole}} #declare AllStarHoles=union{object{BothStarHoles} object{BothStarHoles rotate x*120} object{BothStarHoles rotate x*240}} #declare StarDisc=difference{cylinder{.08*x,.12*x,3.65} cylinder{.07*x,.13*x,.5} object{AllStarHoles} } #declare RMCRing=union{object{FiddyOneTeeth } object{TrannyStamp } object{StarDisc } }