GSoC/GCI Archive
Google Code-in 2010 KDE

Perspective sensor

completed by: goffrie

mentors: Cyrille Berger

 

Krita has a system that allow to assign different input sensor (tablet pressure, tilt, speed...) to the parameters of a brush (size, angle...). The goal of this task would be to add a new input sensor based on the information provided by the perspective grid (http://blog.cberger.net/2006/07/22/perspective-grid/). This would allow the artist to draw a line which size decrease in function of the distance.

The student would have to extend KisPaintInformation to contains a "perspective value" that would be computed in KisFreehandTool using the perspective grid. And then it would be necesseray to add an implementation of KisDynamicSensor that return the "perspective value".