First you need to have a cone shape that you can pass into Glyph. If you look at the Cornell repository, they have some macros to do this if you don't want to build one yourself.

To color the cones depending on the vector direction, you need to play with each vector component and determine how you want this done. For example if you want them colored on just the "x" direction, then use Compute("a.x") and then feed it to Autocolor.

David

Hi.
Does anybody know how to plot 3-d cones (not rockets) to represent vectors
in 3-d space.
I have the x-y-z coordinates of the position and also the x-y-z vector
components of each 3-d vector.
I would also like to color the cones depending on the vector direction NOT
magnitude of the vector.

Thanks.

J. Hannay.
University of Wales.

--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)257-8530

Reply via email to