Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Closed REQ 6114]: 3d mesh visualization
> Node # X coordinate Y coordinate Z coordinate ... > Node connectivity for each element: > element # node 1 2 31 32 51 52 71 72 Not sure what connectivity means here, or how you'd imagine displaying the mesh of interconnected nodes. Since the mesh fills some region of space (right?), presumably you wouldn't want solid walls surrounding every mesh cell, since you then wouldn't be able to see much. You could use a VECT or OFF object to display connections between a node and its neighbors, effectively as a list of line segments. Suppose there were 73 nodes -- which an OFF object implicitly numbers 0 through 72 -- and you found that there were a total of 150 line segments. You could say OFF 73 150 0 # The "0" could be any integer, but must be present 0 5 1 # x, y, z coordinates of node 0 ... 2 0 1 # Draw a line connecting nodes 0 and 1 2 0 30 # Another line connects 0 and 30 ... # etc. (Note this implies the nodes are renumbered to start at 0; if you'd rather not, you could increase the vertex count in the header to 74, and e.g. make a dummy 0th vertex (say, identical to the 1th vertex). There's lots of stuff you could do, but this is probably the simplest way to begin. See the manual page for OOGL file format -- man/cat5/oogl.5 -- and/or the doc/oogltour file for more on the file formats geomview reads. Stuart Levy, Geometry Center
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |