Live data from Hacker News

AAA – Analytical Anti-Aliasing

blog.frost.kiwi

11–20 of 104 posts

Re: AAA – Analytical Anti-Aliasing

#11

Thanks for sharing! Author here, happy to answer any questions.

Not a question but some unsolicited (sorry) feedback. The intro seems designed to set people up for disappointment. You start off by talking about AA methods used for 3D scenes, and you've picked a very cool way to present them... but the article is actually about antialiased drawing of SDFs, which is not exactly a hard problem and not applicable to 3D scenes. Unless your scene is made up of SDF shapes, but I don't think the method you're presenting would be fast enough on a nontrivial scene as you would need to rely on alpha-blending across seams. (I think Alex Evans' talk on Dreams mentions they tried something similar to get fuzzy shapes but dropped it due to perf and sorting issues.) In any case, it would have been nice for the article's intro to more clearly say what it's about and what the technique is useful for.

Re: AAA – Analytical Anti-Aliasing

#12
post #6

Awesome article. SDF(or mSDF) isn't the future. It's already "good enough" classic. > This works, but performance tanks hard, as we solve every > bezier curve segment per pixel This is "the future" or even present as used in Slug and DirectWrite with great performance https://sluglibrary.com/ https://learn.microsoft.com/en-us/windows/win32/directwrite/...

Don't forget about implicit curve rendering [0]. The patent will expire soon [1].

[0]: https://www.microsoft.com/en-us/research/wp-content/uploads/... [1]: https://patents.google.com/patent/US20070097123A1/en

Re: AAA – Analytical Anti-Aliasing

#13
Graphics programming analysis done using examples written in WebGL–genius. Hypertext that takes full advantage of the medium. This reminds me of something I'd see on https://pudding.cool/, but it goes far more in depth than anything there. Absolutely fantastic article.

I've been using MSAAx4 in my rendering engine for some time and only recently have considered switching to a FXAA / TAA implementation. I'm actually not sure I'm going to go through with that now. I definitely learned a lot here, and will probably use the analytical approach for UI items, I hadn't heard about that anywhere.

Not often you see graphics-programming stuff on HN. For anyone interested in more graphics write-ups, this list of frame breakdowns is one of my favorite resources:

https://www.adriancourreges.com/blog/

Re: AAA – Analytical Anti-Aliasing

#15
post #8

Great write-up! Though a little caveat from my side, as I have written both 2D and 3D rendering engines. Let me tell you, they could not be more different. It is not just another dimension but completely different goals, use-cases and expectations. So instead of: > Everything we talked about extends to the 3D case as well. I would say the entire post is mostly about 3D, not 2D rendering. If you are curious about this…

Hey, i'm brainstorming for a 3d vector renderer in WebGPU on JS/TS and stumbled on your project [0] yesterday.

(Thick) line drawing is especially interesting to me, since it's hard [1].

I also stumbled upon this [2] recently and then wondered if i could use that technique for every shape, by converting it to quadratic bezier curve segments.

Do you think that's a path to follow?

[0] https://github.com/Lichtso/contrast_renderer

[1] https://mattdesl.svbtle.com/drawing-lines-is-hard

[2] https://scribe.rip/@evanwallace/easy-scalable-text-rendering...

Re: AAA – Analytical Anti-Aliasing

#16

Thanks for sharing! Author here, happy to answer any questions.

Not a question but some unsolicited (sorry) feedback. The intro seems designed to set people up for disappointment. You start off by talking about AA methods used for 3D scenes, and you've picked a very cool way to present them... but the article is actually about antialiased drawing of SDFs, which is not exactly a hard problem and not applicable to 3D scenes. Unless your scene is made up of SDF shapes, but I don't t…

[deleted]

Re: AAA – Analytical Anti-Aliasing

#19
scrolling thru the post the NeoTokyo screenshot struck me instantly, I ran through the hallway thousands of times - I ran a server for that mod for some years and had great fun with a small community of good/capable people.
Post reply on HN