forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gLib2D Beta 5 Library

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Geecko



Joined: 04 Nov 2008
Posts: 7

PostPosted: Sun Jan 09, 2011 1:30 am    Post subject: gLib2D Beta 5 Library Reply with quote

Hi all,

I'm proud to present you a brand new 2D graphics library, called gLib2D.
Here's the history (hopefully translated by QJ.net) :

There was once a library "graphics" pretty basic, but whose source code was readily understandable. The user's changed little by little to meet their needs, but he soon realized that the library had some big flaws. He corrected the extent possible, and added new features. Then, through patience and tinkering, he learned to use the pspgu. It was very powerful, but complex to master, and he spent much time rewriting the code and adapt it to have satisfactory performance, so he lost a lot of time stumbling over small technicalities. Realizing that the library "graphics" deserved to be taken to zero, the user decided to create a new library, deliberately limited, to be fast and lightweight, it combined the advantages of the two libraries, namely: simplicity , performance, opportunities.
Thus was born gLib2D.

This library is written from scratch, and features :
- Display of basic objects, such as rectangles, lines, quads and points.
- Possibility of texturing, JPEG and PNG support
- Scaling, rotation, coloring, alpha blending, displaying a part of the texture (crop)
- Ability to combine these effects at the same time
- Support for a third coordinate, in Z, to use the depth buffer
- Concept of relativity, and 2D transforms like OpenGL (Pop / Push)
- Intelligent use of the pspgu: library use only what is necessary for the display.
- Compatibility with intraFont (not included)
- Definition of many constants, and macros useful.
- Complete PDF documentation
- Some samples included

The project is still in an early beta, so maybe there will be bugs.
I hope many testers will help me to find them, or guide me to add some incredible features :D
A new LuaPlayer, called XtreamLua Player integrating this library has been released (by FlavR)

Grab it on my own Github repository ! (download page)

Maybe you need the Doxygen documentation on my website ?

I hope you'll enjoy it !


Last edited by Geecko on Tue Aug 09, 2011 5:30 pm; edited 3 times in total
Back to top
View user's profile Send private message
Geecko



Joined: 04 Nov 2008
Posts: 7

PostPosted: Tue Aug 09, 2011 5:19 pm    Post subject: Reply with quote

After few months of intense testing... beta 5 is released!

What's new ?
- Improved support of intraFont
- Renamed g* functions to g2d*
- Removed g2dSetCoord*Relative's third argument
- Using constants instead of bools for some g2d* functions (better readability)
- Dynamic allocation of the display list, no more artifacts with a small heap
- Replaced G2D_FALSE and G2D_TRUE by false and true
- Added a global scale factor : g2d(Set/Get/Reset)GlobalScale
- Better scaling quality
- Lots of code rework
- No more swizzling artifacts
- Smaller display list size, saves 3/4 megabyte
- Forced coordmode with an inverted object is no longer applied
- Corrected documentation

Now the library can be considered as stable.
Please, try it, break it!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group