Stream: brlcad

Topic: framebuffer


view this post on Zulip Sean (Jun 10 2022 at 21:06):

It's been a long while since I really looked at the API, but actually impressed at how simple former libfb actually is for drawing. I was able to adapt something based on a different toolkit almost as-is. Created this little demo/test in a matter of minutes:
fbdemo.png

view this post on Zulip Sean (Jun 10 2022 at 21:17):

And here's the code. fbdemo.cpp Basically comparing libfb with opencv as it also has one of the most simple APIs I've come across to date. Draws a few specific pixels and then randomly draws random gray values for a while (except around the specific pixels).

view this post on Zulip starseeker (Jun 10 2022 at 21:19):

Nifty!


Last updated: Oct 09 2024 at 00:44 UTC