Guest User

Pen WIP

a guest
Nov 15th, 2016
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pen.rib
  2. #A WIP by Tom Hoxey
  3. Display "pen.tiff" "file" "rgb"
  4. Format 1280 960 1.0
  5. Exposure 1.0 2.2
  6. Quantize "rgba" 255 0 255 0
  7.  
  8. Hider "raytrace" "int incremental" [1]
  9. Integrator "PxrPathTracer" "integrator"
  10. #Integrator "PxrDefault" "integrator"
  11. Projection "perspective" "fov" [30]
  12. #Projection "orthographic" "fov" [30]
  13.  
  14.  
  15. Translate 0 -0.5 5
  16. #Rotate 90 0 1 0
  17. WorldBegin
  18. Bxdf "PxrDisney" "forTheSky" "color baseColor" [1 1 1]
  19. #Sphere 5 -5 5 360
  20. AttributeBegin
  21. AreaLightSource "PxrStdAreaLight" "theLight" "float exposure" [5]
  22. Translate 0 0 0
  23. Patch "bilinear" "P"
  24. [# X Y Z
  25. -5 0 -5
  26. 5 0 -5
  27. -5 0 5
  28. 5 0 5
  29. ]
  30. AttributeEnd
  31. AttributeBegin
  32. AreaLightSource "PxrStdAreaLight" "theLight" "float exposure" [5]
  33. Translate 0 0 0
  34. Patch "bilinear" "P"
  35. [# X Y Z
  36. -5 1 -5
  37. 5 1 -5
  38. -5 1 5
  39. 5 1 5
  40. ]
  41. AttributeEnd
  42.  
  43. AttributeBegin
  44. Translate -0.2 0.25 0
  45. Scale 0.15 0.15 0.15
  46. #-----------Lid----------------------------
  47. TransformBegin
  48. #Rotate 270 0 1 0
  49. Translate 2 0.9 0
  50. Scale 1.1 1.3 1.3
  51. Bxdf "PxrDisney" "forTheSky" "color baseColor" [0 0 1]
  52. #-----------Cylinder>LidLip----------------------------
  53. TransformBegin
  54. Translate 5.05 0.5 0.5
  55. Rotate 90 0 1 0
  56. Scale 0.55 0.55 0.05
  57. Cylinder 1 -1 0.3 360
  58. #Scale 1.5 1.5 1
  59. Disk 0 1 360
  60. TransformEnd
  61. #-----------Spere>ClipLip----------------------------
  62. TransformBegin
  63. Translate 5.05 0.95 0.5
  64. Rotate 90 -0 1 -0.2
  65. Scale 0.2 0.25 0.12
  66. Sphere 1 -1 1 205
  67. TransformEnd
  68. #-----------Sphere>Clip----------------------------
  69. TransformBegin
  70. Translate 4.7 0.85 0.5
  71. Rotate 358.5 0 0 1
  72. Scale 2.5 0.3 0.2
  73. Sphere 1 -1 1 180
  74. TransformEnd
  75. #------------Paraboloid>Lid---------------------------
  76. TransformBegin
  77. Translate 8.2 0.5 0.5
  78. Rotate 270 0 1 0
  79. Scale 0.1 0.1 0.45
  80. Paraboloid 5 .2 7 360
  81. TransformEnd
  82. TransformEnd
  83. #------------End Cap---------------------------
  84. TransformBegin
  85. #Rotate 270 1 0 0
  86. Translate -7.5 1.5 0
  87. Scale 0.5 0.5 0.5
  88. #------------Round End>Sphere---------------------------
  89. TransformBegin
  90. Translate 0 0 0
  91. Rotate 90 0 0 1
  92. Scale 1 0.3 1
  93. Sphere 1 -1 1 180
  94. TransformEnd
  95. #------------Cap Body1>Cylinder---------------------------
  96. TransformBegin
  97. Translate 0.2 0 0
  98. Rotate 90 0 1 0
  99. Scale 1 1 0.2
  100. Cylinder 1 -1 1 360
  101. TransformEnd
  102. #------------Cap Body2>Cylinder---------------------------
  103. TransformBegin
  104. Translate 1 0 0
  105. Rotate 90 0 1 0
  106. Scale 0.95 0.95 1
  107. Cylinder 1 -1 1 360
  108. TransformEnd
  109. #------------Cap Body3>Disk---------------------------
  110. TransformBegin
  111. Translate 0.4 0 0
  112. Rotate 90 0 1 0
  113. Scale 1 1 1
  114. Disk 0 1 360
  115. TransformEnd
  116. #------------Cap Detail>Disk---------------------------
  117. TransformBegin
  118. Translate 1 0 0
  119. Rotate 90 0 1 0
  120. Scale 1 1 1
  121. Disk 0 1 360
  122. TransformEnd
  123. TransformEnd
  124. #------------Shaft---------------------------
  125. TransformBegin
  126. Translate 0 1 0
  127. Scale 1.5 1 1
  128. TransformBegin
  129. Bxdf "PxrDisney" "forTheSky" "color baseColor" [0.0001 0 0.001]
  130. "float specular" [0]
  131. Translate 2 0.5 0.5
  132. Rotate 90 0 1 0
  133. Scale 0.1 0.1 0.1
  134. Cylinder 1 -30 30 360
  135. TransformEnd
  136. TransformBegin
  137. Scale 5 0.25 0.25
  138. Bxdf "PxrGlass" "PenShaft" "float ior" [1.62]
  139. "float roughness" [0.1]
  140.  
  141. GeneralPolygon [7] "P"
  142. [
  143. -1 2 0
  144. -1 4 1
  145. -1 4 3
  146. -1 2 4
  147. -1 0 3
  148. -1 0 1
  149. -1 2 0
  150. ]
  151. Patch "bilinear" "P"
  152. [# X Y Z
  153. -1 2 0
  154. -1 4 1
  155. 1 2 0
  156. 1 4 1
  157. ]
  158. Patch "bilinear" "P"
  159. [# X Y Z
  160. -1 4 1
  161. -1 4 3
  162. 1 4 1
  163. 1 4 3
  164. ]
  165. Patch "bilinear" "P"
  166. [# X Y Z
  167. -1 4 3
  168. -1 2 4
  169. 1 4 3
  170. 1 2 4
  171. ]
  172. Patch "bilinear" "P"
  173. [# X Y Z
  174. -1 2 4
  175. -1 0 3
  176. 1 2 4
  177. 1 0 3
  178. ]
  179. Patch "bilinear" "P"
  180. [# X Y Z
  181. -1 0 3
  182. -1 0 1
  183. 1 0 3
  184. 1 0 1
  185. ]
  186. Patch "bilinear" "P"
  187. [# X Y Z
  188. -1 0 1
  189. -1 2 0
  190. 1 0 1
  191. 1 2 0
  192. ]
  193. TransformEnd
  194. TransformEnd
  195. AttributeEnd
  196. WorldEnd
RAW Paste Data