Hello
I’m working on a flash application for bath design.
The user can set the dimensions of the bathroom and add different types of bath furniture on a 2d plane. After that the user can see the design in an isometric view.
I did most of the work and the application is almost ready but I have some troubles with z-sorting in the isometric view.
I know how to z-sort all products. I’m using something like this (from a Senocular’s tutorial):
this.swapDepths(this._x + this._y*isoPlane_width);
The problem is that I can’t use that for the walls because a wall can’t be projected on a single point on the floor.
Here are examples of what I have to achieve:
2d view:
http://madara-sp.com/stoyan/2d.jpg
and isometric view:
http://madara-sp.com/stoyan/iso.jpg