Questions tagged [signed-distance-field]
An SDF is a function which takes a position as an input, and outputs the distance from that position to the nearest part of a shape.
34 questions
1 vote
1 answer
108 views
How to deal with non-uniform scaling for pre-computed signed distance fields in the context of raymarching?
I have a 2D object for which I have a pre-computed SDF. However, the object may sometimes be scaled non-uniformly. To illustrate the problem: The closest point from $p$ has changed from $q$ to $q'$. ...
0 votes
0 answers
136 views
Stable computation of Gaussian curvature on an SDF?
I am trying to compute the Gaussian curvature of an SDF. There is a closed formula based on the partial derivatives. It involves computing the adjoint of the hessian matrix. Just to test, I tried ...
0 votes
0 answers
54 views
Numerically telling if a point in an SDF is a saddle point?
I am wondering if I can use some of the numerical operators (gradient, laplacian, divergence, mean curvature...) and apply it to a point on the 0 iso surface of an SDF in order to tell whether it is a ...
4 votes
1 answer
497 views
Algorithm to sample an SDF?
Note that I am well aware of dual contouring, marching cubes and friends. What I am interested about is if there is an algorithm for placing point samples on the surface of the SDF, i.e. just to ...
1 vote
2 answers
453 views
Jump Flood Signed Distance Field Computation Is Incorrect
I am trying to implement the Jump Flood Algorithm (JFA) to compute the Signed Distance Field (SDF) of a glyph atlas for font rendering. I managed to set up my framework (OpenglGL-based) for running ...
1 vote
0 answers
314 views
Most efficient way to calculate signed distance field (SDF) for pixel subsamples?
Looking how to utilize as much parallelization processing as possible for the following task: A screen-sized texture is completely black except for blue pixels which are in close proximity to geometry ...
2 votes
0 answers
56 views
Memory footprint for 3D convolutions on signed distance fields vs. voxel grids
I am reading NVIDIA's Get3D paper in which they train a ML model to generate 3D models. They mention in "Related Work": Early approaches aimed to directly extend the 2D [Convolutional ...
1 vote
0 answers
65 views
Distance to arbitrary set of line segments acceleration structure?
Background: I'm trying to render lightning within a volumetrically rendered cloud. I'm currently using a series of line-segments to represent lightning. At first I used a distance field rendered into ...