I want to run a Processing sketch on Android mode where I load and display an .obj file. In Java mode it works perfectly but in Android mode the .obj geometry shows up without the materials (.mtl file).
My .obj and .mtl(including png textures) are both in the data folder.
PShape s;
void setup() {
size(720, 1280, P3D);
s =loadShape("myObject.obj");
}
void draw() {
background(230);
lights();
scale(40);
shape(s, 10, 10);
}