Tutorial: Making Android Game. Setup Rajawali – Show Earth

And God saw everything that he had made, and behold, it was very good. And there was evening and there was morning, the sixth day.

Second video about making game for Android. In this video we are going to rotate Earth!
Contact me if you have questions, or you want to add something interesting to video course.
This is Rajawali Basic Setup & Sphere (Maven) video tutorial for russian viewers, but also it have english subtitles. Original article link:

Rajawali Engine: https://github.com/Rajawali/Rajawali

Plan, commands, links:
1. Install VirtualBox Guest Additions

sudo apt-get install dkms
sudo apt-get install linux-headers-$(uname -r)

2. Add Rajawali library to project
File build.gradle (Project: Demon’s Cave)
Add mavenCentral(into buildscript/repositories section
maven { url “https://oss.sonatype.org/content/repositories/snapshots/” } into allprojects/repositories section

File build.gradle (Module: app)
Add compile ‘org.rajawali3d:rajawali:1.0.306-SNAPSHOT@aar’ into dependencies section

3. Create Renderer class, setup scene, add sphere and rotate it!
Renderer.java source code:

4. Integrate Renderer into MainActivity
MainActivity.java source code:

Earth texture: