andehpandeh Posted November 22, 2021 Share Posted November 22, 2021 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? pointDeformPieceNotWorking.hiplc Quote Link to comment Share on other sites More sharing options...
ThisIsDolan Posted November 24, 2021 Share Posted November 24, 2021 I did not fix the point deform name attribute, but a simple resample with points per segment will give you the exact same result. It's also way faster to compute! pointDeformPieceNotWorking_simpleResample.hiplc Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted November 24, 2021 Share Posted November 24, 2021 (edited) 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 November 24, 2021 by Aizatulin 1 Quote Link to comment Share on other sites More sharing options...
andehpandeh Posted November 25, 2021 Author Share Posted November 25, 2021 @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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.