PDA

View Full Version : ? changing color


durham
21st November 2009, 16:40
Hi:

Suppose I have an object. Now how do I create a module that has the following functions in its property?

1. User can select or define a colormap,

2. User can select the rate of change, say, in seconds or mini-seconds,

Using the above two, user can click a botton such as "go" to activate the function of this module so that the selected object changes its color following the colormap and at the specified rate?

Thanks,

ShawnZhang
24th November 2009, 20:21
This can be accomplished by developing either a TCL script object or a customer C++ module with Avizo XPand interface.

The object will have,

1. A data port.
2. A colormap port, where the user can select a colormap or modify it. Definition of new colormap can be deligated to Avizo's new colormap module.
3. A slider port controling rate of change.
4. A port controling how the color should change, for example, circling through min max range for R(or G, B, A) value, etc.

Email hotline@vsg3d.com and ask for Avizo Code book, a nice XPand document soon to be released with Avizo.

Keep us posted on your progress.

Thanks.
-Shawn