##RenderMan RIB Option "ribparse" "string varsubst" ["^"] Option "user" "string jobid" ["2_spheres"] ##RenderMan RIB Declare "resolution" "constant float[2]" Declare "baseColor" "color" ArchiveBegin "lighting" AttributeBegin # this is our lights Translate 5 5 5 Light "PxrEnvDayLight" "light1" Geometry "envsphere" "constant float[2] resolution" [1024 1024] AttributeEnd AttributeBegin Translate -5 5 -5 Light "PxrEnvDayLight" "light2" Geometry "envsphere" "constant float[2] resolution" [1024 1024] AttributeEnd ArchiveEnd Display "test.exr" "openexr" "rgba" Format 640 480 1 Projection "perspective" "float fov" [30] Hider "raytrace" "int maxsamples" [64] "int minsamples" [16] "int incremental" [100] "float[4] aperture" [0 0 0 0] Integrator "PxrPathTracer" "production" Shutter 0 1 System "date; echo starting job ^{Option:user:jobid}" WorldBegin ObjectBegin "object#1" Sphere 1 -1 1 360 ObjectEnd ReadArchive "test2.rib" Translate 0 0 10 ReadArchive "lighting" Illuminate "light1" 1 Illuminate "light2" 1 AttributeBegin MotionBegin [0 .5 1] Translate 1 0 0 Translate 0 0 0 Translate -1 0 0 MotionEnd Bxdf "PxrDisney" "surface" "baseColor" [1 0 0] ObjectInstance "object#1" AttributeEnd AttributeBegin Bxdf "PxrDisney" "surface_2" "color baseColor" [0 1 0] Sphere 1 -1 1 360 AttributeEnd WorldEnd System "date; echo rendered job ^{Option:user:jobid}"