This module converts a 2D quad or tri input mesh to a polytri strip for faster rendering.
Name | Type | Description | |
out | Mesh | 2D tri or quad mesh to be converted | |
Name | Type | Description | |
out | PolyTri Mesh | Geometry data of the converted mesh. | |
out_obj | DataObject | Directly Renderable Output Object. | |
This project contains a definition of a module which converts an input mesh to a polytri strip for faster rendering. It requires 2D quad or tri data.
out
Mesh data output that contains the nodal coordinates and a single poly triangle cell-set that describes the connectivity of the data.
out_obj
The directly renderable output of the Convert2TriStrip macro. This output contains the geometry data read from the field file in a form that can be rendered by the standard data viewers.
The Convert2TriStripFunc functional macro uses the Convert2TriStripCore low-level module. The Convert2TriStrip user macro uses this functional macro.
An example application Convert2TriStripEg is provided with the Convert2TriStrip project. This application reads a field file, converts the mesh to tri strip, and then shows the originally read data and converted data in two Viewer windows.
iac_proj/cvt2tri/c2t_mods.v contains the V definitions of the Convert2TriStripCore module.
iac_proj/cvt2tri/c2t_macs.v contains the V definitions of the Convert2TriStripFunc functional macro and the Convert2TriStrip user macro.
iac_proj/cvt2tri/c2t_apps.v contains the V definitions of the Convert2TriStripEg example application.
Dave Goughnour, Advanced Visual Systems, Inc.
Mary McDerby, Manchester Visualization Centre Tobias Schiebeck, International AVS Centre
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL