Re: fast drawing in delphi
- From: "Maldona8" <maldona8@xxxxxxxxxxxx>
- Date: Tue, 20 Dec 2005 15:05:18 +0100
DoDI, wait a moment,
DoDi, did you mean, to create a monochrome bitmap
directly in memory and then forcing copy bitmap regions to screen?
I have to try it to see how it works...
> AFAIR you can copy a monochrome bitmap into an colored DC, resulting in a
> copy with the color of your choice.
I have 100x100 hexagons in the image. Each hexagon has a individual color,
indepently of any other hexagon colors, neighbors, etc.
Is DirectX the fastest technology for screen drawing?
> bitmaps. At least you should test all high-level graphics options, before
> deciding to tweak pixels.
SO, does it means
1) to use DIB or WMF or EMF to draw something
(100x100 hexagons for example) in a bitmap in RAM memory
2) play the Bitmap memory into Screen memory through VideoCard ASM
instructions or DirectX
Any web site you recommend for learning to use how to draw, print, save and
load images with DirectX??
Thanks!
"Hans-Peter Diettrich" <DrDiettrich@xxxxxxxxxxx> a écrit dans le message de
news: 40mf2kF1b8q1pU2@xxxxxxxxxxxxxxxxx
> Maldona8 schrieb:
>
>> Looking for algorithms, source codes for fast drawing routines in Delphi
>> I have a hexagonal grid of 100x100 hexagons, each hexagon having its own
>> color.
>
> AFAIR you can copy a monochrome bitmap into an colored DC, resulting in a
> copy with the color of your choice.
>
>> I need to draw this map in a very very fast way, the faster possible.
>> What Delphi technology would you recommend to do this job?
>
> IMO fast drawing nowadays is a job of DirectX and the accelerated graphics
> cards. Drawing pixels might be slower than copying whole bitmaps. At least
> you should test all high-level graphics options, before deciding to tweak
> pixels.
>
> DoDi
.
- Follow-Ups:
- Re: fast drawing in delphi
- From: Hans-Peter Diettrich
- Re: fast drawing in delphi
- From: Paul Dunn
- Re: fast drawing in delphi
- From: Andreas Koch
- Re: fast drawing in delphi
- References:
- fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Hans-Peter Diettrich
- fast drawing in delphi
- Prev by Date: Re: fast drawing in delphi
- Next by Date: Re: fast drawing in delphi
- Previous by thread: Re: fast drawing in delphi
- Next by thread: Re: fast drawing in delphi
- Index(es):
Relevant Pages
|