You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var p = new THREE.Vector3(x, y, z);
p = p.applyMatrix4(viewer.model.matrixWorld);
var vector = p.project(camera);
var x = (vector.x + 1) / 2 * viewer.dom_element.offsetWidth;
var y = -(vector.y - 1) / 2 * viewer.dom_element.offsetHeight;
Activity
natacha-beck commentedon Sep 28, 2020
Hi @liangfz-kit ,
I'm not 100% sure about what you are looking for. But I think that should be helpful:
liangfz-kit commentedon Oct 19, 2020