unlimitedbacon / stl-thumb

Thumbnail generator for STL files
MIT License
1.12k stars 95 forks source link

wgpu rewrite #101

Open HeavenVolkoff opened 1 day ago

HeavenVolkoff commented 1 day ago

Hello,

I came across this project while searching for a library to render stills of 3D models—great work, by the way! One of my requirements, however, was that it needed to use wgpu for rendering, unfortunately I couldn’t find anything else that met this need. Since most of the code for handling and parsing 3D model files was already implemented here, I decided to port this project to wgpu.

It turned out to be more challenging than I initially expected XD, but I managed to get it working in the end. My code is available on my fork, and I’m opening this issue to see if there’s interest in merging it upstream. It’s nearly a complete rewrite and includes a few breaking changes, as well as some slightly different behavior and there are still some things that need to be updated (like deb/rpm packaging and Gnome/Windows Explorer integration), though I’d be open to work on those if there’s interest in merging upstream.

Thanks

unlimitedbacon commented 1 day ago

Wow. Yes, switching to wgpu is something I was already planning for the future. This is excellent. I'll look over this thoroughly and see if we can merge it.