Bernard Posted October 15, 2007 Share Posted October 15, 2007 (edited) Hello, I'm studying the PRMan Application Notes on Global Illumination, specific Environment Illumination. When I execute this rib file, I don't get the image shown in the Application Notes. FrameBegin 1 Format 400 300 1 PixelSamples 4 4 ShadingInterpolation "smooth" Display "occlusion" "it" "rgba" # render image to 'it' Projection "perspective" "fov" 22 Translate 0 -0.5 8 Rotate -40 1 0 0 Rotate -20 0 1 0 WorldBegin LightSource "environmentlight4" 1 "environmentmap" "greenandblue.tex" "samples" 256 Attribute "visibility" "int diffuse" 1 # make objects visible to rays Attribute "visibility" "int specular" 1 # make objects visible to rays Attribute "trace" "bias" 0.005 # Ground plane AttributeBegin Surface "matte" Color [1 1 1] Scale 3 3 3 Polygon "P" [ -1 0 1 1 0 1 1 0 -1 -1 0 -1 ] AttributeEnd # Sphere AttributeBegin Surface "matte" Color 1 1 1 Translate -0.7 0.5 0 Sphere 0.5 -0.5 0.5 360 AttributeEnd # Box (with normals facing out) AttributeBegin Surface "matte" Translate 0.3 0.01 0 Rotate -30 0 1 0 Color [1 1 1] Polygon "P" [ 0 0 0 0 0 1 0 1 1 0 1 0 ] # left side Polygon "P" [ 1 1 0 1 1 1 1 0 1 1 0 0 ] # right side Color [1 1 1] Polygon "P" [ 0 1 0 1 1 0 1 0 0 0 0 0 ] # front side Polygon "P" [ 0 0 1 1 0 1 1 1 1 0 1 1 ] # back side Color [1 1 1] Polygon "P" [ 0 1 1 1 1 1 1 1 0 0 1 0 ] # top AttributeEnd WorldEnd FrameEnd I'm using the environmentlight4.sl shader and a green to blue texture like the examples stated. Attached is the image that I get when rendered with the command prman env.rib (the name of the rib file) What do I wrong and how can I get the image like the Application Notes show. Using PRMan 12.5 thanks, bern Edited October 15, 2007 by Bernard Quote Link to comment Share on other sites More sharing options...
jhiggins Posted October 16, 2007 Share Posted October 16, 2007 it would probably be good for you to post your message to the renderman forum. you don't seem to be doing anything specific to houdini, i'm assuming your compiled your shader and are just rendering in the command line via prman yourrib.rib are there any outputs from prman maybe it can't find the texture? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.