We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
I´m trying to display and .obj geometry with materials (.mtl) in Android mode. In Java mode it works, but in Android mode it seems like the .mtl file is not being read and my geometry shows up all gray.
i have both .obj and .mtl in the data folder of the sketch.
PShape s;
void setup() {
size(720, 1280, P3D);
s =loadShape("myObject.obj");
}
void draw() {
background(230);
lights();
scale(40);
shape(s, 10, 10);
}