Integration with Rust 3D Graphics Libraries #5599
Replies: 2 comments 2 replies
-
Hi! I Think this should be quite doable, three-d looks very promising and flexible. Depending on how you'd like to integrate the rendering into your UI, I think the https://github.com/slint-ui/slint/tree/master/examples/opengl_texture and the https://github.com/slint-ui/slint/tree/master/examples/opengl_underlay might serve as starting points. Slint provides a current OpenGL context in the rendering notifier callbacks, along with a get_proc_address function pointer to initialise your own GL wrapper. With three-d, I don't think you can use the |
Beta Was this translation helpful? Give feedback.
-
I just figured this out and posted the answer to my own question in the disussions over at three-d. the link is asny/three-d#509 |
Beta Was this translation helpful? Give feedback.
-
I am attempting to write a tool to assist doctors with visualizing tissue biopsies that have been stained with multiple fluorescent dyes to identify cell types. How difficult would it be to include a 3D graphics window in a Slint application for this purpose? I have some experience using this library, and I heard someone mention that I could employ glium, wgpu, or winit directly to write the 3D content to the graphics window. I am afraid that if I do not use an official API, the code will be fragile and make future updates prohibitively difficult.
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions