Jump to content

An Issue with Import Arrtip in H14


Recommended Posts

Hey guys

 

Im trying to isolate a deformed object using a vop sop but it did not work with me well.

 

As you will see in photos that i did the deformed on the ground 

but now i want to isolate the deformed geometry only but comparing the length from the position using vop sop 

In h13 i was Importing the P the comparing it with the current P the export it as attribute , but in houdini 14 its not working with me at all :(

 

Any help please :)

 

Here is the rock animation seq:

    http://www.mediafire.com/download/g39bvlxausvzk0i/RockAnimation.rar

Deformed_Geo.hip

Geo_Marked.rar

post-11123-0-43882000-1436631647_thumb.j

post-11123-0-09814100-1436631651_thumb.j

post-11123-0-60213800-1436631654_thumb.j

Edited by AhmedSaady
Link to comment
Share on other sites

There was actually a couple of things wrong. First the getattrib was not provided with any ptnum to work with and was referring to the first input of the pointvop which is the same as the global variables. Then you were using addattrib to bind values using the "default value" input when you should only use it to create the local variable.

 

I would suggest you use wrangle nodes for this type of work, much faster and much simpler then what you are doing here.

if(@P==point(1,"P",@ptnum)){
    removepoint(0,@ptnum);
}

Alex

Deformed_Geo_fixed.hipnc

  • Like 1
Link to comment
Share on other sites

There was actually a couple of things wrong. First the getattrib was not provided with any ptnum to work with and was referring to the first input of the pointvop which is the same as the global variables. Then you were using addattrib to bind values using the "default value" input when you should only use it to create the local variable.

 

I would suggest you use wrangle nodes for this type of work, much faster and much simpler then what you are doing here.

if(@P==point(1,"P",@ptnum)){
    removepoint(0,@ptnum);
}

Alex

Hey Alex 

well , you are right it is much faster and it solve the issue also 

and for the original setup it was close but the issue was from import the P from second input not from first one and this is what is look like: 

Then you just delete based on $DEFORMED value which you export from it.

post-11123-0-32579600-1436642617_thumb.j

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