Jump to content

Rendering Pyro in Houdini12 using PRMan17


Recommended Posts

Hi, recently, I'm using Houdini to make clouds. I use the Houdini self tool "Pyro FX->Volcano" to emit smoke from a lot of spheres, and then I can make the clouds I like. Please see the attachment picture 1, which is rendered by Mantra.

Because I feel it quite slow when using Mantra, and I have Pixar's RenderMan in hand, so I try to render my clouds using PRMan to speed up rendering. But, I can't get what I want, please see attachment picture 2.

I know I need to using Light Template when using PRMan, does I miss anything else for successfully rendering Pyro in PRMan?

Thanks a lot.

post-8727-0-51942100-1350095813_thumb.jp

post-8727-0-99971400-1350095933_thumb.jp

Link to comment
Share on other sites

Try this shader for your clouds.


class
simple_vol_density(varying float density = 1; uniform float densityMultiplier = 1;)
{
public void surface(output color Ci, Oi)
{
color Cdiff = 0;
illuminance(P) {
Cdiff += Cl;
}
Oi = density*VolumeField*densityMultiplier;
Ci = Cdiff * Oi;
}
}
[/CODE]

Be aware, the majority of prman 17's volume related attributes are not supported in Houdini yet. (only prman 16) So you will either have to add them using an include, or modify soho. I wouldn't even try rendering without them. (see Pixar's documentation)

It's questionable whether or not you'll actually see any gains in speed. Mantra certainly knows how to render volumes.

Edited by Alanw
  • Like 1
Link to comment
Share on other sites

  • 4 months later...

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...