Tuesday, March 17, 2009

POV-Ray Design


global_settings { assumed_gamma 1.0 }#default{ finish{ ambient 0.1 diffuse 0.9 }} //--------------------------------------------------------------------------#include "colors.inc"#include "textures.inc"#include "glass.inc"#include "metals.inc"#include "golds.inc"#include "stones.inc"#include "woods.inc"#include "shapes.inc"#include "shapes2.inc"#include "functions.inc"#include "math.inc"#include "transforms.inc"//--------------------------------------------------------------------------// camera ------------------------------------------------------------------#declare Camera_0 = camera {/*ultra_wide_angle*/ angle 75 // front view location <0.0> right x*image_width/image_height look_at <0.0>}#declare Camera_1 = camera {/*ultra_wide_angle*/ angle 90 // diagonal view location <2.0> right x*image_width/image_height look_at <0.0>}#declare Camera_2 = camera {/*ultra_wide_angle*/ angle 90 // right side view location <3.0> right x*image_width/image_height look_at <0.0>}#declare Camera_3 = camera {/*ultra_wide_angle*/ angle 90 // top view location <0.0> right x*image_width/image_height look_at <0.0>}camera{Camera_0}// sun ---------------------------------------------------------------------light_source{<1500,2500,-2500> color White}
// sky ---------------------------------------------------------------#include "skies.inc"sky_sphere {S_Cloud4 // 1 - 5 scale 1 } //end of skysphere// fog ---------------------------------------------------------------------fog{fog_type 2 distance 50 color White*0.5 fog_offset 0.1 fog_alt 2.0 turbulence 0.8}
// ground ------------------------------------------------------------plane { <0,1,0>, 0 texture{ pigment{ color rgb<0.35,0.65,0.0>*0.72} normal { bumps 0.75 scale 0.015} finish { phong 0.1} } // end of texture } // end of plane


sphere { <0,0,0>, 0.3
texture{ pigment{ hexagon color White color Gray color Black } finish { diffuse 1 phong .5 } rotate<0,0,0> scale .035 translate<0,-.5,0> } // end of texture
scale<1,1,1> rotate<0,0,0> translate<0,.5,0> } // end of sphere ----------------------------------- object{ // Justification: either Align_Left, Align_Right, or Align_Center /* Circle_Text( Font, Text, LetterSize, LetterSpacing, Deepth, Radius, Inverted, Justification, Angle )*/ Circle_Text("arial.ttf", "GOAAALLLL!!!!!!!", 0.2 , 0.025, 15.00, 1.25, 1, Align_Center, 275) texture{ Polished_Chrome normal { bumps 0.1 scale 0.3} finish { diffuse 0.8 specular 1 reflection 0.25} } // end of texture rotate<10,0,0> scale<1,1,1> translate<0.3,2.8,-1> } // end of Circle_Text object -------------------------------------------
isosurface { //------------------------------------------------------------- function{ f_mesh1( x,y,z, 0.45, // distance between neighboring threads in the x direction, 0.30, // distance between neighboring threads in the z direction, 0.15, // relative thickness in the x and z directions, 0.05, // amplitude of the weaving effect, 0.25 // relative thickness in the y direction ) } contained_by {box {<-1,-1,-1>,<1,1,1>}} threshold 0.01 max_gradient 8 texture{ pigment{ color rgb <0.65,0.45,0.25>} normal { bumps 0.15 scale 0.015} finish { diffuse 0.9 specular 0.2 phong 0.7 } } rotate<-45,10,0> scale 1.5 translate<>} // end of isosurface ------------------------------------------------------- isosurface { //------------------------------------------------------------- function{ f_mesh1( x,y,z, 0.45, // distance between neighboring threads in the x direction, 0.30, // distance between neighboring threads in the z direction, 0.15, // relative thickness in the x and z directions, 0.05, // amplitude of the weaving effect, 0.25 // relative thickness in the y direction ) } contained_by {box {<-1,-1,-1>,<1,1,1>}} threshold 0.01 max_gradient 8 texture{ pigment{ color rgb <0.65,0.45,0.25>} normal { bumps 0.15 scale 0.015} finish { diffuse 0.9 specular 0.2 phong 0.7 } } rotate<0,0,0> scale 1.3 translate<>} // end of isosurface -------------------------------------------------------


2 comments:

corinne said...

Awesome design Kristen! I'm curious to know your frustration level throughout creating your soccer design. Was it relatively easy for you?

Lauren said...

Wow! I've been getting very fustrated with the program but I'm totally blown away with your design- it looks awesome. I definitely second Corinne's question about your fustration level!