Skip to content

Understanding SDFs' in Physx #298

Answered by nvtw
noblegmr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
About your questions:

  1. Non watertight meshes should work fine with SDFs. You could also use a free tool like MeshLab to easily convert them to wathertight meshes and use another simple format like .obj or .off.
  2. I cannot tell where the linker errors come from. My assumption is a mistake in the CMake or any other build system you might be using.
  3. It looks like PxSdfSample works only for dense SDFs and seems to be missing documentation. I'll add some documentation but that will take a while until it's reflected in the public github repository
  • An SDF is a grid where each point stores the distance to the closest triangle on the triangle mesh. Positive distances mean that the smaple point …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by noblegmr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants