Thread: WOD/Pre-patch
View Single Post
12-08-14, 02:50 AM   #676
atl77
A Chromatic Dragonspawn
Join Date: Oct 2014
Posts: 179
Originally Posted by ircdirk View Post
Nope it will not work for this. We have to expand those points feom wowhead db by width and height to create the area. Writing polygon around them and fill with color will not work here.
I wrote "something like this", not exactly the same thing. I have already found the array of coordinates inside their pages. The algorythm to convert those will be a lot simpler than that for hull.js - it just connects every furthest point along the same "line" of boxes with the next furthest point both horizontally and vertically.

Update: the algorythm that I intended to suppose doesn't perform well on many other examples I found on WoWhead... back to the drawing board.

Last edited by atl77 : 12-08-14 at 04:41 AM.