Jump to content

Normal Pass output for volume cloud


kensonuken

Recommended Posts

Is there any possibility to renderout worldspace normal pass to balance things in post...?

I mean what could be the shader connections... any sample file for this?

You can simply export N in the "Extra Image Planes" section in the ROP. How you want to deal with opacity is up to you. (See attached hipfile)

This will be the gradient of the Volume in camera space. If you want it in Object Space or World Space, you'll have to, in your shader, take N and wire it into a Transform VOP (direction, current->world) and wire that into a Parameter VOP (export toggled) and then use this variable in your VEX Variable field in your "Extra Image Planes".

Does that make sense?

Jason

volumenormaloutput.hipnc

post-4-1219529748_thumb.jpg

Link to comment
Share on other sites

thanks jason. what if I want bent normal? then do i need to write a shader for it? do u have any shader which can output bentnormal...coz i saw some video stuff from Digital Domain where for the Day After tomorrow They seem using that but I believe it was just worldspace Normal rather than Bentnormal... what do u say.. which one would work best?

Link to comment
Share on other sites

thanks jason. what if I want bent normal? then do i need to write a shader for it? do u have any shader which can output bentnormal...coz i saw some video stuff from Digital Domain where for the Day After tomorrow They seem using that but I believe it was just worldspace Normal rather than Bentnormal... what do u say.. which one would work best?

Ready to use bend normal tool in Houdini is a second version of occlusion() call in VEX. This is a ray tracing call, so you most probably wouldn't like to use it with a volumes. I'm curious about point cloud/normals method as a replacement for ray tracing but as far as I know there isn't such shader around (for filtering point cloud normals) and hard to say how it would work in pair with volumes.

Besides that I've never heard about applying some GI on volumes. Most often people try to stick with local illumination and classic three light setup tough this is definitely interesting topic :)

cheers,

sy.

Edited by SYmek
Link to comment
Share on other sites

well symek the point is that i dont want to go with gi solution for volumes since i would like to control everything on post its better to get N out of it. But since we need to render out occlusion as well i think it will give much realism.. wat do u say?

I say people usually try to avoid computing anything but opacity on volumes because it takes ages, and most often soft shadows (depth map based) give much of that self occlusion look people need.

Edited by SYmek
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...