Skip to content

many methods of PShape do not work with loaded obj files #2873

@sterlingcrispin

Description

@sterlingcrispin

IMHO all of the listed methods of PShape should work with loaded OBJ files

using processing 2.0.3 and 2.1.1

this code is modified from LoadDisplayOBJ example, many of the methods listed here do not work with this loaded OBJ file http://processing.org/reference/PShape.html , as an example below, getVertexCount() returns a zero

PShape rocket;

public void setup() {
size(640, 360, P3D);
rocket = loadShape("rocket.obj");
println(rocket.getVertexCount());

}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions