Posted May 10, 2020 by azagaya
Hi everybody!
Today I'm releasing 1.9.1 bug fix. I was reported that export buttons weren't working properly in 1.9, so i fixed them and released them in 1.9.1 version.
But given that I needed to release a new version, I decided to include the new rendering changes.
Before we dive into changes, let me remind you that open source tools like Laigter need your support! If you really like Laigter, please consider supporting one of this ways! it's really helpful! you can:
Previous this release, everything was rendered relative to the widget's size and position. This made it impossible to maintain relative position between textures, implement canvas rotation, and global zoom. So i implemented proper projection and view matrices in order to solve this.
At first this may look it wasn't needed, but if you use brushes, you will know that rotating the canvas for being able to always paint in diagonal is nice.
Some features will be missing though. Now the only possible zoom is a global zoom, which zooms at the world environment, and thus all textures get zoomed in the same proportion. I mean, you cannot make individual zoom anymore. I think this way is more useful than individual zoom though.
Also, when you check "tile x" and "tile y" check boxes now, texture will be repeated once each direction (similar to what is done in aseprite) instead of filling the full widget. I think filling the full widget was cool, but this way is easier for painting imho.
Of course, seamless painting is still possible. And with this changes, also brushes should perform better, and the code is much simpler.
Apart from those changes, here there are the new features with this new rendering: