saml Posted January 13, 2009 Share Posted January 13, 2009 Hi, I am unable to generate a point cloud file from an RSL shader within Houdini to be used for SSS. I may be using the wrong workflow but when I render out my RIBs from the renderman ROP, the RIB file is created successfully but it is not generating the .ptc file. The shader I have applied to my geometry to bake out a .ptc file is as follows: surface bake_radiance_t( string filename = "$HIP/maps/sss.ptc", displaychannels = "_area,_radiance_t"; color sc = 1) { color irrad, rad_t; normal Nn = normalize(N); float ar = area(P, "dicing"); /* Direct Illumination (ambient and diffuse) */ irrad = sc * ambient() + diffuse(Nn); /* Store in point cloud file */ bake3d(filename, displaychannels, P, Nn, "interpolate", 1, "_area", ar, "_radiance_t", irrad); Oi = Os; Ci = irrad * Os; } Are there any specific settings I have to apply in Houdini for ptc's? Thanks in advance for any assistance to resolve this! Sam. Quote Link to comment Share on other sites More sharing options...
Alanw Posted January 13, 2009 Share Posted January 13, 2009 Have you specified AOV's on your RenderMan ROP for those channels? Quote Link to comment Share on other sites More sharing options...
saml Posted January 14, 2009 Author Share Posted January 14, 2009 Have you specified AOV's on your RenderMan ROP for those channels? Thanks Alan, that fixed the problem. I hadn't included the channels in the AOV's. 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.