Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use 3D graphics in Android Studio? [closed]

I am wondering how app developers create games with 3D animations and graphics. Does anyone know how those games are made, and can it be done with android studio?

like image 926
user4792835 Avatar asked Apr 18 '15 04:04

user4792835


People also ask

Can you make a 3D game in Android Studio?

Yes, it can be done with Android Studio. But, you would never hand-code it in real life. To make even a simple 3D game, you would want to use a game engine like Unity3D or jPCT-AE. Any decent 3D engine will have tools for porting to Android.

What is the 3D graphics library of Android?

The Open Graphics Library ( OpenGL ) is the industry standard API for creating 3D (and 2D) computer graphics and runs on most platforms. It can be used to create complex 3D scenes from graphic primitives such as points, lines, and polygons.

What is graphics in Android Studio?

Android graphics provides low level graphics tools such as canvases, color, filters, points and rectangles which handle drawing to the screen directly.

How do you animate on Android?

On Android 4.4 (API level 19) and higher, you can use the transition framework to create animations when you swap the layout within the current activity or fragment. All you need to do is specify the starting and ending layout, and what type of animation you want to use.


1 Answers

Yes, it can be done with Android Studio.

If you wanted to hand-code it, you would just create a GLSurfaceView, and draw objects into it. Here's a basic tutorial: Displaying Graphics with OpenGL ES

But, you would never hand-code it in real life. To make even a simple 3D game, you would want to use a game engine like Unity3D or jPCT-AE.

Any decent 3D engine will have tools for porting to Android. And many of them have communities that can offer support and troubleshooting.

like image 190
cutmancometh Avatar answered Oct 07 '22 12:10

cutmancometh