PovRayMan

nazipos-requests.pov

Dec 9th, 2014
724
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Persistence of Vision Ray Tracer Scene Description File
  2. // File: nazipos.pov
  3. // Vers: 3.7
  4. // Desc: The Flag of Yospos
  5. // Date: 10/01/2014
  6. // Auth: PovRayMan
  7.  
  8. #include "colors.inc"
  9. #include "shapes.inc"
  10. #include "finish.inc"
  11. #include "metals.inc"
  12.  
  13. // final camera angle setup for 16:9 rendering.
  14.  
  15. camera {
  16.         location <0,10,-10>
  17.         look_at <0,-3,0>
  18.         right 16/9*x
  19.         }
  20.  
  21.  
  22. // boring light source        
  23. //light_source { <-50,50,-50> color White }
  24.  
  25. // fancy light source giving soft shadows
  26. light_source {
  27.   <0,0,0>        
  28.   color rgb 2.0  
  29.   area_light
  30.   <45, 0, 0> <0, 20, 45>
  31.   90, 90
  32.   adaptive 1          
  33.   jitter              
  34.   circular            
  35.   orient              
  36.   //translate <-40,40,20>
  37.   translate <0,40,20>
  38. }
  39.  
  40. // radiosity because reasons
  41. // needs tweaking because splotchy
  42.  
  43. global_settings {
  44.  
  45.       radiosity {
  46.                 pretrace_start 0.08  
  47.                 pretrace_end   0.04
  48.                 count 1600          
  49.                 nearest_count 9    
  50.                 error_bound 4.8    
  51.                 recursion_limit 20
  52.                 low_error_factor .6
  53.                 gray_threshold 0  
  54.                 minimum_reuse 0.015
  55.                 brightness 1      
  56.                 adc_bailout 0.01/2
  57.                 always_sample on
  58.                 }
  59. }
  60.  
  61.  
  62. // The Logo
  63. #declare Swazpos =
  64. union{
  65. // bottom horizontal
  66. box { <0,0,0> <3,1,1> }
  67. // right vertical
  68. box { <4,0,0> <5,1,3> }
  69. // middle cross bar
  70. box { <0,0,2> <5,1,3> }
  71. // middle vertical
  72. box { <2,0,0> <3,1,5> }
  73. // left vertical
  74. box { <0,0,2> <1,1,5> }
  75. // top horizontal
  76. box { <2,0,4> <5,1,5> }
  77.  
  78. pigment { Black }
  79. }
  80.  
  81. // The Pure White platform.
  82. cylinder { <0,0,0> <0,1,0>, 4.75 pigment { White } }
  83.  
  84. // Declaring the object and translating
  85. // off center to make it look closer in
  86. // the low camera angle.  I probably
  87. // could have designed the camera angle
  88. // more correctly to not need to fake it
  89. // this way but again... reasons.
  90. object { Swazpos translate <-2.75,.65,-3> rotate -45*y }
  91.  
  92.  
  93. #declare yospos_bitch =
  94.  
  95. object{  // Justification: either Align_Left, Align_Right, or Align_Center          
  96. /* Circle_Text( Font,          Text, LetterSize, LetterSpacing, Deepth, Radius, Inverted,  Justification, Angle )*/    
  97.    Circle_Text("pr.ttf","YOSPOS BITCH",      1,         0,  1, 2.25,   7,          Align_Right,   45 )
  98.         rotate<90,70,0>
  99.         scale<2,2,2>
  100.         translate<0,.5,-1.25>
  101.         pigment { White }
  102.         finish { F_MetalE }        
  103. }
  104.  
  105. #declare yospos_bitch_germanfont =
  106. object{  // Justification: either Align_Left, Align_Right, or Align_Center          
  107. /* Circle_Text( Font,          Text, LetterSize, LetterSpacing, Deepth, Radius, Inverted,  Justification, Angle )*/    
  108.    Circle_Text("FetteClassicUNZFraktur.ttf","Yospos Bitch",      1,         0,  1, 2.45,   7,          Align_Right,   45 )
  109.         rotate<90,67,0>
  110.         scale<2,2,2>
  111.         translate<0,.5,-0.5>
  112.         pigment { White }
  113.         finish { F_MetalE }        
  114. }
  115.  
  116. #declare im_gay =
  117. object{  // Justification: either Align_Left, Align_Right, or Align_Center          
  118. /* Circle_Text( Font,          Text, LetterSize, LetterSpacing, Deepth, Radius, Inverted,  Justification, Angle )*/    
  119.    Circle_Text("comic.ttf","I'm Gay",      1,         0,  1, 2.45,   7,          Align_Right,   45 )
  120.         rotate<90,90,0>
  121.         scale<2,2,2>
  122.         translate<0,.5,-0.5>
  123.         pigment { White }
  124.         finish { F_MetalE }        
  125. }    
  126.    
  127. #declare smoke_trees =
  128. object{  // Justification: either Align_Left, Align_Right, or Align_Center          
  129. /* Circle_Text( Font,          Text, LetterSize, LetterSpacing, Deepth, Radius, Inverted,  Justification, Angle )*/    
  130.    Circle_Text("helvetica-neue-ultra-light.ttf","Smoke Trees",      1,         0,  1, 2.45,   7,          Align_Right,   45 )
  131.         rotate<90,75,0>
  132.         scale<2,2,2>
  133.         translate<-0.2,.5,-0.5>
  134.         pigment { White }
  135.         finish { F_MetalE }        
  136. }
  137.    
  138. object { smoke_trees }
  139.  
  140.  
  141. // Flat red ground
  142. // was going to originally cut text into ground
  143. //plane{y,0 pigment {Red}}
  144.  
  145. plane {
  146.         y, 0
  147.        
  148.         pigment{ image_map {jpeg "weed.jpg" }rotate 90*x rotate 40*y scale 5 translate -.5*x}  
  149.        
  150.  
  151. finish {
  152.     ambient 1
  153.     brilliance 1
  154.     diffuse 0.3
  155.     metallic
  156.     specular 2.25
  157.     roughness .25
  158.     reflection 0
  159. }
  160.        
  161.        
  162.         }
  163.  
  164.  
  165. //box { <-200,0,-200> <200,-5,200> pigment { Red } }
RAW Paste Data