Jump to content

Jesper Rahlff

Recommended Posts

Hey guys.

if I draw out a line, and first point is snapped to the centroid of something, how can I apply a noise so that the first point does not get affected and moved in space?

same goes for the last point, but I figured it the same solution..

Thanks in advance. cheers.

Link to comment
Share on other sites

You can set a group node to 'Group by Range', Start/End 1/$N-1, Select_ of_ 1/1, then set the Group in the noise generator to !group1

Link to comment
Share on other sites

next question: this is driving me crazy...

So I use a polywire on the line to get myself a tube, and then I want to set the pscale on that tube based on a ramp. first thing I run into is that I can get cone shape by using the point sop and input in scale under the particles tab (($NPT-$PT)/$NPT)*0.1.

translating this into vex I would believe it is @pscale = ((@numpt-@ptnum)/@numpt)*0.1;

the Vex code however gives me totally different results.. can anyone explain what I am doing wrong here?

also ideally I want to map my pscale so it is controllable by a spline ramp.. how would I map that? 

My initial though is measure the length of the line, and then based on that fit that to the ramp and then map that to the polywires wire radius attribute. but I can't get it to work..

 

all help and any pointers are greatly appreciated. thanks.

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