TomFX Posted March 5, 2009 Share Posted March 5, 2009 Hi Guys, I've got a poly mesh with primative groups according to Cd values that ive pulled from a cop image. My question is how do I get these faces to extrude according to their Cd value. any help would be greatly appreciated. cheers, tom Quote Link to comment Share on other sites More sharing options...
old school Posted March 6, 2009 Share Posted March 6, 2009 In the PolyExtrude SOP, type in the following expression in to Translate Z parameter: length($CR,$CG,$CB) where $CR, $CG and $CB return the color of each primitive face and length() calculates the length or magnitude of a vector by returning a single floating point value, in this case the amount of color value present. Hope this is what you are after. Quote Link to comment Share on other sites More sharing options...
TomFX Posted March 6, 2009 Author Share Posted March 6, 2009 cheers old school...works like a treat 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.