Depth sorting problem in 3D space
Hi everybody,
With flash builder and away3d I have made a 3D building where you can walk through.
When you start, you are outside the building and you can enter the building through a door.
This building has an outside wall made of bricks and an inside wall. There is a little space between the inside wall and the outside wall (just as a cavity wall).
But when I walk outside the building, I can see sometimes parts of the inside wall through the outside wall (depth sorting problem). The same as I walk into the building, I see parts of the outside wall through the inside wall.
Some of these depth sorting problems you can solve with pushfront and pushback, but not all. For example when you are outside the building, you can use pushfront for the outside wall. You don't see the inside wall through the outside wall anymore. But when you walk into the building you see the outside wall through the inside wall (of course because you used pushfront for the outside wall).
Actually it depends on your position in the 3D space for which wall you have to use pushback or pushfront.
Is there a way to solve this kind of depth sorting problems?