(Este NO es un sitio de ayuda. Lea las pautas anteriores antes de publicar).
var ThreeJSObject = function(x, y, z, udp, img) {
var texture, material, geometry, geom;
texture = THREE.ImageUtils.loadTexture(img);
material = new THREE.MeshBasicMaterial({
map: texture
});
geometry = new THREE.PlaneBufferGeometry(8, 8);
THREE.Mesh.call(this, geometry, material);
this.prototype.foo = ...
...
}
Intento usar THREE.MESH.call(this,geometry,material)
para crear un objeto en mi visor, y Chrome me da esto.
this.updateMorphTargets no es una función
Versión Three.js
[] ...
[x] Todos ellos
[ ] Explorador de Internet
[x] Todos ellos
Comentario más útil
ver aquí cómo hacerlo