Skip to content

Hemispherical caps for cylinder to form capsules with texture coordinates

Sankhesh Jhaveri requested to merge sankhesh/vtk:capsule_source into master

Ability to transform the cylinder source to a capsule source with texture coordinates with hemispherical end caps.

vtkCapsuleSource has been deprecated in favor of vtkCylinderSource with CappingOn() and CapsuleCapOn() because:

  • Polar cap geometry

    vtkCapsuleSource(old) vtkCylinderSource (new)
    image image
  • Texture coordinates vtkCapsuleSource did not provide texture coordinates owing to geometry interface between the caps and cylindrical portion of the capsule.

    vtkCapsuleSource(old) vtkCylinderSource (new)
    image image

Supersedes !9828

Backport: release

Edited by Sankhesh Jhaveri

Merge request reports

Loading