OpenGL Example for Xamarin.Android

Nathan Sokalski 3,976 Reputation points
2022-12-22T22:48:47.003+00:00

I am looking to create a 3D model composed of several cubes (therefore my model is just very basic shapes). I have never worked with 3D graphics before (although I don't know if graphic is the correct term since it is just several generated geometric shapes). After some searching, I found OpenGL, which looks like it can do what I want, but I have yet to find an example for Xamarin.Android. Is OpenGL the best thing to use for this, or is there something better to use for basic shapes? Whatever is best, are there any good examples in Xamarin.Android?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,818 questions
No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
    2022-12-23T02:15:50.71+00:00

    Hello,

    OpenGL the best thing to use for this, or is there something better to use for basic shapes? Whatever is best, are there any good examples in Xamarin.Android?

    OpenGL is a good choose to create 3D models, you can use it directly with using android.Opengl. Here is a android document about basic OpenGL.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful