Is it possible to use MAUI as a 3D GUI? #348
Comments
Its not suitable for 3d graphics, of course its possible to rasterize a 3d image onto a canvas pixel by pixel using your own renderer but this wouldn't be taking advantage of your GPU and would be very inefficient (and complicated). Best of luck. |
@Timmoth I already use Veldrid! What is written in the post. How exactly do you suggest that I effectively draw buttons, forms, tables, etc.? I'm looking for a method that allows me to create an interface plane, display images from it, and enter keystrokes and mouse clicks. |
What exactly do you mean by a 3d gui? If you are talking about rendering a user interface in a 3d environment you could look at something like imgui? |
@Timmoth But Need limitless complexity, Blazor is perfect for the moment. Requires NOT LESS than an interface similar to that of a website. |
Why not use html / css then? |
But how? what libraries? what methods? what will the code look like? there are examples? After all, Blazor is Html+Css+JS... |
I'm afraid I think your asking in the wrong place for that! Maui graphics is for rendering 2d graphics onto a canvas, if you are after creating a nice interface I'd recommend looking at a css library like bootstrap or tailwind. It is possible to achieve 3d looking results in css - a quick search showed this showcase https://bashooka.com/coding/css-3d-design-examples/ |
@MiheevN, I've created a simple demo app that shows how you might achieve some 3D graphics on a canvas - whilst it is possible - it is extremely inefficient (does not take advantage of the GPU for all the matrix operations) not to mention alot of hard work for complex scenarios! |
@Timmoth Also a good and useful example, which will undoubtedly come in handy. Thank you! But unfortunately not exactly what I need. I already think that I just need planes for the Blazor Site / MAUI render. Once again thoroughly, WHAT IS REQUIRED:
|
I need to render MAUI inside or on top of 3D space, as well as in the form of 3D textures - widgets. Like in game engines.
Is it even possible with this project.
For example, there is Veldrid, and the corresponding theme:
veldrid/veldrid#443
Where I was advised to apply here again
Maybe someone can tell me which projects I should study, for example
Microsoft.Maui.Graphics.Blazor
Microsoft.Maui.Graphics.Skia
But so far I don’t understand at all how to get a rendered image, which can be displayed simply in a picture, and thrown into a render.
You can count my skills as 0, explain like a baby, but the zeal is endless.
Since I definitely need a 3D GUI
The text was updated successfully, but these errors were encountered: