f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.88k stars 207 forks source link

F3D Plugin for Quicklook Windows #900

Open Da3n0n opened 1 year ago

Da3n0n commented 1 year ago

really don't know if this is a reasonable implementation to achieve or if possible for you's but would be amazing for sure.

This would allow you to utilize the power of F3D and its supported filetypes in Quicklook https://github.com/QL-Win/QuickLook/wiki/Available-Plugins there is already a 3D viewer plugin plugin for QL but sadly it doesn't support many types or features like F3D, QL is Great for 3D artists and Designers and other creatives that need to view various file types without opening them etc. but that lack of 3D support holds it back generally and if F3D Could be used wiht this would be truly amazing for many peoples workflows.

mwestphal commented 1 year ago

That looks great! Someone will need to integrate the libf3d into QuickLook, so probably on QuickLook side, but F3D can help with that.

@xupefei, wdyt ?

Meakk commented 1 year ago

It would be great indeed. I see that the code of plugins is in C#, which should be able to use unmanaged code.
My only question is how do you handle the OpenGL context? Is Quicklook able to create such context?

Da3n0n commented 1 year ago

ohh its great to see yous are on board with such implementation . i don't know about logistics but if this is possible this is Next Level .Thank you so much for listening its very much greatly appreciated . still cant believe how fast Drag and Drop HDRI Was implemented Well done and thanks again .

xupefei commented 1 year ago

I know https://github.com/dwmkerr/sharpgl can handle OpenGL in WPF, but has no exp using it...

mwestphal commented 1 year ago

I think we should try to add a C# OpenGL prototype somewhere first then.

Meakk commented 1 year ago

Even if I think it's not strictly necessary, we should also consider adding C# bindings, that would make the implementation even easier.

mwestphal commented 1 year ago

@Meakk adding a 3.0 milestone on this