Follyx Posted August 7, 2017 Share Posted August 7, 2017 Hi, for a spline ramp I use : f@foo = chramp('myramp',@P.x); But whats with a colorramp? Neither in the help nor anywhere I could find ressources for it. Quote Link to comment Share on other sites More sharing options...
ikoon Posted August 7, 2017 Share Posted August 7, 2017 Afaik, you have to change the type of the ramp in the Edit Parameter Interface manually. Like this: Also the vex code then will be for example @Cd = chramp('myramp',@P.x); 2 Quote Link to comment Share on other sites More sharing options...
Follyx Posted August 7, 2017 Author Share Posted August 7, 2017 yep. already knowed it, but thanks anyway. Thought there are some hidden parameter in the "chramp('myramp',@P.x)".... Quote Link to comment Share on other sites More sharing options...
Popular Post mestela Posted August 7, 2017 Popular Post Share Posted August 7, 2017 If you explicitly cast chramp to a vector first, the 'create spare parameters button' will create a colour ramp. Eg @Cd = vector(chramp('myramp',@P.x)); 11 5 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.