> >Basically, the front face is all odd numbers; the back face is all even >numbers. Is this correct? Also, is this structure local to each cube in >the grid? By this I mean is it arbitrary which face I call front and >which I call back for each cube as long the vertex ordering is >preserved? Finally, my situation is that I am dealing with an >unstructured grid. I can capture the vertices for each cube but it is >not clear what is a slick way to re-arrange them to get the ordering >that dx wants. Does anyone have any experience doing this that they >would be willing to share? > >
just want to make sure that you understand that the order of positions in the "positions" array can be completely arbitrary. You needn't rearrange anything there. You simply have to create a "connections" array of integer vectors (for cubes, of rank 1 shape 8) that are the indices into the arbitrary positions list. Now that said, I believe it is the case that the ordering is relative only to each cell. As long as you keep the same sense of "starting in the back lower left corner" and winding across the face, then the volume, then the face to end up at "top front right" corner, you should be OK. As always, start with a tiny practice set. But.. read my next note first... Chris Pelkie Vice President/Scientific Visualization Producer Conceptual Reality Presentations, Inc. 30 West Meadow Drive Ithaca, NY 14850 [EMAIL PROTECTED]
