Jump to content

odd behavior of carve / pscale


Recommended Posts

Greetings, 
I made a set of lines, assigned a random pscale attribute to points on one side of the lines. I copied spheres to the points, then I promoted pscale to the lines as a new attribute, then used that attribute to drive carve_SOP. But when I modify the attribute driving carve it modifies not only carve(first U) but the scale of these spheres as well.

carve_q.hipnc

Link to comment
Share on other sites

That is correct, the CopyToPoint is interpolating that random pscale assigned at the end of each line. When you copy to the line, you inherit that interpolated pscale value. You can use an attributedelete, placed before the CopyToPoints, to remove pscale and the spheres won't change size anymore.

Edited by Atom
Link to comment
Share on other sites

@Atom But I need that pscale :), the spheres should be of different sizes, what's odd and what I was asking about is, if I try to change the attribute which drives carve_SOP it also changes pscale of these points 
If you have time, please look at the attached file. Try using a slider in the Null node named "CONTROLS".

Link to comment
Share on other sites

carve will interpolate the attributes

so if one point has pscale of 1 and second 2, then if you carve in the middle the new point will have interpolated value in the middle of 1 and 2 so 1.5

then if you base your random on @primnum both points will have the same value so even interpolated value will be the same

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