fuzzylogic Posted June 11, 2009 Share Posted June 11, 2009 Hi Guys I'm sure this is easy but I just can't think how to do it..... Is there a way to change the alpha of a piece geometry along it's points so say at point 0 the alpha is 0 and by X it is 1?? Cheers Fuzz Quote Link to comment Share on other sites More sharing options...
sam.h Posted June 11, 2009 Share Posted June 11, 2009 In the alpha of a point SOP: $PT/$NPT Is that what you needed? Quote Link to comment Share on other sites More sharing options...
varomix Posted June 11, 2009 Share Posted June 11, 2009 Hi I made a sample file, check if that's what you need cheers alphaSample.hipnc Quote Link to comment Share on other sites More sharing options...
SpencerL Posted June 11, 2009 Share Posted June 11, 2009 (edited) In the alpha of a point SOP: $PT/$NPTIs that what you needed? Actually, to get the Alpha to be at 1 you would need to do $PT/($NPT - 1), since $NPT is total number of pts which could range between 1 - N number of pts. $PT always starts at 0 so in order to account for that, you would need to do ($NPT - 1). For example, if you had 5 pts $NPT would equal 5. $PT would range from 0 - 4. At the final pt number, 4, $PT/$NPT would give you 0.8, not 1. Edited June 11, 2009 by SpencerL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.