Results 1 to 16 of 16

Thread: Dtm

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Dtm

    Can someone either make me a dtm which can be used to find ANY log or explain to me what's the same between each log? I try, but i can't seem to find similarities.

  2. #2
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    LogDTM := DTMFromString('78DA6314626060E0634001BEAE320C3A8C0C0' +
           'C40C4F01F081885810C090634C0884402696E20214D400D0B9010' +
           '27420D2F1176B1115003F2172B0135203F31135003F213070135B' +
           '240420CBF1A003539062B');

    Got this from Senrath, so you should thank him. The shape of the log are all the same.

  3. #3
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    In future, a useful was to have a DTM that works with items of all the same colour, is to just take the outline points.

  4. #4
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    adding to what Richard said, the outline of items in your inventory is the same color no matter what the item. so just take a few points of the outline of the log and the middle point thats on the color should have very high tolerance (id put up at 100) just so it can catch all the differant colors of logs
    Lance. Da. Pants.

  5. #5
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Don't set the tolerance to 100, as oak, willow, yew, and normal are quite similar. Putting it as 100 still looks for a colour, and you want it to look for the shape. Set the tolerance as 255 (the max), and it will look just for shape.
    Last edited by Rich; 05-31-2009 at 07:07 PM.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  6. #6
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    255 is the max.

  7. #7
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Meh i just type 9999999 and it's fine (in D(D)TM editor 9999 gets set to 300 [so thats the max?])
    Ce ne sont que des gueux


  8. #8
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No 255 is the maximum because that is the most that an R, G, or B value can have.

  9. #9
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    DDTM editor says otherwise xD
    But I believe 255 yeh.
    Ce ne sont que des gueux


  10. #10
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well since the values are 8-bit then the maximum number of configurations is 256 of each color.

  11. #11
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Oh yeah, 255. Sorry, I meant 255, not 155.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  12. #12
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    443 is actually the max tolerance..

    Also, if you wanted to be accurate, you should use a DDTM which changes the center color dependant on what log you are dropping

    Could be overkill at times though.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  13. #13
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Nava, how comes in some tuts I read ages ago, they said that 255 is the max, when it is actually 443?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  14. #14
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Because when you get to those values, it makes near to no difference.

  15. #15
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by R1ch View Post
    Nava, how comes in some tuts I read ages ago, they said that 255 is the max, when it is actually 443?
    I'm not sure.. it might be because the tolerance is in RGB.. Don't quote me on that though.

    Quote Originally Posted by Richard View Post
    Because when you get to those values, it makes near to no difference.
    Exactly
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  16. #16
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Incorrect, it's 442. It has to do with the formula that SCAR uses to calculate the tolerance and such things. But at least in RS, the tolerance won't pass ~255, unless you compare ClWhite and ClBlack.
    On topic: use as mainpoint and subpoints the outline, with tolerance 0, becuase almost all logs have the same outline.


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
  •