So two years ago I was creating a feature for a mod but never really worked on it cause I couldn't get the rendering to work properly... But now look at this - it looks great! And I even added a neat little wrapper for it :D
(Old Screenshot: #showcase-old message)
#Finally fixed it after two years
17 messages · Page 1 of 1 (latest)
nice
bernstein polyonimal or de castelejui's algorithm?
second one
oh cool
Oh btw if anyone's asking this is using custom rendering using a tri-strip
No idea how inefficient it actually is, but rendering lines is quite difficult since lwjgl 3 removed "lines" and "quads" from the rendering modes
Mojang has some weird solutions for both but lines won't really work well for UI
And lines with a thickness basically does the same thing like my tri strip
This is the implementation
It's maybe not 100% efficiency but it's infinitely expandable
true but
instead of having a bezier curve like 99th order
u can have multiple cubic or quad bezier curves toggether
one attached to the end of another
there is a great video on bezier curves
Bézier curves - how do they do?
They're used for animation, text rendering, and all sorts of curved shapes! But how do they actually work? well, like, that's what the video is about, so, watch it to find out etc!!
• Lots of love to
💛 Jazz "queenjazz" Mickle for making the music ❱ https://queenjazz.bandcamp.com/
💙 Grant "3Blue1Brown" Sanderson...
worth a watch imo
I know but I don'T need it for this usecase