n9jlo / bwta

Automatically exported from code.google.com/p/bwta
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Unwalkable Polygons not scaled to map #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. readMap()
2. analyze()
3. getUnwalkablePolygons()

What is the expected output? What do you see instead?
I expect for the getUnwalkablePolygons() method to return a set of polygons 
who's edges correspond to those of unwalkable terrain.

Instead I get a set of polygons which represent the a scaled-down version of 
the unwalkable terrain (see attached picture).

What version of the product are you using? On what operating system?
Windows 7 64bit. BWAPI3.6.1

Please provide any additional information below.

The attached picture is of Lost Temple after analyzing. I drew the edges of the 
unwalkable polygons in White - appearing as a miniature Lost-Temple.(Note the 
position of the camera)

Will this fix the getNearastUnwalkablePosition method (which seems to return 
the points of the scaled down version)?

Original issue reported on code.google.com by wjarrett...@gmail.com on 26 Aug 2011 at 8:33

Attachments:

GoogleCodeExporter commented 9 years ago
I understand that the returned polygons from getUnwalkablePolygons are using 
the Walk Tile coordinate system, if this is intentional then you can discard 
the issue.

Original comment by wjarrett...@gmail.com on 26 Aug 2011 at 9:17