|
-
Jun 29th, 2001, 03:39 AM
#1
Thread Starter
Hyperactive Member
Imagelists!!!!
Hello, I would like to share with you my new findings..
Using BitBlt and the SAME Project to generate a random 100x100 using 16x16 icons..
Total Icons: used: 5
showing 25x25 tiles at one time on the screen..
Having the icons in seperate Pictureboxes: 220 FPS
Using an IMAGELIST, same prefs as above test: 9 FPS
(I loaded the image into a picturebox, and Blitted from there)
Using an imagelist with autoredraw = false : 18 FPS
So.. hope you like my findings..
ALSO: There is one more test that I must run... i heard there is an API call to paint an ico in imagelist DIRECTLY onto the map picturebox.. *This is how i hear it anywayS* if someone could get me the code, i will run it through and check it's FPS.. but i am gonna look on this forum for it, and i'll post results once i get them.
-
Jun 29th, 2001, 04:45 AM
#2
Fanatic Member
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Jun 29th, 2001, 04:49 AM
#3
Thread Starter
Hyperactive Member
Thanks..
Imagelist using the DRAW function: 72 FPS
Auto-redraw = false
with autoredraw on:
71 FPS
trying out the link that the other guy gave me.. more results will come
-
Jun 29th, 2001, 04:59 AM
#4
Thread Starter
Hyperactive Member
Using the code above, i managed to get this
ImageList_Draw Terrains.hImageList, MapValues(x, y), Map.hDC, x * 16, y * 16, ILD_TRANSPARENT
? Is that right? I get a VERY weird effect where sections do not appear..
anyways
Using that, I get 120 FPS..
couldn't really get it to work correctly I guess.. maybe if i figure it out some more..
-
Jun 29th, 2001, 05:44 PM
#5
Somewhat unrelated, but not totally.
Ive found several sections of code in an MS project that dont actually do anything. So, Dont trust anything that MS wrote. Besides, just by looking at coding styles, at least 5 people wrote the thing i was working on...
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|