sibarrick Posted November 9, 2005 Share Posted November 9, 2005 Is there anything in the hdk already to help with visualising attributes? You know the infra-red thingy. I know I can roll my own but I figure either there's something in there to do it already or perhaps someone has some code they could share just to speed things up..... cheers! Quote Link to comment Share on other sites More sharing options...
George Posted November 11, 2005 Share Posted November 11, 2005 Hi Simon, I think UT_Color::getRampColor() does the trick. The value you pass for ramp is an enum defined in the UT_Color.h header file. Try UT_COLORRAMP_FALSE for the false-colour ramp (theinfra-red looking ramp). The value passed in for val is a number between 0 and 1 so you may need to normalize your attribute. Hope that helps. Take care, George. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted November 11, 2005 Author Share Posted November 11, 2005 Cheers George I'll take a look. Thanks. 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.