• Skip to main content
  • Skip to primary sidebar

Anastasios Chondrogiannis

Software developer with a focus on iOS

Anastasios Chondrogiannis

Android OpenGL ES – Part 4: Indexed Drawing

March 6, 2020 by Anastasios Chondrogiannis Leave a Comment

1. Visualize interpolation

  • Open the main.cpp file.
  • Modify the vertex shader source code as follows:
[Read more…] about Android OpenGL ES – Part 4: Indexed Drawing

Filed Under: Android Development

Android OpenGL ES – Part 3: Transformations

March 5, 2020 by Anastasios Chondrogiannis Leave a Comment

1. Link the GLM Library

  • Click here and download the GLM library. I used version 0.9.9.7.
  • Unzip the file you downloaded.
  • Inside the unzipped folder you will find a subfolder named glm. Move this folder into your project’s cpp folder:
    • Open the Project pane from the left side of the IDE.
    • Select the Project view.
    • Navigate to app->src->main.
    • Drag and drop the glm folder onto the cpp folder and click OK.
  • Open the CMakeLists.txt file.
  • Make the following changes:
[Read more…] about Android OpenGL ES – Part 3: Transformations

Filed Under: Android Development

Android OpenGL ES – Part 2: Triangle

February 21, 2020 by Anastasios Chondrogiannis Leave a Comment

1. Link the log library

  • Open the CMakeLists.txt file.
  • Make the following changes:
cmake_minimum_required(VERSION 3.6.0)

add_library(native-library SHARED main.cpp)

find_library(opengl-lib GLESv3)
find_library(log-lib log)

target_link_libraries(native-library ${opengl-lib} ${log-lib})
  • Save the file and click Sync Now.
[Read more…] about Android OpenGL ES – Part 2: Triangle

Filed Under: Android Development

Android OpenGL ES – Part 1: Basic Setup

February 14, 2020 by Anastasios Chondrogiannis Leave a Comment

1. Create a new Android Project with C/C++ support

In order to create a new Android project with C/C++ support, click here and follow the instructions.

The only difference is that you will use a different API level:

Minimum API level: API 21: Android 5.0 (Lollipop)

[Read more…] about Android OpenGL ES – Part 1: Basic Setup

Filed Under: Android Development

Add C/C++ to your Android project

February 13, 2020 by Anastasios Chondrogiannis Leave a Comment

1. Create a new Project

  • Open Android Studio (I’m using version 3.5.3).
  • Click Start a new Android Studio Project.
  • Under the Phone and Tablet tab select Add No Activity and click Next.
  • Fill in the following information:
    • Language: Kotlin
    • Minimum API level: API 16: Android 4.1 (Jelly Bean)
    • This project will support instant apps: Leave it unchecked
    • Use androidx.* artifacts: Leave it checked
  • Choose your own Name, Package name and Save location.
  • Click Finish.
[Read more…] about Add C/C++ to your Android project

Filed Under: Android Development

MXNet to CoreML with mxnet-to-coreml package

November 8, 2019 by Anastasios Chondrogiannis Leave a Comment

1. Setup the Anaconda environment

  1. Download, install and run Anaconda.
  2. Select the Environments tab on the left.
  3. Click the Update index… button and wait for the update to finish.
  4. Click the Create button.
  5. Create a new environment with the following settings:
    • Name: mxnet2coreml
    • Leave Python checked and select the 2.7 version.
    • Leave R unchecked.
[Read more…] about MXNet to CoreML with mxnet-to-coreml package

Filed Under: Machine Learning

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Primary Sidebar

Let’s connect!

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter

Recent Posts

  • Android OpenGL ES – Part 10: Specular lighting
  • Android OpenGL ES – Part 9: Diffuse lighting
  • Android OpenGL ES – Part 8: Ambient Lighting
  • Android OpenGL ES – Part 7: Textures
  • Android OpenGL ES – Part 6: Camera View

Archives

  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • July 2019

Categories

  • Android Development
  • Machine Learning

Copyright © 2025 · Genesis Sample on Genesis Framework · WordPress · Log in