Open
Description
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
4.3.1
Operating system
Windows 11 (24H2)
Steps to reproduce this
PShape.getVertexCount()
always seems to output 0. (tried 1 .svg file and 4 .obj files, even included the .mtl files)
snippet
PShape shape;
void setup() {
size(640, 360, P3D);
shape = loadShape("cuboctahedron.obj");
println(shape.getVertexCount()); // zero???
}
void draw() {
background(0);
lights();
translate(width/2, height/2, -200);
scale(50);
rotateY((float)millis()/2000);
shape(shape);
}
Additional context
No response