Results 1 to 5 of 5

Thread: Imagelists!!!!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482

    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.

  2. #2
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482
    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

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482
    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..

  5. #5
    Zaei
    Guest
    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
  •  



Click Here to Expand Forum to Full Width