Layer Dissect
Posted: Sun Jun 16, 2013 6:05 pm
Is it possible to create a 2d plane and then have that place dissect another plane in 3d space? For example, I create plane A and rotate it on the x-axis by 90 degrees so that it's flat on the horizontal plane. I then make plane B and leave it so that it's perfectly vertical. When I move the vertical plane (plane B) on the Z-axis, it doesn't actually dissect the horizontal plane (plane A), it just shows whichever plane has the highest layer order.
This is a big problem for me, because I'm playing with clouds at the moment. I created 4 long string on clouds with various z-axis values to give them depth. In order to bridge the length between these strings of clouds and created a cloud floor which is just a white rectangle which I rotated horizontally. I then moved this cloud floor on the y-axis so that it cuts the clouds in half, with the idea that this cloud foor would reveal only the bottom of the clouds when the camera is below the cloud floor and only the top of the clouds when the camera is above the cloud floor.
Well, this doesn't work ... The camera only seems to recognize objects based purely on layer order and doesn't recognize the fact that the cloud floor is dissecting the clouds, cutting them in half. Any ideas???
This is a big problem for me, because I'm playing with clouds at the moment. I created 4 long string on clouds with various z-axis values to give them depth. In order to bridge the length between these strings of clouds and created a cloud floor which is just a white rectangle which I rotated horizontally. I then moved this cloud floor on the y-axis so that it cuts the clouds in half, with the idea that this cloud foor would reveal only the bottom of the clouds when the camera is below the cloud floor and only the top of the clouds when the camera is above the cloud floor.
Well, this doesn't work ... The camera only seems to recognize objects based purely on layer order and doesn't recognize the fact that the cloud floor is dissecting the clouds, cutting them in half. Any ideas???