three-geojson-geometry icon indicating copy to clipboard operation
three-geojson-geometry copied to clipboard

Example for mesh geometry based on geojson

Open overshom opened this issue 8 months ago • 1 comments

Request for example.

Please provide example where we can use GeoJSON to render countries as filled polygons, not only contour lines.

I want to see how we can fill every country with different color.

I assume we should triangulate line geometries somehow, maybe even "earcut" which is already a dependency here can do that. I tried some experiments myself but don't have enough knowledge to complete it.

So, eventually I want to understand how using this library we can render "realistic Earth globe" with shaders for oceans, land etc.

P.S. thank you for cool library

overshom avatar Jun 20 '24 13:06 overshom