3 ms·
Indexing with hex pixels gets... fun. You can represent it as row / columns with every second row or column offset, but then straight vertical / horizontal lin
by TheLoneWolfling 12y ago
Indexing with hex pixels gets... fun.
You can represent it as row / columns with every second row or column offset, but then straight vertical / horizontal lines turn jagged.
- zem 12y agohere's a really good collection of hex grid links: http://www-cs-students.stanford.edu/~amitp/gameprog.html#hex http://www-cs-students.stanford.edu/~amitp/gameprog.html#hex
- colanderman 12y agoEven moreso, image operations get more fun. Most image filters (and other transforms) assume a regular square grid because the math works out really well (axes are orthogonal and same scale). Any deviations from these assumptions make the math more convoluted. (Pun intended.)