Can DX render streamlines from 2-D velocity data?

I am passing the velocity data through the sequence:

{velocity} -> STREAMLINE -> AUTOCOLOR -> IMAGE

But I get a very strange rendering that looks nothing like the glyphs of the velocity field.

Also tried:

{velocity} -> STREAMLINE -> AUTOCOLOR -> ISOSURFACE -> IMAGE

But that gave an error!

Thanks,
Fred Phelan


Streamline purports to take n-vectors mapped in n-space. If you have 2-d vectors on 2-d positions, it should work. If not, you can promote or demote data or positions with Mark, Compute, Unmark by adding a bogus (0 valued) 3rd dimension to data or chopping off a dimension from positions.

Streamlines should not look like vector glyphs, that's what we have the vector glyph for! Streamlines look like lines generally speaking. However, you should be able to take the output of streamline as input to Glyph (maybe with a bit of munging, I can't remember). Use Print("rd") on Streamline's output to see if you have vector data mapped to positions. If so, make sure the vector data is the "data" (Mark if necessary), then Glyph should take it and you'll see the streamline as a set of glyphs pointing along the direction vector (presumably). You'll note that streamline output has a bunch of other handy stuff, like "time" which can be used cleverly. Hint: we Map streamlines to a discretized time line (Construct'ed) so Sequencer can clock out a nice animation of equal steps along a streamline. Exercise left to reader (or highly paid consultant, like, oh say, me).

Naturally, your latter trick didn't work above since a streamline is a graphic object (not a data object per se), not likely to be a compatible input to the isosurface function.

Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]

Reply via email to