PxExtractIsosurfaceFromSDF
Defined in include/extensions/PxTriangleMeshExt.h
-
bool PxExtractIsosurfaceFromSDF(const PxTriangleMesh &triangleMesh, PxArray<PxVec3> &isosurfaceVertices, PxArray<PxU32> &isosurfaceTriangleIndices)
Extracts an isosurface from the SDF of a mesh if it the SDF is available.
- Parameters
triangleMesh – [in] The triangle mesh
isosurfaceVertices – [out] The vertices of the extracted isosurface
isosurfaceTriangleIndices – [out] The triangles of the extracted isosurface