Hi @svan !
Here is the source code and the file
PShape obj; // , obj2
PImage txtr;
float theta;
PGraphics canvas;
void setup(){
size(1000,1000,P3D);
txtr = loadImage("grid3.jpg");
}
void draw() {
background(txtr);
objAbstractShape();
void objAbstractShape(){
obj = loadShape("dalle_2.obj");
obj.setFill(color(255)); // Brigthens the texture
obj.setTexture(txtr);
pushMatrix();
translate(width/2, height/2);
shininess(5.0);
lights();
rotateY(theta/2); //mouseY or (radians(frameCount));
rotateX(theta/2); //mouseX or (radians(frameCount));
rotateZ(theta/2);
scale(70);
shape(obj);
popMatrix();
theta+=.1; //.01
}
}