Panini assistant
OpenPublic

Mock History

Current Revision

Mock Description

for https://phabricator.kde.org/T6543

In new revision I added support for miltiple sets of orthogonal vanishing points (bases). Why would you need that? Here's why:


there is a problem with this interface - say you want to draw 2 cubes in one scene, but one of them rotated 45 deg retative to other. You will need 2 assistant with exact same on-canvas position, rotation, bounds - just in one of them "camera" is rotated, so vanishing point are in different places.
theyr controls will overlap and one of them will be unusable.
<- old rev

Oh, man, this is a lot of different things for this assistant. I guess I really need to talk to @rempt about how to refactor the assistant editing tool O_O

WhaleKit added a comment.EditedJul 23 2017, 11:10 AM

Brief explanation: it's a painting assistant that helps you draw in Panini projection.
Panini projection is a projection that allows you to draw in wide angle without distortion.
See this image, comparing rectilinear and Panini projections: https://raw.githubusercontent.com/shaunlebron/blinky/master/readme-img/old-and-new.jpg (source)

WhaleKit added a comment.EditedJul 25 2017, 6:57 AM

Also, I'm not sure how to make "adding rectangle to scene" interface. To define a rectangle, you need to choose 2 vanishing points from same basis and 2 diagonally opposite points of rectangle's corner.

The mockup seems good overall. For the "..." part, that would probably go in the tool options as that is where those types of things go. Our assistant tools will probably need a bit of refactoring, as I don't think any of the other assistants have tool options.

This is significantly more complex than the other assistants. If we start making the assistants have more options and things like layers, we might need to think about the assistant tool in general and how artists are currently using it. We might need to break it out into its own docker and have it be managed there. I remember that has came up before.