geometry-central icon indicating copy to clipboard operation
geometry-central copied to clipboard

Drawing stripes on a mesh?

Open r03ert0 opened this issue 11 months ago • 1 comments

Hello!

Question 1. Is there some code around that I could use to see how to draw stripes (computed using computeStripePattern and extractPolylinesFromStripePattern) on top of a mesh in polyscope?

Question 2. Is there a way of using computeStripePattern in a tetrahedral mesh (i.e., stripes on the the whole volume, not only the surface)

Thank you!

cheers,

roberto

r03ert0 avatar Mar 28 '24 09:03 r03ert0

Hey Roberto,

  1. The extractPolyLinesFromStripePattern() gives you set vertices and edges that you can then register as a curve network in polyscope using something along the lines of polyscope::registerCurveNetwork("my stripes", vertices, edges) where vertices and edges are what's returned from the extract polyline function.

  2. Currently there is no (public?) implementation of computing stripes on volumes in geometry-central.

Cheers, Rahul

rahul-mitra13 avatar Jun 27 '24 16:06 rahul-mitra13