Jump to content

Why is it not possible to delete P with attribute delete?


bobbybob

Recommended Posts

I ran in to this problem, because I have a sphere, and I need a deformed version of it, but only as a rest attribute. I know how to do this in other ways, but I thought, that to just make the deformation, create the rest, delete the P attribute and then merge it with the original sphere would be nice. But when trying to delete the P attribute with a Attribute Delete, nothing happens?

Is this because P is a special attribute or something? Would be interesting to know.

Link to comment
Share on other sites

Plugin both versions in an attribwrangle. Then you can take over the rest attribute from the second input with:

v@P = @opinput1_rest;

Morphing between both positions would be:

v@P = lerp(@P, @opinput1_rest, chf('morph') );

Point positions cannot be deleted, but you can set them all to zero:

v@P = vector(0);

 

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