mrdoob/three.js — Issue #949: Picking interiors
Author: ashgavs
Created: 2011-12-21 18:04:46+00:00
State: open

Hey all,
I apologize if this is an easy question but I am new to ThreeJS. That being said I have used a LOT of different javascript 3d APIs and this one is by far the best. So I have a panorama that I am mapping to the interior of a cylinder. I am implementing a pen tool so they can annotate the panorama. The problem is that the ray.intersect function isnt working. I was messing around and changed my camera position to the outside of the cylinder, rather than inside of it. All of a sudden the ray.intersect function successfully returned the point at which the mouse clicked the cylinder. This led me to believe that ray.intersect doesn't work with the interiors of meshes. Any thoughts?
--Ashley