Jump to content
Sign in to follow this  
TRiLeZ

DTM System

Recommended Posts

A DTM system has now been implemented in TRiBot.

API:

http://tribot.org/doc/org/tribot/api/colour/DTMs.html

http://tribot.org/doc/org/tribot/api/colour/types/DTM.html

http://tribot.org/doc/org/tribot/api/colour/types/DTMPoint.html

http://tribot.org/doc/org/tribot/api/colour/types/DTMSubPoint.html

Explanation:

The find method will search for a DTM in the specified region, and will result in what it has found, in DTM format. Dtm.main_point.point represents the main point where the dtm has been found. The colours/colour points attached to all the main and sub points represent the colours which returned positive in the finding. All tolerances in these DTM ouputs are set to zero.

When constructing a new DTM for a search, remember to use point coordinates relative to the main coord. So, (-2, -2) would be 2 pixels left of the main point, and 2 pixels above the main point.

Cheers!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×