What's the best way to visualize data on a Part?

I have scalar data associated with the Part geometry.  If I were rendering this directly in OpenGL, I would use a Fragment shader to do the visualization.  Is there a way to apply some kind of transfer function to the rendering of the model such that I can convert scalar data to color data over the model?

As an example, how would I implement my own curvature visualization?

thanks!

wes

SolidworksApi/macros