The glyph does not need to be symmetric. Just draw it along the "y" direction and have the "start" end at [0,0,0] and the "end" end at [0,1,0]. The glyph module will then rotate it from there to point in the direction of the vector field.
_________________________________ Donna L. Gresh, Ph.D. Visual Analysis Group IBM T.J. Watson Research Center (914) 784-5049 http://www.research.ibm.com/people/g/donnagresh [EMAIL PROTECTED] Gib Bogle <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 06/18/2001 12:21:07 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: "'[email protected]'" <[email protected]> cc: Subject: RE: [opendx-users] Making a glyph I have figured this out. There were two changes needed. First, the connections had to be triangles. Second, the created field needed just "positions" and "connections" components. I now have a scalar glyph of the desired form. Now I have a couple of new questions for glyph gurus: How to make this into a vector glyph? Does a vector glyph need axial symmetry, and if not, how is the angle of rotation about the direction specified? BTW, where does the word "glyph" come from? thanks Gib -----Original Message----- From: Gib Bogle [mailto:[EMAIL PROTECTED] Sent: Monday, 18 June 2001 11:54 To: [email protected] Subject: [opendx-users] Making a glyph Hello all. A very simple question, the answer to which may help unlock OpenDX for me. I am trying to create a glyph, and as a test case I want to make a cube. I have set up a DX file cube.dx containing the geometry: # The following example describes an irregular grid. Note that the values # of the "positions" component and "connections" component are irregular, # and so must be enumerated. It is a cube. # # The irregular positions, which are 8 three-dimensional points. object 1 class array type float rank 1 shape 3 items 8 data follows -0.05 -0.05 0.1 0.05 -0.05 0.1 0.05 0.05 0.1 -0.05 0.05 0.1 -0.05 -0.05 0.0 0.05 -0.05 0.0 0.05 0.05 0.0 -0.05 0.05 0.0 # The irregular connections, which are 6 quads object 2 class array type int rank 1 shape 4 items 6 data follows 1 0 2 3 1 2 5 6 2 3 6 7 3 0 7 4 0 1 4 5 5 6 4 7 attribute "element type" string "quads" attribute "ref" string "positions" # The data, which is in a one-to-one correspondence with the positions object 3 class array type float rank 0 items 8 data follows 2 2 2 2 3 3 3 3 attribute "dep" string "positions" # the field, with three components: "positions", "connections", and # "data" object "irregular positions irregular connections" class field component "positions" value 1 component "connections" value 2 component "data" value 3 end In a simple .net file I use Import -> ShowConnections -> Image to satisfy myself that this is a cube, but I can't figure out the next step, how to make the surfaces visible. The sample AutoGlyph3DScalar.net uses Construct -> Connect -> Shade, but I want to set up the geometry in a .dx file. Please provide guidance. Thanks Gib NOTICE - This e-mail is only intended to be read by the named recipient. It may contain information which is confidential, proprietary or the subject of legal privilege. If you are not the intended recipient please notify the sender immediately and delete this e-mail. You may not use any information contained in it. Legal privilege is not waived because you have read this e-mail. For further information on the Beca Group of Companies, visit our web page http://www.beca.co.nz NOTICE - This e-mail is only intended to be read by the named recipient. It may contain information which is confidential, proprietary or the subject of legal privilege. If you are not the intended recipient please notify the sender immediately and delete this e-mail. You may not use any information contained in it. Legal privilege is not waived because you have read this e-mail. For further information on the Beca Group of Companies, visit our web page http://www.beca.co.nz
