Skip to content Skip to footer

Gradients Are the New Intervals by surprisetalk

6 Comments

  • Post Author
    kragen
    Posted May 31, 2025 at 10:50 am

    This is very exciting! It seems like a lot of the interval stuff is bringing to fruition my idle speculations from 6 years ago in https://dercuano.github.io/notes/interval-raymarching.html. I'll have to read this carefully to see if it's actually the same approach or a different one that uses the same algebras.

  • Post Author
    fph
    Posted May 31, 2025 at 11:05 am

    One of the benefits of intervals is that you can ensure your results are correct irrespective of floating-point errors, if you carefully round all computations in the correct direction.

    I don't think you can ensure that with gradients though: if f and f' are computed in machine arithmetic, cancellation errors might pile up.

  • Post Author
    3abiton
    Posted May 31, 2025 at 11:10 am

    It started interestingly, but then

    > This blog post assumes a vague understanding of implicit surface rasterization, and how interval arithmetic is used to both skip regions of space and simplify complex expressions.

    Can anyone give me a quick rundow of the article?

  • Post Author
    constantcrying
    Posted May 31, 2025 at 11:54 am

    >In this case, "the Lipschitz property" means that the gradient of the distance value is bounded

    This is total nonsense. The point of Lipschitz continuity is that it is more than continuity and less then differentiability. If you assert that it is differentiable the concept looses all meaning. It is specifically interesting because you do not have to assert differentiability.

  • Post Author
    yorwba
    Posted May 31, 2025 at 12:06 pm

    The suggested normalization procedure, even with the ad-hoc fix for gradient discontinuities, doesn't actually ensure that the resulting function is 1-Lipschitz unless the gradient of the gradient magnitude vanishes. The signed-distance functions considered in the article seem to have piecewise constant gradient magnitudes (so are L-Lipschitz, just with L > 1) except for inside the "r", but for less well-behaved functions, higher order derivatives might start to matter.

  • Post Author
    diabllicseagull
    Posted May 31, 2025 at 3:41 pm

    I've worked on a patent some years ago about SDF CSG Tree pruning and constant radius filleted blends. Sadly patents don't get the same visibility journals enjoy.

    https://patentimages.storage.googleapis.com/7a/73/2d/8d2eeca…

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.