Fantasy-Map-Generator/modules
Rayzeq 4575edc92e
Better cities and towns labels in 3D view (#635)
* Better cities and towns labels in 3D view

* Small changes (let -> const)

* Lower city labels

* Change the way the label faces the camera

* Use font from svg instead of hardcoded

* Use color from svg

* Optionalize 3d labels

* Use pack.burgs instead of svg + Icon use style from svg

* Replace jQuery with d3

* Labels adapts to height scale

* Fix bug: options are not applied when changing layer

* Add states labels + Replace canvas by svg

* Fix: States labels adapts to height scale

* Requested fixes

* All fonts working properly + Big memory optimization + Minor fixes

* Fix rotating animation + More optimization

* use Raycaster for positioning the labels

* Use canvas to render burg labels + Some tweaks

Co-authored-by: Rayzeq <zachariedubrulle@gmail.com>
2021-07-17 15:52:17 +03:00
..
ui Better cities and towns labels in 3D view (#635) 2021-07-17 15:52:17 +03:00
burgs-and-states.js add tier 2021-07-11 01:20:25 +03:00
coa-generator.js new charges: crosses 2021-03-19 02:20:13 +03:00
coa-renderer.js v1.5.46 - new patterns 2021-02-20 22:33:33 +03:00
cultures-generator.js fixed #619 2021-04-10 14:33:59 +03:00
fonts.js small fix for legend font load 2021-07-12 23:51:57 +03:00
heightmap-generator.js template editor: allow single value 2021-06-13 16:42:47 +03:00
lakes.js state only borders + watercolor style 2021-07-10 20:08:30 +03:00
load.js shapeRendering option 2021-07-12 23:45:10 +03:00
military-generator.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
names-generator.js remove not hawaiian names 2021-06-13 11:46:55 +03:00
ocean-layers.js addLakesInDeepDepressions 2021-06-06 20:25:36 +03:00
relief-icons.js redraw relief on size change 2021-07-11 16:47:49 +03:00
religions-generator.js fixed #619 2021-04-10 14:33:59 +03:00
river-generator.js fix lake elevation limits 2021-06-29 00:59:58 +03:00
routes-generator.js addOverseaRoute 2021-06-13 19:57:00 +03:00
save.js Better cities and towns labels in 3D view (#635) 2021-07-17 15:52:17 +03:00
utils.js throttle work done on zoom 2021-07-12 22:08:17 +03:00
voronoi.js v1.5.32 - resolve conflicts 2021-02-14 19:59:37 +03:00