brucelay Posted May 23, 2005 Share Posted May 23, 2005 I am a CG student currently learning Houdini and Renderman. Does anyone know how I can render the occlusion pass with renderman in Houdini? I did try to make a occlusion shader with the occlusion Vop in Vex builder. But it worked only in Mantra. The same way does not work in Rman. Does anyone know how I can make it work in rman? Thank you for your attention! Quote Link to comment Share on other sites More sharing options...
brucelay Posted June 10, 2005 Author Share Posted June 10, 2005 Hi! I am trying to render occlusion in renderman. It only looks fine with spheres but looks wrong with cube. Does anyone know why? Thank you for your attentions! #include "normals.h" light occlusionlight2( float samples = 256; color filter = color(1); output float __nonspecular = 1;) { normal Ns = shadingnormal(N); illuminate (Ps + Ns) { /* force execution independent of light location */ float occ = occlusion(Ps, Ns, samples); Cl = filter * (1 - occ); } } Quote Link to comment Share on other sites More sharing options...
rjpieke Posted June 10, 2005 Share Posted June 10, 2005 Hi!I am trying to render occlusion in renderman. It only looks fine with spheres but looks wrong with cube. Does anyone know why? Thank you for your attentions! #include "normals.h" light occlusionlight2( float samples = 256; color filter = color(1); output float __nonspecular = 1;) { normal Ns = shadingnormal(N); illuminate (Ps + Ns) { /* force execution independent of light location */ float occ = occlusion(Ps, Ns, samples); Cl = filter * (1 - occ); } } 18677[/snapback] If you're using a Box SOP, try turning off "consolidate corner points" Quote Link to comment Share on other sites More sharing options...
brucelay Posted June 11, 2005 Author Share Posted June 11, 2005 Thanks again! rjpieke! It works! many many thanks! Quote Link to comment Share on other sites More sharing options...
Marc Posted June 13, 2005 Share Posted June 13, 2005 Threads merged Please do not start a new thread for every question. If they are related (or in fact the same question) then please continue with the current thread. M Quote Link to comment Share on other sites More sharing options...
brucelay Posted June 13, 2005 Author Share Posted June 13, 2005 Threads mergedPlease do not start a new thread for every question. If they are related (or in fact the same question) then please continue with the current thread. M 18716[/snapback] Marc I am sorry about this! I will keep them in one thread in the future. Sorry again! and thank you for reminding me! Quote Link to comment Share on other sites More sharing options...
brucelay Posted June 25, 2005 Author Share Posted June 25, 2005 HI I am trying to do some colour bleedings in Houdini with Rman. I used the "irradiance caching" method to generate the .icf files (read/write) Then I assign the indirect light shader(from prman) to render the colour bleeding scene. But the result is not very good. Can someone pls help me how I can improve the quality of the colour bleeding. I tried to tune up the "Max diffuse depth", but it takes ages to render. If you are a prman and Houdini user, how do you normal do the "colour bleeding" with "irridiance caching" in Houdini? Thank you for your time and patience! Any help will be appreciated! brucelay 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.