Jump to content

Recommended Posts

Hello,

I'm trying to get a point deform sop to deform hi-res hairs by simulating lo-res hairs and using the point deform sop however the piece attribute is not working as expected. 
If I have a point id attribute on the curves, the deformation doesn't work at all. 

In the first image, I am deforming only 1 lo-res curve by using the id attribute as a mask. 

The second image is the resulting hi-res curves supposedly deformed by the point vop.

I've noticed if I don't use the id attribute, the curves will deform properly however I need the piece attribute functionality since the hairs will be overlapping one another. 

Any ideas?

image.png

image.png

pointDeformPieceNotWorking.hiplc

Link to comment
Share on other sites

Hi,

the problem is here, which is not obvious of course, that the point deformer is using the "id" attribute internally. If this attribute exists, it is capturing the id and not the point number. To avoid this, use something else as name (class for example). If you need the id somewhere else, you can temporary create/delete it.

pointDeformPieceNotWorking_dont_use_id_here.hipnc

Edited by Aizatulin
  • Thanks 1
Link to comment
Share on other sites

@ThisIsDolan thanks for the tip! But the goal here is essentially to deform the hi res hairs that have fine details from a lower res version of those same hairs, while retaining the id attribute. We need lower res curves for simulating since vellum acts veerrry differently when you change the resolution of the curves. 

@Aizatulin aw heck yes thank you!! 10/10 would ask advice again

loToHi.png

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