Board index » cppbuilder » ImageList draws transparent bitmaps faster than Canvas->Draw
Tsvetozar / Fast Fashio
![]() CBuilder Developer |
Mon, 13 Aug 2001 03:00:00 GMT
|
Tsvetozar / Fast Fashio
![]() CBuilder Developer |
Mon, 13 Aug 2001 03:00:00 GMT
ImageList draws transparent bitmaps faster than Canvas->Draw
Does anyone know something more about ImageList (I mean more than the
written in the Borland C++Builder 3 help) ??? How does ImageList draw transparent images. I've made an experiment I've read something about the transparent masks of a bitmap. Is the I want to find out is there a way to achieve faster drawing than the Thanx for any help. |
Lucian Wisch
![]() CBuilder Developer |
Mon, 13 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawTsvetozar / Fast Fashion <tsveto...@bia-bg.com> wrote: Quote> I want to find out is there a way to achieve faster drawing than the drawing graphics. It's extremely likely that they use DirectDraw for drawing, and they use either IDirectDraw::BltFast or their own custom assembly bltters. That they use the native GUI tells you nothing about their sprite -- |
Johan Brysslin
![]() CBuilder Developer |
Mon, 13 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawHI! An interesting note: A 256 color-bitmap takes more time to draw than a 16-bit color or a 24-bit Johan Bryssling, Student, University of Kalmar, Sweden. Tsvetozar / Fast Fashion wrote: Quote> Does anyone know something more about ImageList (I mean more than the |
Tsvetozar / Fast Fashio
![]() CBuilder Developer |
Tue, 14 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawAnd even more. I've found that 256-color bitmaps if I draw them tranpsparently they don't draw in their actual palette ... I had to convert them to 24-bit color. TImageList draws them correctly but loaded from resource or file and drawing them with Canvas->Draw(x,y,aBitmap) is quite strange for 256 color bitmap... QuoteJohan Bryssling wrote: Tsvetozar / Fast Fashion ICQ# 7653555 http://www.x-kom.com X-KOM Ltd. ++ 359 / 2 9753329 |
Tsvetozar / Fast Fashio
![]() CBuilder Developer |
Tue, 14 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawQuote> Tsvetozar / Fast Fashion <tsveto...@bia-bg.com> wrote: is that at a sertain point of the game they change the screen resolutioon from 800x600 to 1024x768 and this is probably done with the windows api function(I forgot what was it, to change windows screen resolution). Well what I've tested is writing bitmaps into a hidden bitmap and then drawing And about those assebly blitters. I know lots of assembly and I have -- |
Lucian Wisch
![]() CBuilder Developer |
Tue, 14 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawQuote<tsveto...@bia-bg.com> wrote: ChangeDisplaySettings. But under Win'95 and Win'98, this API call is unable to change the colour depth. The only way to change colour depth under Win'95 or '98 is to use DirectDraw::SetDisplayMode. Quote>And about those assebly blitters. I know lots of assembly and I have screen! There are several options: 1. Use hardware acceleration. This is fastest if all the sprites The reason that custom blitters are the fastest is that everyone's The reason that hardware accelerated blts aren't as common as they Strictly speaking, the way you'd normally set this to the screen is to |
Tsvetozar / Fast Fashio
![]() CBuilder Developer |
Fri, 17 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawI'll think over your words. Now I have some more work here. I'll try developping some primitive model of fast-blitting sprite technology, but one more thing, I've heard about this DirectX and I can't understand what's its purpose (what does programatically). Is it some kind of hardware accelerator ??? -- |
Alisdair Meredit
![]() CBuilder Developer |
Sat, 18 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawTsvetozar / Fast Fashion wrote: Quote
have produced to allow you to use the latest graphics accelerators in Windows. MS ship a generic software library that supports all your calls, and Basically, there are two 'ends' to the API, the games writers' end (us AlisdairM |
Tsvetozar / Fast Fashio
![]() CBuilder Developer |
Sat, 18 Aug 2001 03:00:00 GMT
Re:ImageList draws transparent bitmaps faster than Canvas->DrawOk. Thanx for the information about DirectX. I hope I can use it with C++Builder 3. This will be great. QuoteAlisdair Meredith wrote: Tsvetozar / Fast Fashion ICQ# 7653555 http://www.x-kom.com X-KOM Ltd. ++ 359 / 2 9753329 |
1. Faster method of drawing bitmaps than TCanvas.Draw?
2. fast drawing of transparent bitmaps
3. Slow Canvas->Draw and Canvas->CopyRect
5. Bug appears when draw transparent bitmaps.
6. How to draw Transparent text a canvas.
7. Drawing on Canvas with transparent color