Problem with .obj file (scale shape)

Hello @Philippe1 ,

This will only resize the width (x) and height (y).

You need to scale the x, y and z:

ball.scale(100, 100, 100); //scale the x, y and z

Example using the default cube in Blender:

void setup() 
  {
  size (500, 500, P3D);
  ball = loadShape("untitled.obj");
  ball.scale(100, 100, 100);  //scale the x, y and z of the shape
  }

void draw() 
  {
  background(20);
  lights();
  translate(width/2, height/2);
  rotateY(frameCount*(TAU/360));
  shape(ball, 0, 0);
  }

Reference:

Another example:

:)