Jump to content

Transfert attribute color from geo to another geo


Furox

Recommended Posts

Hi everyone!

 

Im new in houdini, and i search a way to make the effect of a sphere touch example a planes and transfert is color…

If i export it in alembic, the geo preserve this new attribute? Or they have a way for that?

 

Thank you! :)!

 

Link to comment
Share on other sites

Hi Rudinie :)!

Thank you for your fast reply!

You are right! This a good options for me! :)!

But my main problem was that color do not stay into the surface of the planar. It follows the geometry, but unfortunately, it doesn't not paint into this surface :/

I would especially be able to paint with water (like a wave painted the beach with color) :)!

 

Attributetransfert.hip

Link to comment
Share on other sites

You need to add a solver sop and aggregate color over time. Using an expression like this in an attribute wrangle inside the solver. Have the first input to the wrangle be input 1 and the second input be prev_frame. Then use this code:

 

Cd2 = point(1, "Cd", @ptnum);

@Cd += Cd2;

@Cd = clamp(@Cd, 0, 1);

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