ANNC: Sprig v1.0.0

Hi all,

I’ve just posted a prerelease version of Sprig v1.0.0 on my site:
http://pubpages.unh.edu/~jmb97
(Source, demos, and Debian GNU/Linux binary available - More demos and WinXP binary will be uploaded soon)

New features include a dirty rect system, line thickness controls, and polygon transformations. Full documentation is available for viewing online or for download. My goal with the library is to make a straight-forward interface to graphics primitives and convenience functions in order to make working with SDL in 2d very quick and easy.

I invite you all to test it and compare it to SDL_gfx and SGE. Tell me what you think! I would especially like feedback on the dirty rect functions and the build system. Shortly, I will be using any comments I receive to make the official release.

Jonny D_________________________________________________________________
See how Windows Mobile brings your life together?at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/

Hello list,

The full release of Sprig v1.0.0 is out now. Important changes from the prerelease version include palette creation, bugfixes, and several important API changes.

If you have the chance, I’d love to hear what you think.

http://pubpages.unh.edu/~jmb97

Jonny D_________________________________________________________________
See how Windows? connects the people, information, and fun that are part of your life
http://clk.atdmt.com/MRT/go/119463819/direct/01/

Message: 8
Message-ID:
Content-Type: text/plain; charset=“iso-8859-1”

Hello list,

The full release of Sprig v1.0.0 is out now. Important changes from the
prerelease version include palette creation, bugfixes, and several important
API changes.

If you have the chance, I’d love to hear what you think.

http://pubpages.unh.edu/~jmb97 http://pubpages.unh.edu/~jmb97

Jonny D

A little feedback^^
I?ve not tested the released o the prereleased yet 'cause i’m with no time
but I intend to add it to my project^^.
it is a really good work and with your support it’s a lot better than
SDL_gfx that is unsupported : (.
I’m interested on the dirt rect system but SPG_Blit appear do not create a
dirt rect to the array.
It would be good to substitute SDL_BlitSurface with a function that take
care of adding a rect of the rects creation, or it’s not the best way to do
it?( maybe adding manually can be better).

Anyway. Thanks to the release and keep the good work^^!> Date: Sun, 9 Nov 2008 09:54:39 -0500

From: Jonathan Dearborn
Subject: [SDL] ANNC: Sprig v1.0.0
To:

Message: 8

Message-ID:
Content-Type: text/plain; charset=“iso-8859-1”

Hello list,

The full release of Sprig v1.0.0 is out now. Important changes from the
prerelease version include palette creation, bugfixes, and several important
API changes.

If you have the chance, I’d love to hear what you think.

http://pubpages.unh.edu/~jmb97 http://pubpages.unh.edu/~jmb97

Jonny D

A little feedback^^
I?ve not tested the released o the prereleased yet 'cause i’m with no time
but I intend to add it to my project^^.
it is a really good work and with your support it’s a lot better than
SDL_gfx that is unsupported : (.
I’m interested on the dirt rect system but SPG_Blit appear do not create a
dirt rect to the array.
It would be good to substitute SDL_BlitSurface with a function that take
care of adding a rect of the rects creation, or it’s not the best way to do
it?( maybe adding manually can be better).

Anyway. Thanks to the release and keep the good work^^!

any speed tests for this against sdlgfx?

is sdlgfx even still maintained?On Mon, Nov 10, 2008 at 1:31 PM, Andre Botelho wrote:

Date: Sun, 9 Nov 2008 09:54:39 -0500
From: Jonathan Dearborn
Subject: [SDL] ANNC: Sprig v1.0.0
To:

Thanks guys. SDL_gfx is still maintained. I think Andreas hasn’t had the time to update it lately. He’s maintained it for a lot of years, though. As for speed tests, I’ve modified SGE’s test program and have done my own tests against SDL_gfx. The results are not surprising. They render at the same speed, within a margin of error. The arc functions I wrote are a lot faster than the ones currently in SDL_gfx, but that’s a minor fact. I sent Andreas the code for that and you can find it in the pending patches for SDL_gfx.

I’ve been meaning to post the speed test program. Should I also put up the comparison program?

The current version of SPG_Blit does add its dirty rect to the front table. The prerelease version might not have… Maybe that’s it. SPG_Blit is very slow, though, so it would indeed be best to wrap SDL_BlitSurface:
// Excuse the lack of indentation
int Blit(SDL_Surface* src, SDL_Rect* srect, SDL_Surface* dest, SDL_Rect* drect)
{
int result = SDL_BlitSurface(src, srect, dest, drect);
if(drect != NULL && SPG_DirtyEnabled())
SPG_DirtyAdd(drect);
return result;
}

Jonny DDate: Mon, 10 Nov 2008 15:29:38 +0000
From: neil@cloudsprinter.com
To: sdl at lists.libsdl.org
Subject: Re: [SDL] ANNC: Sprig v1.0.0

On Mon, Nov 10, 2008 at 1:31 PM, Andre Botelho wrote:

Message: 8

Date: Sun, 9 Nov 2008 09:54:39 -0500

From: grimfang4@hotmail.com (Jonathan Dearborn)

Subject: [SDL] ANNC: Sprig v1.0.0

To:

Message-ID:

Content-Type: text/plain; charset=“iso-8859-1”

Hello list,

The full release of Sprig v1.0.0 is out now. Important changes from the prerelease version include palette creation, bugfixes, and several important API changes.

If you have the chance, I’d love to hear what you think.

http://pubpages.unh.edu/~jmb97

Jonny D

A little feedback^^
I?ve not tested the released o the prereleased yet 'cause i’m with no time but I intend to add it to my project^^.
it is a really good work and with your support it’s a lot better than SDL_gfx that is unsupported : (.

I’m interested on the dirt rect system but SPG_Blit appear do not create a dirt rect to the array.
It would be good to substitute SDL_BlitSurface with a function that take care of adding a rect of the rects creation, or it’s not the best way to do it?( maybe adding manually can be better).

Anyway. Thanks to the release and keep the good work^^!

any speed tests for this against sdlgfx?

is sdlgfx even still maintained?


Stay up to date on your PC, the Web, and your mobile phone with Windows Live
http://clk.atdmt.com/MRT/go/119462413/direct/01/