Re: How can I draw faster than .NET graphics?
- From: "ThunderMusic" <NoSpAmdanlatathotmaildotcom@xxxxxxxxxx>
- Date: Fri, 25 Aug 2006 11:08:39 -0400
as strange as it may look, converting my images to bmp made the fps go from
4 fps to 6 fps... I just don't understand why it changes anything... Does
the framework load the file each time it draws?!? I load it once using new
Bitmap(filename) into a member Bitmap variable... so I don't see why it
influences the performance of the draw... I'd like to have a bit more
performance tought... like I said earlier, I'd like to have at least 10 fps
assuming the target cpu is P3 1ghz and I'm testing on a P4 3Ghz...
thanks a lot
ThunderMusic
"ThunderMusic" <NoSpAmdanlatathotmaildotcom@xxxxxxxxxx> wrote in message
news:ukd4PcFyGHA.3492@xxxxxxxxxxxxxxxxxxxxxxx
No change if I still draw both images (one will just be behind the other
without showing), if I draw only one of the two images I get 6-8 FPS...
Can this be because my bitmaps are from jpg? (it's still a bitmap
structure, so I guess it does not change anything)
thanks
"Michael C" <nospam@xxxxxxxxxx> wrote in message
news:edkMg9EyGHA.1256@xxxxxxxxxxxxxxxxxxxxxxx
"ThunderMusic" <NoSpAmdanlatathotmaildotcom@xxxxxxxxxx> wrote in message
news:O8Z5JjEyGHA.3440@xxxxxxxxxxxxxxxxxxxxxxx
using Format32bppPArgb, I've gone from 3 FPS to 4FPS (not a big enough
increase in performance) I would like to have at least 10FPS to be
acceptable... Also to note I am on a P4 3Ghz, I don't know how it will
run on a P3 1Ghz or something like it... there must be a way to draw
faster... ;)
That is the the right pixel format. I'm not sure why it's slow but it
might be because of the alpha you are setting. Try seeing how fast it
draws with no transparancy.
Michael
.
- Follow-Ups:
- Re: How can I draw faster than .NET graphics?
- From: Michael C
- Re: How can I draw faster than .NET graphics?
- References:
- How can I draw faster than .NET graphics?
- From: ThunderMusic
- Re: How can I draw faster than .NET graphics?
- From: Michael C
- Re: How can I draw faster than .NET graphics?
- From: ThunderMusic
- Re: How can I draw faster than .NET graphics?
- From: ThunderMusic
- Re: How can I draw faster than .NET graphics?
- From: Michael C
- Re: How can I draw faster than .NET graphics?
- From: ThunderMusic
- How can I draw faster than .NET graphics?
- Prev by Date: Re: GDI+ very slow
- Next by Date: Re: How can I draw faster than .NET graphics?
- Previous by thread: Re: How can I draw faster than .NET graphics?
- Next by thread: Re: How can I draw faster than .NET graphics?
- Index(es):
Relevant Pages
|