mrdoob/three.js — Issue #978: depth + z-sorting?
Author: ge5
Created: 2011-12-28 22:41:47+00:00
State: open

Please excuse if this sounds naive..I am loading a few animated models in a webGL scene, using tweens to random position (on click) + morphTargets--all working well. How do I go about insuring that the models "z-sort"(as in actionscript) or depth-sort when they happen to intersect? they presently respond as if "transparent" rather than as "solids". I see examples with THREE.Ray + intersect (i.e., "draggable cubes") and formerly, collisions but not sure how to apply.
Any suggestions-tips-advice -and/or pertinent examples are MUCH appreciated.Thanks.