Jump to content

Visualising Attributes

Recommended Posts

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,


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.

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