Jump to content

VEX velocity to shake - doing mblur


Jostein

Recommended Posts

Tip for doing this entirely with Houdini (maybe easier...)

1) get the velocity of each point of your SOP.

If your SOP comes from a POP, it already has got a velocity attribute.

If it doesn't, create a new attribute ( with an AttribCreate SOP) and call

it velocity

2) to get the velocity of each SOP point, you need to compute it from it's position.

For this. Use a geometry CHOP, append a Slope CHOP

3) go back in SOPs and append a Channel SOP ( which often works in conjuction with a geometryCHOP) which refers to the Slope CHOP

3) When creating your velocity shader, create a Parameter Vop with parameter name : velocity

and turn on Export Parameter. It will bring the Point Attribute to your shader with interpolating it between each point.

4) You can create a DeepRaster of your object, using a velocity plane.

5) In COPs use a VelocityBlur COP.

See my example ( re-render the scene ). ( done with H6.1.200 NC) Download The Scene Here

Hope it helps.

Link to comment
Share on other sites

  • 4 weeks later...

Hi Jostein.

Sorry i didn't answer. I forgot about it because i thought you would only use Shake.

I send you the file again, zipped:

click here:

(But in fact I think my answer is not correct, but we don't see it on a regular object like a plane).

I think you have to convert the velocity attribute to NDC first (just append a ChangeSpaceToNDC vopin the vopnet), because i cannot figure how Houdini can compute the velocity in image space at compositing time, since he lost the information about the camera location (although it is not mentioned in the VelocityBlurCOP help).

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