Results 1 to 12 of 12

Thread: DTM or Bitmap?

  1. #1
    Join Date
    Sep 2009
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DTM or Bitmap?

    Can someone please enlighten me as to which is the best method? Or is it that each has its own advantages and disadvantages?

    I've just started scripting - I have read about both but wonder if one is more efficeient with memory perhaps.

    Thanks in advance.

  2. #2
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Dtm's need less memory. In general. And Dtms are faster to generate then bitmaps (with the integrated tool).

    Anyways. whatever you use, free the memory, after you dont require the bitmap/dtm anymore with "FreeDTM()" or "FreeBItmap()".

    ~caused

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Well depends on what your trying to do. DTMs are normally best for finding items in inventory/bank and bitmps are good for other stuff . What exactly are you trying to find?

  4. #4
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I found DTM's a great pain when finding items such as logs in the bank =/ i think because the outline shifts about alot. But i think they are great for inventory

  5. #5
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    From what i know item outlines never shift hmm =/.

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

  7. #7
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    ho! double post!

    ~~

    DTMs are not always faster than bitmaps.
    If you're trying to find some item thats outline is not unique - runes for example - i suggest using a small bitmap that does not cover the whole item, just some part from the center of it.

  8. #8
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    How dare you di-re-spec me! Ill freakin ban you!

  9. #9
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Double post in your face marpis!

  10. #10
    Join Date
    Sep 2009
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Well depends on what your trying to do. DTMs are normally best for finding items in inventory/bank and bitmps are good for other stuff . What exactly are you trying to find?
    Thanks for the reply - I was actually trying to determine if there was a constant way of scripting for consistency i.e. using just one method.

    Thanks to all who have replied as this has given me a much wider view of the topic. I shall experiment with the use of both methods as per suggestions.

  11. #11
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Bitmaps are way better then DTM's, they are faster. Look at my sig, I have a big tutorial on bitmaps.
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  12. #12
    Join Date
    Feb 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice work.

    My only complaint from briefly skimming the tutorial is that your Lobster bitmap is far to large. You should never have more then a 12 x12 (and thats pushing it) bitmap when searching for items. I know it is only an example, but it is good to instill good scripting practices in young learners now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •