Recent

Author Topic: New version of BGRABitmap  (Read 287857 times)

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: New version of BGRABitmap
« Reply #195 on: April 09, 2016, 07:39:12 pm »
Unfortunately I cant use multiple texture because I need it while resizing.
About font I will test it and if I found out something useful I will tell you.

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #196 on: April 09, 2016, 08:01:00 pm »
Ok.  8-)
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #197 on: May 15, 2016, 08:40:38 pm »
New version of BGRABitmap (8.9):
  • added 3D rendering using OpenGL and TBGRAScene3D (a bit experimental but interesting!)
  • improved linear quad deformation (it distorts nicely the quad as necessary for non affine transformations)
  • floating point radius for blurs
  • added dithering to 16-bit
  • more options for emboss filter
  • writing Bmp MioMap/iGo images
  • optimisation of vertical motion blur and of fast blur with big radius

Bug fixes:
  • bug fixes for gradient and dithering
  • fixed compilation for Lazarus 1.7
  • fix for Gif format

Note that package BGRABitmapPack4LCL_OpenGL has been merged into BGRAPitmapPack. The component TBGLVirtualScreen has been moved in a new package called BGLControls. OpenGL package is now independent of the RGB order of the system.

It is simpler to first uninistall BGRABitmap and BGRAControl packages, rebuild Lazarus, and then do the update to this version. Otherwise it is a bit complicated to remove the packages.

Here is an example using OpenGL (it is 5x faster)
« Last Edit: May 15, 2016, 08:47:57 pm by circular »
Conscience is the debugger of the mind

aradeonas

  • Hero Member
  • *****
  • Posts: 824
Re: New version of BGRABitmap
« Reply #198 on: May 15, 2016, 08:56:24 pm »
Wow. You made many changes!
I like these OpenGL changes although my focus is on using OpenGL on 2D project. I always dislike the lack of easy and complete tools to do fast graphics.
Thank you.

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #199 on: May 15, 2016, 11:20:43 pm »
You're very welcome.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #200 on: May 27, 2016, 09:53:19 pm »
New version 8.9.1 with:
- PNG loading optimization
- fixes for 3D rendering with OpenGL

http://sourceforge.net/projects/lazpaint/files/
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: New version of BGRABitmap
« Reply #201 on: May 27, 2016, 10:26:01 pm »
I've updated GitHub mirror with this version, also for bgra-controls svn.

https://github.com/bgrabitmap

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #202 on: May 27, 2016, 11:05:02 pm »
I am thinking about switching to Git. I was able to install TortoiseGit and it works fine.

Maybe what I could do is to use the Git repository you created on GitHub, and when I release a new version, I would update the SVN on SourceForge. So on SourceForge there would only be releases, and on GitHub there would be all changes.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: New version of BGRABitmap
« Reply #203 on: May 27, 2016, 11:56:47 pm »
I am thinking about switching to Git. I was able to install TortoiseGit and it works fine.

Maybe what I could do is to use the Git repository you created on GitHub, and when I release a new version, I would update the SVN on SourceForge. So on SourceForge there would only be releases, and on GitHub there would be all changes.

GitHub also has website hosting, like in sourceforge but much easier, you can add the lazpaint version .txt and language updates on GitHub too. https://pages.github.com/

Also you can upadate directly bgracontrols and the other repos I've created before. Add new repositories is easy. The website is created under a branch, at least as is works in one of my projects. You can switch between branches easy with the GitHub application for desktop and manage all instead of using tortoise git, but it don't give you the nice icon overlays.

Edit: also you can upload releases on GitHub, like in sourceforge upload the zip's.
« Last Edit: May 28, 2016, 12:00:19 am by lainz »

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: New version of BGRABitmap
« Reply #204 on: May 28, 2016, 01:03:50 am »
I am thinking about switching to Git.
That would be a wise move. ;-)

Quote
I was able to install TortoiseGit and it works fine.
I recommend you rather learn the command line, and use the GUI tools that come standard with Git (eg: git-gui, gitk). They are ALWAYS the most up-to-date tools. Plus when using the command line, it is consistent across any platforms, and you have the full power of Git at your fingertips. I switched to Git in 2009, and on occation try out various Git GUI's and none of them can do everything you can do from the command line. They are all slower, cumbersome and take up desktop space (compared to a small terminal window).

Quote
So on SourceForge there would only be releases, and on GitHub there would be all changes.
I would ditch SourceForge completely. I'm actually thinking about doing the same thing with my projects. SourceForge supports Git (which is what I already use), but most of my projects are mirrored on Github too. Seeing that I frequently push and pull from both SourceForge and Github, I have immediately noticed that Github is so much faster. Plus, Github also supports project web pages, personal/author web pages, project binary releases, bug tracking, code review with inline comments etc.

Moving from SVN to Git is very easy too. Git can import the whole SVN history without trouble. Then simply add Github (or any other remote server) as a remote repository and push to that remote. Conversion - done!
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: New version of BGRABitmap
« Reply #205 on: May 28, 2016, 01:07:46 am »
Edit: also you can upload releases on GitHub, like in sourceforge upload the zip's.

Correct, every Tag made in your repository becomes an automatic release. You can then extend such a release with a description and alternative downloads. eg:
  https://github.com/graemeg/xananews/releases
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

mse

  • Sr. Member
  • ****
  • Posts: 286
Re: New version of BGRABitmap
« Reply #206 on: May 28, 2016, 09:41:13 am »
I am thinking about switching to Git. I was able to install TortoiseGit and it works fine.
There is also a handy git client written in Free Pascal:
https://sourceforge.net/projects/mseuniverse/
Quote
Maybe what I could do is to use the Git repository you created on GitHub, and when I release a new version, I would update the SVN on SourceForge. So on SourceForge there would only be releases, and on GitHub there would be all changes.
Another git project hosting option is GitLab (successor of Gitorious):
https://about.gitlab.com/gitlab-com/

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #207 on: May 28, 2016, 10:27:16 am »
There is also a handy git client written in Free Pascal:
https://sourceforge.net/projects/mseuniverse/
Interesting.

Quote
Another git project hosting option is GitLab (successor of Gitorious):
https://about.gitlab.com/gitlab-com/
Ok. As Lainz has already created a repository on GitHub, for this project I will switch to this one to avoid confusion. But thanks for the link.

Edit: also you can upload releases on GitHub, like in sourceforge upload the zip's.

Correct, every Tag made in your repository becomes an automatic release. You can then extend such a release with a description and alternative downloads. eg:
  https://github.com/graemeg/xananews/releases
Indeed, I have found the release mechanism by clicking on the release counter and it works fine!

However I don't find the interface as easy to understand as I would like. It is ok for a developer to spend some time learning how to use this website, but for the general public, that's complicated.
« Last Edit: May 28, 2016, 10:32:03 am by circular »
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #208 on: May 28, 2016, 10:59:16 am »
I would ditch SourceForge completely. I'm actually thinking about doing the same thing with my projects.
SourceForge has its drawbacks, however it is simpler in my opinion. The download button appears straight away, tabs are more visible, etc.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: New version of BGRABitmap
« Reply #209 on: May 28, 2016, 11:49:56 am »
Ok, so now LazPaint repository is on GitHub:

https://github.com/bgrabitmap/lazpaint

(I will update SVN repository at each release)

Releases will be on GitHub and SourceForge:

https://github.com/bgrabitmap/lazpaint/releases
https://sourceforge.net/projects/lazpaint/
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018