xeolabs / scenejs

An extensible WebGL-based 3D engine. This is an archived project.
https://xeolabs.github.io/scenejs/
Other
649 stars 165 forks source link

Masking layers with tags does not work with picking #134

Closed rehno-lindeque closed 13 years ago

rehno-lindeque commented 13 years ago

When picking objects in 3D if you click on an object that is hidden due to tag masking, it is still selected preventing you from selecting the objects behind it.

(In BIMsurfer, this is noticeable with the walls when they're turned off)

xeolabs commented 13 years ago

Extended node masking example to demonstrate this fix: https://github.com/xeolabs/scenejs/blob/V2.0.0/src/examples/node-masking/node-masking.js

rehno-lindeque commented 13 years ago

Thanks for the fix