[Smtk-developers] Question about tessellation info

David Thompson david.thompson at kitware.com
Fri Oct 31 12:14:22 EDT 2014


Hi all,

Yumin has pointed out that some VTK cell types (quads, polygons, polyvertices, polylines, triangle strips) are not supported in SMTK's Tessellation structure yet. I am working on adding support for them but have a couple of ways to proceed:

1. Keep things compatible with Three.js' model format ( https://github.com/mrdoob/three.js/wiki/JSON-Model-format-3 and https://github.com/mrdoob/three.js/wiki/JSON-Geometry-format-4 ) at the expense of increasing storage by forcing some cell types (polygons, polylines, polyvertices, triangle strips, but NOT quads) to be converted into multiple entries in smtk::model::Tessellation.

2. Add some non-Three.js-compatible connectivity entry types to keep things VTK-compatible. This would be slightly more efficient for some cell types in the vtkSMTK classes for desktop display via VTK.

Any opinions?

	Thanks,
	David


More information about the Smtk-developers mailing list