Jump to content

Occlusion Question


Recommended Posts

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!

Link to comment
Share on other sites

  • 3 weeks later...

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);

}

}

post-894-1118428348_thumb.jpg

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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

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!

Link to comment
Share on other sites

  • 2 weeks later...

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

post-894-1119684753_thumb.jpg

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...