PovRayMan

nazipos.pov

Oct 9th, 2014
776
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. object{  // Justification: either Align_Left, Align_Right, or Align_Center          
  95. /* Circle_Text( Font,          Text, LetterSize, LetterSpacing, Deepth, Radius, Inverted,  Justification, Angle )*/    
  96.    Circle_Text("pr.ttf","YOSPOS BITCH",      1,         0,  1, 2.25,   7,          Align_Right,   45 )
  97.         rotate<90,70,0>
  98.         scale<2,2,2>
  99.         translate<0,.5,-1.25>
  100.         pigment { White }
  101.         finish { F_MetalE }        
  102. }
  103.  
  104.  
  105. object { yospos_bitch }
  106.  
  107.  
  108. // Flat red ground
  109. // was going to originally cut text into ground
  110. plane{y,0 pigment {Red}}
  111. //box { <-200,0,-200> <200,-5,200> pigment { Red } }
RAW Paste Data