Jump to content

copy stamp parameter from texture


Recommended Posts

Hello I have little problem, I know that it is trivial thing but I cant find in somewhere. I have animated texture(black_white terrain) and need to conver it to scaleY parameter of copy stamped boxis on grid. I add point colour from COP, grid has colour,but how I could connect Red channel with scaleY in copy stamp?.I need only expression in stamp all other is prepared. Thanks a lot for helping me with this easy task....BC...

kostky_04.hip

Link to comment
Share on other sites

Hello I have little problem, I know that it is trivial thing but I cant find in somewhere. I have animated texture(black_white terrain) and need to conver it to scaleY parameter of copy stamped boxis on grid. I add point colour from COP, grid has colour,but how I could connect Red channel with scaleY in copy stamp?.I need only expression in stamp all other is prepared. Thanks a lot for helping me with this easy task....BC...

kostky_04.hip

Under the stamp tab of the Copy SOP, you have your variable which can be named to whatever you want, ie "red" and in the value field, enter $CR which will retrieve the red color value on the geo that you are copying to. Then in your scaleY you can do your stamp expression,

stamp("../myCopySop", "red", 0)

Make sure you have "Stamp Inputs" checked on the Stamp Tab of the Copy SOP too.

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