Thank you for the URL. The following ‘sort of’ works on my Mac. You should see a shuttle image rotating in the window. The .mtl file is missing from the original download. Attached you can also see the files that I used. The main file should have only one .obj extension, not two as was included in the download.
PShape rocket;
float ry;
void setup() {
size(500, 500, P3D);
rocket = loadShape("space-shuttle.obj");
}
void draw() {
background(200);
lights();
translate(width/2, height/2, 300);
rotateZ(PI);
rotateY(ry);
shape(rocket);
ry += 0.02;
}
Files in ‘data’ folder. add missing .mtl file (see below).