geometry-central
geometry-central copied to clipboard
Drawing stripes on a mesh?
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
Hey Roberto,
-
The
extractPolyLinesFromStripePattern()
gives you set vertices and edges that you can then register as a curve network in polyscope using something along the lines ofpolyscope::registerCurveNetwork("my stripes", vertices, edges)
where vertices and edges are what's returned from the extract polyline function. -
Currently there is no (public?) implementation of computing stripes on volumes in geometry-central.
Cheers, Rahul