Jump to content

attribute "type"


MENOZ

Recommended Posts

I was trying to create attributes in various ways to see how they react when transformed.

I created a grid, the various nodes I need to declare my vector attributes, and a transform sop that moves, translate and scale my geometry.

if I try with attribCreate sop and choose vector it always get fully transformed, trans rot scale.

If I try with wrangle sop/attribute I have these choices:

v@myvec={0,1,0};//attribute is not transformed. is there a way to define more specifically the type using this sintax?

addattribute("myvec", myvar, "type", "normal"); // transform correctly the attribute

trying in vop sop with addattribute and choosing between types, it transform correctly the attribute.

in vop sop with bind export and parameter export, no matters what type I choose, normal, direction, point. the attribute never gets transformed, Am I missing something here? why I have all those choiches if nothing changes?

Edited by MENOZ
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...