Skip to content

Don't allow WktSelector for annotating 2d resources into Scenes #2367

Open
@azaroth42

Description

@azaroth42

One thought from the editors' meeting on Friday following the conference was that we could remove the ability to position a Canvas (or potentially other 2d resource) via a WktSelector and instead require a PointSelector like every other positioning within a Scene.

The warping / distortion effect seems unlikely to be implemented, especially weird ones like a bowtie layout, and per the principles, there isn't a use case (right?) that would suggest this as a requirement.

Instead you use a PointSelector to pick the point where the origin of the 2d resource should be positioned, a ScaleTransform to transform the Canvas units into the Scene units, and a RotateTransform to rotate it away from a default facing of positive Z. This would make the processing model more consistent, at minimal cost in terms of reduced functionality. Some positioning could be harder if you want to calculate a very specific plane that it should appear on, but for every harder positioning it seemed like there's an inverse one that is easier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions