Results 1 to 4 of 4

Thread: FindObjTPA?

  1. #1
    Join Date
    Oct 2011
    Location
    Australia, Vic
    Posts
    1,517
    Mentioned
    2 Post(s)
    Quoted
    120 Post(s)

    Default FindObjTPA?

    I'm Using FindObjectTPA But i don't know how to measure the width and length of the object.
    Could some one please help me out?

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

    Default

    Width and Height is just how many pixels long/wide it is you can just like hover your mouse at top left, and then move it to top right (and look at the coordinate on bottom left of simba) and see how many X long it is, and then go up/down and do same for Y.

    It doesn't need to be exact, just think of it searching in a box X long and Y wide, and seeing if at least MinCount (number of pixels) of the color you specified were found.

    Like for ore in a rock you could do like 25, 25 (appx width/height of a rock) and then make mincout like 15 (pixels of visible ore color) and that would work.

  3. #3
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Think of the width and length parameters as tolerance. The bigger the area, the higher the tolerance, and therefore the less accurate it becomes and more artifacts it accepts.

    Think of Google Maps for example (or any other mapping/GPS system). If you're trying to find where to go in Melbourne and are looking at a high zoom level, then sure, you'll get the general idea. Zoom in, and you become a lot more accurate and get a better idea of what you're looking at. The more you zoom in, the less area you are looking at
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  4. #4
    Join Date
    Oct 2011
    Location
    Australia, Vic
    Posts
    1,517
    Mentioned
    2 Post(s)
    Quoted
    120 Post(s)

    Default

    Thank You Both! You both described it in an easy to take hold of way.

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
  •