Top
Best
New

Posted by ppmpreetham 11 hours ago

Blender's UI and Runtime: Much Faster Than GPUI(github.com)
563 points | 232 commentspage 3
gen2brain 5 hours ago|
But, can it work without GPU? All native toolkits have fallback to software rendering. I do not uderstand what is gained, cpu was good enough for that since Windows 95 era? Just do not redraw every frame like in games but retain instead?
zamadatix 5 hours ago|
Yes, it defaults to CPU and explains when you might want to use the GPU and why in this section https://github.com/ppmpreetham/BUI#18-rendering-on-the-cpu-a...
the__alchemist 5 hours ago||
I'm excited, and will try this! Its provenance speaks loads, as Blender is a beacon of software design, open-source or otherwise.

I'm an EGUI fanboy, but am looking to truly compare it to other things, especially non-immediate mode. I have no gripes with EGUI, other than it seems to create an application size floor, and I suspect memory use could be better. It has never blocked me, including for complex applications with GPU rendering etc.

Blender is peak OSS. I'm in! Will give this a shot for my next limited-scope application. I'm also experimenting with GPUUI.

I will try Slint if I ever do embedded with a full GUI.

I will poke at this, because I saw the same sentiment in a HN thread yesterday: >" You write Rust or React and want a native desktop UI without shipping a browser." You don't need to ship a browser to do GUIs in rust. Some people do, and justify it through comparisons to Electron (Tauri) - I suspect this is a pushback against that?

Another thing I will poke at from comments: If you're going to dismiss this as a non-native UI and therefor inferior: Post specifically what features your OS-native toolkit or OS conventions have that won't work here. (Is it hotkeys, color scheme, a Je-ne-sais quoi? What OS specifically? My pet theory is these are all MacOS users, but I'm not sure)

brcmthrowaway 1 hour ago||
This is cool. But can I write the UI in an XML file?
ppmpreetham 51 minutes ago|
Give me an example
hollowonepl 6 hours ago||
Nice. I have my own GPU GUI toolkit I'm satisfied with and developed because I did not want to have yet another imgui looking app that required gpu accelerated UI toolkit.

But, if I did not invest last two years into my own toolkit, I'd definitively consider.

michaelanckaert 3 hours ago|
I'm interested to learn more, do you have link?
mapcars 3 hours ago||
Those numbers look very impressive, I'll try it in some projects
mariocesar 5 hours ago||
I have the same idea 10 years ago. :D I am so happy seeing that somebody was capable of making it. I always admire blenders UI and all the work developers did on making it.
andsoitis 4 hours ago||
> The GPU renderer is opt-in: Direct3D 11 on Windows (gpu/intern/gpu_d3d11.c) and OpenGL 3.3 core on Linux (gpu/intern/gpu_gl.c).

Direct3D is at version 12 on Windows[1].

What tech on macOS? OpenGL?

[1] https://en.wikipedia.org/wiki/Direct3D

bita_nidir 7 hours ago||
Nice! I've been waiting for someone to do this for a long time. Now I'll just need to wait a bit longer for someone to apply this to FreeCAD. Boy oh boy!
Washuu 9 hours ago|
I have been remaking a Blender style UI in Kotlin for my Umamo project because I love Blender's UI that much.

I think I will keep going with my own efforts, but this looks nice!

ppmpreetham 7 hours ago|
Yess, never stop building!

We also have a kotlin binding support coming soon, btw!

More comments...