For some reason, I’m unable to access geometry data (geometry.face, geometry.vertices, etc) using OBJLoader. This data is available using OBJMTLLoader, but when I log the object to the console with OBJLoader, the properties aren’t there are on the javascript object.
1 thought on “Accessing Geometry Data from OBJLoader”
Comments are closed.
Alright, I simply had to put “new” in front of “THREE.Geometry()”:
var geometry = new THREE.Geometry().fromBufferGeometry( bufferGeometry );
On Wed, Dec 17, 2014 at 6:19 PM, Erick Katzenstein <
erick.katzenstein@gmail.com> wrote: