three.js - how do I get the vertices of an object?
问题 I am trying to import a model from blender and loop through all vertices. I am using the colladaloader for the import. It all works fine and the model is loading. But I do not want the faces of the model - I only need the vertex positions for my purposes. Can anyone tell me if there is a way to do this? e.g. a loop that loops through all vertices of the imported model? Thanks, Tomo 回答1: If geo represents your geometry: for (var i = 0; i < geo.vertices.length; i++) { var v = geo.vertices[i]; /