Why sign method 'depth' only generates positive SDF?
See original GitHub issueThanks for your great work.
I tried to sample SDF near the surface, but it only outputs positive SDF whatever meshes (watertight or non-watertight) serve as input.
points, sdf = sample_sdf_near_surface(mesh, number_of_points=250000, sign_method = 'depth')
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Understanding the SDF - Signed Distance Field (part 1/3)
PART 1: Understanding how an sdf works, sampling the sdf value and the gradient of the sdf. (this video)PART 2: Example 1 -...
Read more >Signed distance fields - Almost looks like work
Signed distance fields (SDFs) An SDF is just a function which takes a position as an input, and outputs the distance from that...
Read more >SDF (Signed Distance Field) used to Detect Overlapping Objects
Negative SDF Values & Positive SDF Values This signed value is necessary because just by returning the distance value from the surface of...
Read more >Ray Marching and Signed Distance Functions - Jamie Wong
So the resulting scene SDF is only negative when the first SDF is negative and the second SDF is positive. Switching back to...
Read more >Volumetric Rendering: Signed Distance Functions
An SDF describes the distance between a point and a shape. Among the functions you introduced above, only the sphere and half plane...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
mesh.zip
Thank you very much.