
bulia byak wrote:
Apart from the shape of the sides' paths, the 3Dbox must also control the z-order of these paths in the group. Depending on which way the box is turned, the 3 sides that face the viewer must be on top of the z-order and the 3 others must be at bottom. If I "rotate" the box by dragging vanishing points, this must be adjusted accordingly.
This issue makes a question arise. As suggested by you in a previous email, I have assigned different default styles to the faces of a 3D box. Currently this looks acceptable because parallel faces are next to each other with regard to z-order. But this is not "correct", since the three rear faces are not at the bottom. If you manually change the order, however, the box looks very funny because almost every edge has a different color. I am not sure what would be the best way to overcome this problem. Any suggestions?
Regarding the general process of determining the "correct" z-orders of the faces, it shouldn't be a problem when all the vanishing points have "finite" state because then it's easy to determine which of two faces is "further away" from a vanishing point. But in case some (or all) of the vanishing points lie at infinity there is no way to decide which of two parallel (say) faces is "in front of" the other - both possibilities are equally acceptable, they only result in different visual perceptions of the same perspective. Should we therefore provide an option (maybe in form of a button for each axis direction in the toolbar) to let the user switch between them?
Thanks, Max