Jorrit and Piotr,

One thing I realized when looking at my code is that I do not save the data in 
a csPixmap *.  Every frame I initialize and delete a csPixmap.

And yes it does have transparency.  It is about 1/4 the size of the screen too.

In the future I'll use smaller images without transparency, and I will not 
initialize and delete the csPixmap every frame.  

Thank you,
Jim


Jorrit Tyberghein <[EMAIL PROTECTED]> wrote: What kind of image is it that 
you're drawing on the screen? Is it a
power of two?
Does it contain transparency? I think you should avoid a big single screen-size
image that has transparency. Better to work with smaller HUD images instead.


Greetings,

On Wed, Sep 17, 2008 at 6:33 AM, Jim Sager  wrote:
> I copy/pasted the code from Walktest to show pixmaps. If I draw on the
> entire screen every frame, it slows things down horribly.
>
> If you want an example, try:
> http://rapidshare.com/files/145329460/xyzim.zip.html
>
> Hit f6 a few times and as the windows pop up, the Frames Per Second drop
> sharply.
>
> I want to use a HUD, but I don't want to lose noticeable amounts of Frames
> Per Second.
>
> I also have a mainly 2d program that I have on the back burner.  I'd really
> like to use CRYSTALSPACE with it because I am familiar with the library.
>
> Thank you for reading,
> Jim
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Crystal-main mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe:
> mailto:[EMAIL PROTECTED]
>
>



-- 
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
Visit my town at http://waldir.myminicity.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]


       
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to