3
votes
Accepted
Gradient descent (Not ML) on arbitrary meshes
Maybe you can find a heuristic to detect when it gets stuck (e.g. gradient magnitude is too small, or it stays on the same triangle or returns to a recently visited triangle too many times in a row, ...
2
votes
Accepted
Determining the function of a radial gradient fill with midpoint
It seems to be just a scalar Bezier function to me, where the second coefficient is determined by $a$
$$(1-x)^2 + a 2 (1-x) x,$$
here $a \in [0, 1]$ is a normalized percentage. This gets you pretty ...
1
vote
Accepted
How to generate a gradient to the edges of a triangle in GLSL?
You can calculate the perpendicular distance from each edge, and then take the minimum of the three edges. This is related to barycentric coordinates (which are normalized edge distances). If you ...
1
vote
Accepted
Calculating the gradient of a tetrahedral mesh
Assuming a value is assigned to each vertex of the mesh and we use purely linear interpolation, then there will be a constant gradient vector within each tetrahedron.
Linear interpolation can be ...
1
vote
Is there a tool capable of drawing a triangular linear gradient fill?
Most 2D graphics programs are able to do linear gradients with arbitrary orientations. If you don't mind a little work, it is possible to set this up to imitate the 2D linear interpolation across a ...
1
vote
Improve accuracy of mesh gradient?
I dont know what you are using to calculate the Cotan, the accuracy should different on the implementation.
But you could do more accurate calculations yourself by approximating the values using ...
1
vote
Accepted
Mis understanding of the Heat Method
When solving the equation $(M - tL_C)u = \delta_\gamma$, you effectively have to invert the operator:
$$
u = (M - tL_C)^{-1} \delta_\gamma
$$
Note that while the individual operators $M$ and $L_C$ are ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gradient × 10mathematics × 6
computational-geometry × 4
geometry × 4
mesh × 3
opengl × 2
image-processing × 2
3d × 1
texture × 1
lighting × 1
shading × 1
perspective × 1
triangulation × 1
pixel-shader × 1
edge-detection × 1
differential × 1