On Monday, Jan 19, 2004, at 07:29 America/New_York, Chris Pelkie wrote:
Normally, if the 2 fields had the same topology, I'd say make Multigrid with CollectMultigrid. But they aren't, so you may have to do more work._______________________________
One trick is to Extract("data") from each field (2 Extracts) then List to make one long List, then feed this as the 'data' to a Construct. You will want to use Inquire to determine the 'item count' (I think that's the right phrase: look in Inquire help) to get List length and feed to Construct 'count' or 'number' or whatever it's called. Then feed the Constructed field to Colormap.
Or, just use Statistics on each field, then with a couple Computes (min(a,b) and max(a,b) get the total range and send to Colormap's min and max inputs, normally hidden. Ctrl-F to open Colormap config dialog, then unhide these inputs and connect.
Colormap doesn't accept a generic Group since arbitrary objects can appear in one (cameras, lights, xforms, oh my!).
On Sunday, Jan 18, 2004, at 18:53 America/New_York, Hartwig Wiesmann wrote:
I have got a group that consists out of two fields. These fields represent the same physical data on two different irregular grids (these grids do not overlap). One contains data on a triangular grid, the other one on a quad grid. As both fields belong to each other I put them into a single group._______________________________
Rendering of the data is not a problem at all. But I would also like to have a color bar next to the data.
Connecting the import module to the input of the color bar leads to the error message "ERROR ColorBar: Invalid data: colormap must be a single field; not a group". Due to the different connections of the irregular grids I cannot put the data into one field. How can I nevertheless have a color bar?
Thanks!
Hartwig Wiesmann
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853
