2015-03-20 10:32 GMT+01:00 Tavmjong Bah <tavmjong@...8...>:
On Thu, 2015-03-19 at 23:13 +0000, Krzysztof Kosiński wrote:
- Invert coordinate system
We need to decide whether we want to keep the 3D Box at all costs, or is the coordinate system inversion a more important goal than having 3D Box. Being unable to fix 3D Box was the main reason I didn't commit this change when I initially made it. FWIW, I think the 3D Box tool is nearly unusable and needs to be rewritten from scratch. It also pollutes the entire codebase with special handling for its perspective elements, indicating faulty design.
Do you have a better design in mind?
Why can't the 3D Box be fixed?
It writes out desktop coordinates to the XML instead of document coordinates. We would need to fix up the XML, similar to what we did for guides. Even when that is fixed, there is the problem of chirality of the coordinate system - the sides of the 3D Box are switched around.
There are also some UI issues, for instance there doesn't seem to be any easy way to specify whether you want to create a 3D box in an existing perspective or create a new one.
It's not clear to me whether these issues can be effectively addressed without a rewrite, so if we could decide whether inverting coordinates or preserving 3D box is more important, we would have a contingency plan.
Regards, Krzysztof