Jump to content
JaydenDP

Wetmaps for deforming geometry

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

Share this post


Link to post
Share on other sites

Wow, thanks both of you for the speedy response and files, I'll download and check them out later today (Sunday), thanks again.

Much appreciated. I'll let you know how I get on with it.

Jay

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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~

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hmm yeah, I actually have managed to still add a bit more randomness and details by collecting the attributes with the deforming mesh points, and then tranfering them back onto scattered points after that. seems to work so far, nice one :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×