💾 Archived View for station.martinrue.com › sdfgeoff › 7ffa443058284814b4ced18de19e0d15 captured on 2024-02-05 at 11:58:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2024-05-12)

-=-=-=-=-=-=-

👽 sdfgeoff

Anyone here know how to parameterize equations - I'm a bit rusty.

Story: I want to create a mesh representation of a 2d distance field. The distance field is a low-resolution floating point grid and data is interpolated with bilinear interpolation. As far as I can tell, the easiest way to find points on the bounday is to rearrange the bilinear patch into parametric form: F(x,y) = value could turn into F(t) = (x,y) where (x,y) is a point where value = 0.

Some scribbling/eyeballing suggests the solutions are all conic sections?

2 years ago

Actions

👋 Join Station

3 Replies

👽 mc

I fail to completely understand whaich is your doubt, but I'll presume that what's on this link may help you: https://colalg.math.csusb.edu/~devel/precalcdemo/param/src/param.html · 2 years ago

👽 sdfgeoff

For reference: F(x,y) = Axy + Bx(1-y) + C(1-x)y + D(1-x)(1-y)

Find solve for (x,y) where F(x,y) = 0

I'm not only interested in the solution, but also how it was achieved. · 2 years ago

👽 sdfgeoff

The longer story is that I want to be able to detect line-intersection (raycast) against the zero-isoline of the low-resolution-floating-point-grid. I would raymarch, but bilinear surfaces can be highly non-linear so cannot be treated as a signed distance field. · 2 years ago