Jump to content

Wetmaps for deforming geometry


JaydenDP

Recommended Posts

Hi Guys,

I've been trying for a while now to figure out a way to make a wet map for deforming geometry.

I can do this easily enough for static geometry by way of using attribute tranfer from fluid points to scattered point on the static geometry, and then maintaining that history using a popnet.

However, this method doesnt work for deforming geometry. So, I was presented with another method using a dopnet to transfer the attributes (onto the actual geometry ie, not scattered), so that the history would be maintained, but this doesnt seem to be working because the dynamic object needs to be set to "deforming geometry" for the dopnet to call in the deforming geo every frame, which means that its not maintaining the transfer in history :(

Does anyone know of another method of creating wetmaps that work for deforming geos?

Thanks in advance guys, much appreciated if someone has some info for me.

I've attached a test .hip using the dop methed. The sphere object is rotating, so Im expecting the wetmap to be applied and rotate with it, alas, it rewrites every frame.

Thnks again.

DeformingObjectWETMAP.hip

Link to comment
Share on other sites

@nature, I cant seem to open your file. Could you maybe give a brief description instead? I will try open it up again tomorrow on my work comp.

Thanks again :)

@anim, Yeah this seems to work well. Thanks for the upload :) suppose I was overcomplicating it?

Thanks guys

Jay

Link to comment
Share on other sites

@nature, I cant seem to open your file. Could you maybe give a brief description instead? I will try open it up again tomorrow on my work comp.

Thanks again :)

@anim, Yeah this seems to work well. Thanks for the upload :) suppose I was overcomplicating it?

Thanks guys

Jay

Hi,JaydenDP, I'm sorry for that, I guess the problem is due to the houdini version, this file was created in Houdini 11.

Anyway, It was implemented practically the same as what you initially intended to do, instead, the attribute tranfer is in POPs, in addition, Position POP is employed to maintain the position consistency between the particles in POP and Points in SOP, group POP is used to collect the wet particles.

Link to comment
Share on other sites

Here is the screenshot of SOP and POP network :P

1. source1 : Impulse Birth Rate is set to $NPT.

2.Position1: Position is set to point("../../vopsop1",$PT,"P",0) , point("../../vopsop1",$PT,"P",1) , point("../../vopsop1",$PT,"P",2) respectively.

3.group1: the Rule is $CR== 1 which is depend on what attribute is transferred and Preserve Group is on.

post-5114-128672069353_thumb.jpg

post-5114-1286720737_thumb.jpg

Edited by ~nature~
Link to comment
Share on other sites

cool, got this method working as well, thanks.

Wasnt as complex as I thought it might be, I found it computes faster if you put the "point("../../vopsop1",$PT,"P",0)" lines into the vector instead of the component position type in the position node.

Too bad I'll have to use deforming geo's actual points instead of scattered points.

Thanks again.

Jay

Link to comment
Share on other sites

...

Too bad I'll have to use deforming geo's actual points instead of scattered points.

...

you still can attribcopy color from particles to your deforming geometry if you wish since that particles represent points of your geometry so the number and order should be the same

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