Jump to content

Motion Blur on procedural texture


Recommended Posts

Hi guys,

We have a strange problem in Houdini with our shading. We're using procedural textures for the terrain shading (the green noise pattern) but it doesn't seem to receive any motion blur.

You can see the road and the mud having correct motion blur due to them being textures, but not the procedural textures.

Do you have any idea why this is happening?

Thanks for your help!

 

post-12817-0-81412000-1443616596_thumb.j

Link to comment
Share on other sites

We do use a rest attribute and the texture isn't sliding.

 

My file only contains digital assets so it might be difficult to share it.
I'll make you a file with only the shading when I have some free time. Thanks for your help =) !

 

Link to comment
Share on other sites

Make sure your rest position is also in worldspace when you pull it in. I haven't tried, but I wonder if you force your rest position into the noise, but also link it to camera space, that your texture will stick onto geo correctly, but not be affected by motion blur with camera movement... Haven't tried it, but could be what's happening?

Link to comment
Share on other sites

try to toggle it off. Probably the geo don´t have velocity, so it won´t have motion blur.

 

When I toggle it off the the image texture (the mud close to the road) doesn't have motion blur any more. So it seems to be correctly affecting the terrain for the image texture, but not for the procedural ones.

Link to comment
Share on other sites

The rest position were all set on "space:object", I tried to switch them all to "space:world" but it doesn't seem to make any difference unfortunately.

 

wait.  are you referring to the rest position vop in your shader?  that's not assigning the rest position, that's importing the rest position from the geometry if it exists.  if it DOESN'T exist, it will then pull in the global shader space P (or whatever point you plug into it) and transform that into the space you indicate in the vop.  frankly, that should work for your case unless you're specifically defeating it by using Get Blur P somewhere.

Link to comment
Share on other sites

It seems to work, I was not aware that you needed a rest pos at the sop level too, I only had a rest pos in my vop shader.

The only thing now is that it looks like the procedural texture has changed scale because of the rest pos in sop but the motion blur is working and I guess I'll just have to get the scale correct.

I'll let you know if everything works, thanks a lot for your help!!

Link to comment
Share on other sites

still, i think there's something else at work here.  i think it's your object merge.  the rest position stuff shouldn't matter unless your object is actually deforming, which it shouldn't be -- unless it's being merged into a geometry that's moving.

Link to comment
Share on other sites

In fact we're cheating the car move in the scene by leaving the car at the center of the world and moving the terrain underneath. So I have a null which is animated, and I attached my geometry with my object merged terrain inside to the null.

Link to comment
Share on other sites

can you snap an image of your network layout and your object merge parms?

 

any reason your don't just attach your terrain object to the null object to animate it?  why merge it into another object?

 

We are using a digital asset workflow so that one artist can work on the terrain modeling / shading while another one can place it on the layout and do other stuff with it on another scene.

 

This is the node tree inside the digital asset, with the terrain coming from an obj file.

 

The shading is on another digital asset and is linked into the material node on this tree.

 

 

tree01.jpg

 

The scene controls is the animated null which is moving the terrain and everything on top of it (rocks, trees and so on).

 

tree03.jpg

 

This is the node tree inside the "layout_terrain" node, I'm just importing the terrain and doing some operations on it (flattening the road and so on).

 

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