Hello, I am trying to follow one of Randy's suggestions, namely, prebuilding the cubes in a native DX file and then rendering it. I now have a list of all the vertices.
What is the best way to define cubes in a native DX file? (I tried to define the cubes following Example 11 on User's Guide page 265 (solid.dx), by defining 'position list' (coordinates of the vertices), 'edge list', 'loop list', 'faces list' etc. Is this the best way?) And how can I get the image? I tried to use Import -> ShowBoundary -> FaceNormals -> Image. But ShowBoundary complains that there are no connections. Thank you, Shan-Ho On Thu, 8 Aug 2002, Randall Hopper wrote: > Randall Hopper: > |Well, Transform/Rotate affect the glyph orientation, but to have separate > |transforms per glyph you're going to need separate fields per cube. If > > Sorry, rushed that too quickly to get off to a meeting. Should read > "separate fields for each cube". > > |you're going to do that you might just want to use quads/polygons. > > Or cubes as I described below, transform the vertices, and use ShowBoundary > for rendering. > > Randy > > > >Shan-Ho Tsai: |I am trying to plot a number of cubes in a three dimensional |space. My data file contains 13 columns, where the first 3 |columns correspond to the x, y, and z coordinates of the |position of each cube, column 4 is the volume of each cube, |and the remaining 9 columns are the x,y, and z components |of the vectors normal to the 3 surfaces of the cubes. | |I am using ImportSpreadsheet and so far I have been able to |use cubic glyphs for a scalar data (volume of the cube) and |plot the cubes with the correct sizes, and in the correct |positions. | |But how can I have the cubes orient in the correct direction |according to the 3 normal vectors?
