Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Color Lookup Tables with cwgraph3d

Hi,

When searching old forums and other references, I can only find information regarding using color lookup tables in labview and I am using VB6.

I want to let the user to pick a given amount of colors, have this turned into a gradiant over a table of size 256, and then using the custom colormaptstyle in my 3d graph. I want to be able to change the palette in real time to change my image. Basically I want to have the color palette screen to show up all the time and that gradiant that appears on the right side(vertically) to be my new color lookup table for the image(if that makes any sense).

Thanks. Any help would be greatly appreciated.

Kevin

kevinh@novascan.com
0 Kudos
Message 1 of 2
(5,779 Views)
Hello Kevin,

Attached is a small VB6 example that uses the CWGraph3D's ColorMap properties. I think this will demonstrate the color lookup table capability that you're asking about, and you'll be able to use this as a building block for your own application.

David Mc.
NI Applications Engineer
0 Kudos
Message 2 of 2
(5,779 Views)