Možná je i třetí, Alpilotx, který už to vzdal. Ten předělal dsftool aby zpracoval detailnější mesh a zároveň jim i upravil RenderFarm. ve zdrojáku jsou dokonce i útržky komunikace, zde malá ukázka a je tam toho více:
hi Andrew,
So first of all, the fact that you went in, hacked the low level numerics of my planar map, and it got better is really pretty impressive. I didn't think the code was readable, let alone user modifiable.
I am turning these emails into docs for the code tree because a lot of these issues are not described anywhere. With that in mind...a few thoughts:
There are three fundamentally tricky GIS algorithms in the rendering process (everything else is application and raster data)...
- Planar map with intersections, used to both merge down polygonal terrain type descriptions and to find the smallest contiguous areas around vector features.
- Delauney triangulation with constraints for the mesh with induced triangle edges for terrain type changes.
- Buffers around polygons, used to buffer out (for airports) and in (for city blocks)...two separate algs are actually used.
When I started the code, CGAL didn't have the third and I used CGAL for the first two. At the time, their planar map with intersections was buggy, and after trying to fix bugs only to hit other ones for a while, I got so fed up I rolled my own. In particular, the templating was so heavy in the CGAL implementation that, for the compilers at the time (CodeWarrior! Yuck!) the code was very opaque to debug. |
|