Search the Community
Showing results for tags 'bounding'.
-
Hello, I'm looking for the best way to prevent an attribute from changing once it has reached a certain value. I'll have other benefits from this, but for now it's to control the "active" state of some points via an animated object. I'm setting a group of point with a bounding sphere grouping, then I wrangle i@active = 1 for that group. but, obviously, when a point is back out of the sphere, it's out of the group and gets a @active = 0 again. I'm wondering if it's doable in VEX (if active becomes 1 then never change again) or if there's other tricks to do that. here is a simple hip file where I move the points up when they are in group1, so for this exemple, I would like the point to never come back down if they get moved. Thank you! I've seen a way to do that in a particle tutorial, where the colours get changed and is then prevent from changing back when outside a box, but I just can't remember, and can't get my hand on that video again : / OD-F_keepattrib.hipnc
-
Hi guys, I try to build a spine of a fish. How can I resample the curve base on length of that curve or something like this. I need to increase density of points on the and of my curve gradually to make the bones fit tight.