>I have space/plane filled with particles(box3d/box2d) , each particle is >given >by it's center coords and dimensions , in planar case it will be about >65000 particles >I'd like to see them as boxes not squares or vectors as it happens when >i use glyph module. >In DX terms i have 3D field or slice of 3D field with centers of >particles given by positions and data is 3-vector which defines >particles dimensions. >Now I just trying to modify _glyph.c so it will choose >scale matrix for glyph based on data_array elements not on length of >element. >Any better solutions?
Run the data through Compute(mag(a)). That gives you the magnitude of the 3-vector, so you get scalar data out. Then you Glyph using "cubes". For god sakes, don't rewrite the underlying code until you understand how powerful the built-in modules already are!! Chris Pelkie Vice President/Scientific Visualization Producer Conceptual Reality Presentations, Inc. 30 West Meadow Drive Ithaca, NY 14850 [EMAIL PROTECTED] (607) 257-8335 or (607) 254-8794
