Jump to content

remember intrinsic transform


patis

Recommended Posts

Hi patis, you have to split your code into two wrangles. When you are trying to read this "matrix3 m1 = prim( 0, "temp", @primnum );" you are reading it from the input of the wrangle. You are reading from the "active_animation" node. But that node does not have that attribute yet. It is due to the SIMD architecture of VEX.

Logically, you had it all right ... but despite the order of your lines (although you stored that attribute before reading it), vex "internally reordered the lines" and stored that attribute as a last task. I attached the solution, I hope it helps. Maybe try to google more about SIMD and Houdini VEX architecture.

Sorry for my bad english :)

(Btw you may do a similar effect with the Timeshift SOP / clamp).

 

rememver intrinsic transform split.hipnc

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

10 hours ago, ikoon said:

Hi patis, you have to split your code into two wrangles. When you are trying to read this "matrix3 m1 = prim( 0, "temp", @primnum );" you are reading it from the input of the wrangle. You are reading from the "active_animation" node. But that node does not have that attribute yet. It is due to the SIMD architecture of VEX.

Logically, you had it all right ... but despite the order of your lines (although you stored that attribute before reading it), vex "internally reordered the lines" and stored that attribute as a last task. I attached the solution, I hope it helps. Maybe try to google more about SIMD and Houdini VEX architecture.

Sorry for my bad english :)

(Btw you may do a similar effect with the Timeshift SOP / clamp).

 

rememver intrinsic transform split.hipnc

Hello,

Thank you for great detail. I could that! :) 

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