Skip to content Skip to sidebar Skip to footer

How To Perform Picking And Hiding Objects Using Three.js?

Show/Hide: I've been using Three.js Release 50 and able to show/hide the objects (In my application, it is a mesh child) with the help of: THREE.SceneUtils.traverseHierarchy(mesh,f

Solution 1:

As WestLangley mentioned, one clear question per post would help us to better answer you.

For a somewhat less complex example of picking in Three.js using Raycaster, I have posted an example at:

http://stemkoski.github.com/Three.js/Mouse-Tooltip.html

which changes a property (the color) of an object in the scene based on a ray eminating from the position of the mouse. Perhaps this code can be adapted to address part of your difficulties.

Post a Comment for "How To Perform Picking And Hiding Objects Using Three.js?"