LAN.ST  

Go Back   LAN.ST > Forum > Console Hacking & Development > Sony PlayStation Portable

Sony PlayStation Portable Sony PlayStation Portable related development discussion.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2010, 09:09 AM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default Release : gLib2D Beta 5 Library

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
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; 08-09-2011 at 08:30 AM. Reason: New release
Reply With Quote
  #2  
Old 11-09-2010, 09:40 PM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

Beta 3 will be released soon. Anyone tested it ?
Reply With Quote
  #3  
Old 11-10-2010, 04:57 AM
arnold arnold is offline
Senior Member
 
Join Date: Feb 2007
Location: Where Specter lives.
Posts: 381
Default

It is possible I will transfer my shell application to use this graphics library.

-arnold
__________________
irc.malloc.us
#Arnold

Come and chat with Arnie
UTOPIA Project Awesomeness

http://arnold.hyperphp.com/forums

Reply With Quote
  #4  
Old 11-10-2010, 07:21 AM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

You're welcome.
Reply With Quote
  #5  
Old 11-12-2010, 12:23 PM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

New beta 3 released.

What's new ?
- Small code cleanup
- Bug resolved when gAdd() was not called between gBegin()/gEnd()
- Bug resolved with gPop()
- Bug resolved when an image is inverted via scaling
- Bug resolved when an alpha value was applied to a single object
- Added gGet* functions
- Added scissor functions
- New samples

I need testers !
Reply With Quote
  #6  
Old 11-27-2010, 09:35 AM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

A Git repository has been created. GitHub
Reply With Quote
  #7  
Old 12-11-2010, 10:19 AM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

The library has been integrated in a whole new Lua Player called XtreamLua Player, by FlavR.
PSP-Hacks

A new version will be released, featuring lines and quads primitives support. Check the repo
Reply With Quote
  #8  
Old 12-20-2010, 09:59 PM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

Beta 4 released !

What's new ?
- Refactored code parts
- Corrected a scaling bug
- Modified gBegin to gBeginRects
- Added line object support (gBeginLines), line strip support
- Added quad object support (gBeginQuads)
- Added point object support (gBeginPoints)
- Added a new "deform" sample
- Added texture repeat control (gSetTexRepeat)
- Draw & display buffers defined as textures (possibility to get framebuffer pointer)

Enjoy !
Reply With Quote
  #9  
Old 12-21-2010, 12:47 AM
J697 J697 is offline
Member
 
Join Date: Oct 2010
Posts: 44
Default

I might test this if I get the time. Keep up the good work!
Reply With Quote
  #10  
Old 12-22-2010, 11:16 PM
Geecko's Avatar
Geecko Geecko is offline
Junior Member
 
Join Date: Nov 2010
Location: France
Posts: 12
Default

Thanks for your support !
Reply With Quote
Reply

  LAN.ST > Console Hacking & Development > Sony PlayStation Portable

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
8002013C - what library missing? Dariusc7 Sony PlayStation Portable 22 09-10-2010 07:35 AM
Library zlib and CF 5.00-4 M33 eridano Sony PlayStation Portable 2 12-24-2008 01:09 AM
[Release] Ooblik's Futurama XMB Theme Beta ooblik Sony PlayStation Portable 6 07-11-2008 05:42 AM
rGameboot v0.6 Beta becus25 Sony PlayStation Portable 3 06-17-2007 05:35 AM
Spectroplasm'XMB 0.1 public beta Alek Sony PlayStation Portable 8 04-21-2007 05:56 PM


All times are GMT +1. The time now is 06:08 PM.

Design Developed by CompleteGFX
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.