News for hackers. Stuff that matters.
Re:Martini: Real-Time Terrain Mesh Generator by mourner on Thursday August 15, 2019 @10:54AM (#20705728)
Author here — thanks for checking this out, everyone! Happy to answer any questions in comments.
Re:Martini: Real-Time Terrain Mesh Generator by spython on Thursday August 15, 2019 @11:17AM (#20705939)
Not a question about the mesh generator, but if I want to create a (leaflet or mapbox) map that uses raster images as textures in vector maps, where do I start?

Similar to the Middle earth style map, but for the web: https://adventuresinmapping.com/2018/09/10/middle-earth-map-...

Re:Martini: Real-Time Terrain Mesh Generator by mourner on Thursday August 15, 2019 @11:41AM (#20706172)
Just open https://studio.mapbox.com and have a go! It's a really powerful tool with a ton of customization options, including ones related to textures & patterns. Also check out one of the recent tutorials for a textured map: https://blog.mapbox.com/designing-the-treasure-map-style-431... We also have a cool guide for map design: https://www.mapbox.com/map-design/
Re:Martini: Real-Time Terrain Mesh Generator by spython on Thursday August 15, 2019 @11:45AM (#20706209)
Awesome, thanks a lot!
Re:Martini: Real-Time Terrain Mesh Generator by num3ric on Thursday August 15, 2019 @11:53AM (#20706283)
Did you leverage this approach to optimize terrain rendering/add detail on devices where hardware tessellation is not supported? Lovely algorithm in any case. [Edit: Just remembered the limitation is with WebGL itself, doh.]
Re:Martini: Real-Time Terrain Mesh Generator by jacobolus on Thursday August 15, 2019 @03:58PM (#20709031)
Re:Martini: Real-Time Terrain Mesh Generator by mourner on Thursday August 15, 2019 @04:23PM (#20709263)
Wow, what OS / device is this on? Looks fine on Firefox 68 / OS X for me.
Re:Martini: Real-Time Terrain Mesh Generator by jbarberu on Friday August 16, 2019 @10:27AM (#20715464)
I'm seeing similar results on FF68.0.2 Win10 with a GTX 1060.
Re:Martini: Real-Time Terrain Mesh Generator by jacobolus on Thursday August 15, 2019 @04:36PM (#20709383)
Firefox 68.0, OS X 10.14.6
Re:Martini: Real-Time Terrain Mesh Generator by mourner on Thursday August 15, 2019 @04:41PM (#20709431)
Really weird! No idea what could be the culprit. Some GPU bug maybe?
Re:Martini: Real-Time Terrain Mesh Generator by galangalalgol on Thursday August 15, 2019 @06:30PM (#20710347)
On android firefox doesnt seem to work at all. Nor does ff preview. Chrome works.
Re:Martini: Real-Time Terrain Mesh Generator by colkassad on Thursday August 15, 2019 @12:11PM (#20706492)
This is awesome. I wrote a Terrain-RGB to greyscale PNG converter and would love to play around with this in a demo map for a 3D preview or something. How are you rendering the mesh in your notebook? Threejs?
Re:Martini: Real-Time Terrain Mesh Generator by mourner on Thursday August 15, 2019 @12:17PM (#20706555)
All the code is there — browse to the bottom and click on the left side of ThreeJS sections to expand them.
Re:Martini: Real-Time Terrain Mesh Generator by colkassad on Thursday August 15, 2019 @12:18PM (#20706572)
Duh! Thanks!
Re:Martini: Real-Time Terrain Mesh Generator by skvj on Thursday August 15, 2019 @01:05PM (#20707172)
great work! a little simpler minus the triangle conversion, have you seen the openFrameworks chapter for generating mesh from color saturation values? https://openframeworks.cc/ofBook/chapters/generativemesh.htm...
Re:Martini: Real-Time Terrain Mesh Generator by mourner on Thursday August 15, 2019 @02:55PM (#20708429)
Haven't seen this, thanks for sharing!
Re:Martini: Real-Time Terrain Mesh Generator by caffed on Thursday August 15, 2019 @01:26PM (#20707414)
Super neat! I will definitely be checking this lib out.