Integration with Rust 3D Graphics Libraries #5599
Unanswered
JohnPiwinski
asked this question in
Q&A
Replies: 1 comment 1 reply
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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