mrdoob/three.js — Issue #900: Collada Geometry
Author: yixx
Created: 2011-12-14 07:50:04+00:00
State: open

Hello people,

First of all, thanks alot for Three.js! It is certainly user (noob) friendly!

Then to the issue. I am trying to find the Geometry or Mesh of a loaded Collada Model. Because I want to adapt the camera to the most outer vertices of the model. So far, i have found the geometry for the example collada model (examples/models/monster.dae) in collada.scene.geometry, if I am correct. But for some other models, it does not work.
(where collada is the argument that is passed to the callback function of THREE.ColladaLoader.load() )

Basically i have stripped the webgl_collada.html example to it's basics, displaying the model. Now when I want to load another model, it sometimes does find the geometry under collada.scene, and sometimes not.
(I am new here, and dont know how to attach or provide examples now, sorry)

Is there a general place where the geometry or something like that is saved in a collada model?

Also, have absolutely no knowledge of models, could anyone give a small explanation as to what the difference between a Geometry and a Mesh is?

Every piece of help is greatly appreciated!! Thanks!

Yixx