Jump to content

Using Point/prim Variables To Alter Sop Attributes


aracid

Recommended Posts

hey all

If i use

point ("../attribcreate1", $PT, "smoothVal", 0) ---> on the smoothVal point variable

or

prim ("../attribcreate1", $PR, "smoothVal", 0) ---> on the smoothVal prim variable

within something like a point sop or an extrude sop (i suppose there are many more sops)

it produces predictable results (ie, extrudes the primitive based on the imbeded attribute)

HOWever

if i use that on a smooth sop(placing this expression under smoothing iterations), it doesnt work

why is that ?

and does anyone have an idea on how to achieve smoothing an object based off variables imbedded in the object ?

thanks in advance

brian

Link to comment
Share on other sites

Not all sops read point and/or prim attributes. Smooth sop is one of those. One way to vary smoothing across an mesh is to smooth it all and then blend it with an unsmoothed version using a vex sop driven by your smoothval attribute.

hey simon

thanks for the info,

just making sure i wasnt missng something :-)

all the best

brian

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