Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Display "baseball.tiff" "it" "rgb"
- #Format 1980 1080 1.0
- Format 640 420 1.0
- Hider "raytrace" "int incremental" [1] "int maxsamples" [16]
- PixelVariance 0.01
- Integrator "PxrPathTracer" "integrator"
- Projection "perspective"
- Translate 0 0 2
- WorldBegin
- #------------------------------#
- # LIGHTING
- #------------------------------#
- AttributeBegin
- Rotate 70 0 1 0
- Rotate -90 1 0 0
- Light "PxrDomeLight" "theLight"
- "float exposure" [0]
- "string lightColorMap" ["env.tx"]
- "float shadowFalloff" [0.5]
- AttributeEnd
- #------------------------------#
- # BASEBALL BALL
- #------------------------------#
- AttributeBegin
- Rotate 45 1 0 0
- #Pattern "XXXX" "myShader" "color Cin" [0.9 0.1 0.1]
- #Bxdf "PxrDisney" "forTheTeapot" "reference color baseColor" ["myShader:Cout"]
- Pattern "PxrManifold2D" "manifoldBall"
- "float scaleS" [2]
- "float scaleT" [2]
- Pattern "PxrTexture" "ballTex"
- "string filename" ["sasso.tx"]
- "int filter" [2]
- "reference struct manifold" ["manifoldBall:result"]
- Pattern "PxrNormalMap" "ballNormMap" "string filename" ["sassoNorm.tx"]
- "float bumpScale" [2.5]
- "int invertBump" [1]
- "reference struct manifold" ["manifoldBall:result"]
- Bxdf "PxrSurface" "pebbles"
- "reference color diffuseColor" ["ballTex:resultRGB"]
- #"reference normal diffuseColor" ["ballNormMap:resultN"]
- "reference normal diffuseBumpNormal" ["ballNormMap:resultN"]
- # "float subsurfaceGain" [0]
- # "float diffuseRoughness" [1.0]
- # "float diffuseGain" [0.5]
- # "float specularRoughness" [1.0]
- Sphere 1 -1 1 360
- AttributeEnd
- #------------------------------#
- # GROUND
- #------------------------------#
- AttributeBegin
- # Translate 0 -1 0
- # Scale 4 1 1
- # Pattern "colour" "colourShader" "color Cin" [1.0 1.0 1.0]
- # Bxdf "PxrDisney" "forTheTable" "reference color baseColor" ["colourShader:Cout"]
- Pattern "PxrManifold2D" "manifoldGround"
- "float scaleS" [4]
- "float scaleT" [4]
- Pattern "PxrTexture" "groundTex"
- "string filename" ["gravel.tx"]
- "reference struct manifold" ["manifoldGround:result"]
- Pattern "PxrNormalMap" "groundNormMap" "string filename" ["gravelNorm.tx"]
- "float bumpScale" [3.0]
- "int invertBump" [0]
- "reference struct manifold" ["manifoldGround:result"]
- Bxdf "PxrSurface" "ground"
- "reference color diffuseColor" ["groundTex:resultRGB"]
- #"reference normal diffuseColor" ["groundNormMap:resultN"]
- "reference normal diffuseBumpNormal" ["groundNormMap:resultN"]
- # Polygon "P" [ 0 0 0 1 0 0 1 1 0 0 1 0 ]
- # Polygon "P" [ -2 0 -2 -2 0 2 2 0 -2 2 0 2 ]
- # Pattern "carbonfiber" "testCarbon"
- # "string diffuseTexture" "stone.tx" "string bumpTexture" "stoneNorm.tx"
- TransformBegin
- Translate 0 -1 0
- Scale 4 1 1
- Patch "bilinear" "P" [ 1 0 1 1 0 -1 -1 0 1 -1 0 -1 ]
- TransformEnd
- AttributeEnd
- WorldEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement