Jump to content

procedural shader query


Michael1

Recommended Posts

Hi, I have made this shader with a procedural noise pattern going across it. However when the object which I apply it to moves, the pattern doesn't move along with it. Is there a way to stop this from happening, so that the pattern on the object is consistent as it moves.

Thankyou

Link to comment
Share on other sites

Hi, I have made this shader with a procedural noise pattern going across it. However when the object which I apply it to moves, the pattern doesn't move along with it. Is there a way to stop this from happening, so that the pattern on the object is consistent as it moves.

Thankyou

http://odforce.net/wiki/index.php/RestAttributes

this will help you!

Link to comment
Share on other sites

Thanks, although actually I didn't mention that my geometry is a obj file and then an mdd file is applied to this for the movement. Will this still work?

sorry, i haven't ever worked with .mdd files..

i think that there won't be any problems, but you should try..

one way is to export the motion from another program like obj sequence, and then convert it to bgeo..

Link to comment
Share on other sites

Which means applying the Rest SOP right after the File SOP before the geometry is deformed by the point cloud with the MDD SOP.

The second half of the problem is to use the Rest Position VOP in your shader nework and use that in place of the global variable P (or whatever it is that you are using for P position).

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