P3D in Android Emulator
in
Android Processing
•
6 months ago
I've been unable to get 3D rendering working in the Android emulator, have tried a bunch of stuff already so hoping folks out there might have some more ideas than me!
I gather from previous posts [1] [2] that Processing's default AVD does not enable hardware GPU support so in turn does not support OpenGL / 3D. I have created 2 new AVDs from scratch with "Use Host GPU" selected, one is an API 10 and the other an API 17, but neither of them are able to run 3D apps. 2D apps work fine on the emulators.
The smallest app i can create to reproduce this is:
I am running Processing 2.0b8 on Windows 7 64 bit, with the Android SDK Tools 21.1, Android SDK Platform-tools 16.0.2, API17, API10 and the HAXM accelerator installed (all latest as at 29mar2013). Same problem happened even before installing HAXM.
Any ideas how to get 3D working in emulation? What have i missed?
I gather from previous posts [1] [2] that Processing's default AVD does not enable hardware GPU support so in turn does not support OpenGL / 3D. I have created 2 new AVDs from scratch with "Use Host GPU" selected, one is an API 10 and the other an API 17, but neither of them are able to run 3D apps. 2D apps work fine on the emulators.
The smallest app i can create to reproduce this is:
- void setup() {
- size(displayWidth, displayHeight, P3D); // crashes, no info to console alas
- }
I am running Processing 2.0b8 on Windows 7 64 bit, with the Android SDK Tools 21.1, Android SDK Platform-tools 16.0.2, API17, API10 and the HAXM accelerator installed (all latest as at 29mar2013). Same problem happened even before installing HAXM.
Any ideas how to get 3D working in emulation? What have i missed?
1