Thursday, February 24, 2011

Bad news first, Good news last :)

Hey people!

I got some bad news for you:
I wont release the components... Yet!
I'm really busy right now with school and all.

But the good news are:
I will port all my work over to the Andorra2D engine (google it up).
Why?
Well first of all it utilizes hardware acceleration using DirectX or OpenGL,
and I think it's worth waiting for.
I noticed that nomatter what I did, the Graphics32 library is not fast enought when it comes to redrawing stuff.
I will (maybe) let the GR32 library handle stuff like transformation and such,
but when it comes to the ammount of power you have with A2D, GR32 is blown out the water.

Try letting GR32 paint 10 000 (!) sprites (aprox. 32*32) with opacity and rotation at the same time at arround 30fps on a area of 1500x600.
It simply won't happen I'm sorry!

Btw my pc specs are i7 920 4core, nVidia GTX570, 6GB blablabla,
so I expect nothing but the best from my softwares.
I think that it's kind of waste of time, energy and all in between to know programming, to have a powerful computer and still not get maximum performance for your software.

So to sum it up: I'm looking for a fast GUI! GR32 can't deliver, A2D CAN!

Sorry for this I know you have been waiting for a long time but you wont regret it when I'm done.

Kbye :)

3 comments:

  1. Knowing the current solution doesn't meet your needs and going for another better solution is good and it's still a progress of your goal and work.

    among all the game/2D engines, why you choose Andorra2D? Have you evaluated all the available alternatives?

    PS. A blog post comparing all the 2D engines will benefit people like me who lack of experiences and knowledge in this area.

    ReplyDelete
  2. Hi Edwin!

    Thank you for showing interest in my project.

    I choose Andorra2D because I find it fairly simple to work with 2D graphics, and at the same time it supports some 3D graphics that can come handy from time to time.

    I have been looking at AggPas as well, and it works very well
    but I am looking for hardware acceleration and neither AggPas
    or Graphics32 support this.

    I think that Andorra is the way to go because of its 2D
    capabilities.

    My plan is to use Andorra2D as the engine
    while Graphics32 and AggPas will be used for bitmap editing.

    I will use Graphics32 or AggPas to merge bitmaps that will be drawn
    on to the Andorr2D surface.
    I like some things that AggPas have and I like some things that Graphics32 have.

    But ultimately its all about performance.
    I did some tests:
    *With andorra I got arround 11 frames/s with 20 000 small objects
    rotating at the same time painted on a surface with the size
    of over 3000 pixels in width and 1000 pixels in height (I use 2 screens)

    *I dont know the fps rate of the Graphics32 library but
    it started to get really slow when painting arround 200 objects
    when using 1 thread.
    I will investigate the performance of GR32 tomorrow or next week
    by giving each object its own thread.

    *AggPas I havent tested and I probably wont,
    I'm guessing that it has almost the same performance as Graphics32

    I wont waste any more time trying different librarys.

    I will try Graphics32 with threads, if it works well,
    then I know I can use it with AggPas and I will make a
    base component using its own thread and that uses both graphics32 and AggPas to do whatever it needs to do,
    and THEN I'll let Andorra2D handle everything else.

    The next couple of months will be very interesting.

    Stay tuned :)

    ReplyDelete
  3. Sounds really great!
    Can't wait to see it!

    ReplyDelete