Display cube when overlapped?
Posted
by
lptrung
on Stack Overflow
See other posts from Stack Overflow
or by lptrung
Published on 2012-06-26T07:29:45Z
Indexed on
2012/06/26
9:16 UTC
Read the original article
Hit count: 146
three.js
Hi all!
I have a problem when run animation with three.j. See example: http://jsfiddle.net/5ywdE/13/
When the green cube is rotated to position of the blue cube, the red cube will be rotated.
Question: why is the blue cube displayed while the green blue is in front of it. I want the green cube is displayed in front of the blue cube (like so the red cube is displayed in front of all). Can I set the cube which will be displayed in front of other cube in case of overlapped?
What am I doing wrong??
Thanks in advance
© Stack Overflow or respective owner