4 ms·
Does anyone know of ways to expand this towards 3D paths with consistent screen-space stroke width?
by erwinh 2y ago
Does anyone know of ways to expand this towards 3D paths with consistent screen-space stroke width?
- posix86 2y agoLook at the quadratic bezier fragment shader in https://hhoppe.com/proj/ravg/ https://hhoppe.com/proj/ravg/ might generalize well zo 3d.
- mattdesl 2y agoMuch simpler than the paper, but I have a 3D screen space implementation here[1]. [1] https://mattdesl.svbtle.com/drawing-lines-is-hard https://mattdesl.svbtle.com/drawing-lines-is-hard
- amitp 2y agoI love this page. Thank you. I bookmarked it in 2018 but still haven't used it, doh! https://wwwtyro.net/2019/11/18/instanced-lines.html https://wwwtyro.net/2019/11/18/instanced-lines.html is also nice.