Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. Display "baseball.tiff" "it" "rgb"
  2. #Format 1980 1080 1.0
  3. Format 640 420 1.0
  4.  
  5. Hider "raytrace" "int incremental" [1] "int maxsamples" [16]
  6. PixelVariance 0.01
  7. Integrator "PxrPathTracer" "integrator"
  8.  
  9. Projection "perspective"
  10.  
  11. Translate 0 0 2
  12.  
  13. WorldBegin
  14.  
  15. #------------------------------#
  16. # LIGHTING
  17. #------------------------------#
  18.  
  19. AttributeBegin
  20. Rotate 70 0 1 0
  21. Rotate -90 1 0 0
  22. Light "PxrDomeLight" "theLight"
  23. "float exposure" [0]
  24. "string lightColorMap" ["env.tx"]
  25. "float shadowFalloff" [0.5]
  26. AttributeEnd
  27.  
  28. #------------------------------#
  29. # BASEBALL BALL
  30. #------------------------------#
  31.  
  32. AttributeBegin
  33. Rotate 45 1 0 0
  34. #Pattern "XXXX" "myShader" "color Cin" [0.9 0.1 0.1]
  35. #Bxdf "PxrDisney" "forTheTeapot" "reference color baseColor" ["myShader:Cout"]
  36.  
  37. Pattern "PxrManifold2D" "manifoldBall"
  38. "float scaleS" [2]
  39. "float scaleT" [2]
  40.  
  41. Pattern "PxrTexture" "ballTex"
  42. "string filename" ["sasso.tx"]
  43. "int filter" [2]
  44. "reference struct manifold" ["manifoldBall:result"]
  45.  
  46. Pattern "PxrNormalMap" "ballNormMap" "string filename" ["sassoNorm.tx"]
  47. "float bumpScale" [2.5]
  48. "int invertBump" [1]
  49. "reference struct manifold" ["manifoldBall:result"]
  50.  
  51. Bxdf "PxrSurface" "pebbles"
  52. "reference color diffuseColor" ["ballTex:resultRGB"]
  53. #"reference normal diffuseColor" ["ballNormMap:resultN"]
  54. "reference normal diffuseBumpNormal" ["ballNormMap:resultN"]
  55. # "float subsurfaceGain" [0]
  56. # "float diffuseRoughness" [1.0]
  57. # "float diffuseGain" [0.5]
  58. # "float specularRoughness" [1.0]
  59.  
  60. Sphere 1 -1 1 360
  61.  
  62. AttributeEnd
  63.  
  64. #------------------------------#
  65. # GROUND
  66. #------------------------------#
  67.  
  68. AttributeBegin
  69.  
  70. # Translate 0 -1 0
  71. # Scale 4 1 1
  72.  
  73. # Pattern "colour" "colourShader" "color Cin" [1.0 1.0 1.0]
  74. # Bxdf "PxrDisney" "forTheTable" "reference color baseColor" ["colourShader:Cout"]
  75.  
  76.  
  77. Pattern "PxrManifold2D" "manifoldGround"
  78. "float scaleS" [4]
  79. "float scaleT" [4]
  80.  
  81. Pattern "PxrTexture" "groundTex"
  82. "string filename" ["gravel.tx"]
  83. "reference struct manifold" ["manifoldGround:result"]
  84.  
  85. Pattern "PxrNormalMap" "groundNormMap" "string filename" ["gravelNorm.tx"]
  86. "float bumpScale" [3.0]
  87. "int invertBump" [0]
  88. "reference struct manifold" ["manifoldGround:result"]
  89.  
  90. Bxdf "PxrSurface" "ground"
  91. "reference color diffuseColor" ["groundTex:resultRGB"]
  92. #"reference normal diffuseColor" ["groundNormMap:resultN"]
  93. "reference normal diffuseBumpNormal" ["groundNormMap:resultN"]
  94.  
  95.  
  96. # Polygon "P" [ 0 0 0 1 0 0 1 1 0 0 1 0 ]
  97. # Polygon "P" [ -2 0 -2 -2 0 2 2 0 -2 2 0 2 ]
  98.  
  99. # Pattern "carbonfiber" "testCarbon"
  100. # "string diffuseTexture" "stone.tx" "string bumpTexture" "stoneNorm.tx"
  101.  
  102. TransformBegin
  103. Translate 0 -1 0
  104. Scale 4 1 1
  105. Patch "bilinear" "P" [ 1 0 1 1 0 -1 -1 0 1 -1 0 -1 ]
  106. TransformEnd
  107.  
  108. AttributeEnd
  109.  
  110. WorldEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement