Hi all!
My try to make a simple marching squares in Lua.
Isolines and isobands
Isolines and isobands
- Attachments
-
- isolines-and-isobands-01.love
- (1.19 KiB) Downloaded 435 times
Re: Isolines and isobands
How I can understand that this lines must not crossing?
- Attachments
-
- isolines-and-isobands-02.love
- (1.68 KiB) Downloaded 420 times
Re: Isolines and isobands
Again just isolines lua, not isobands.
Actually, it's not marching-squares, it's marching-triangles.
Actually, it's not marching-squares, it's marching-triangles.
- Attachments
-
- isolines-and-isobands-04.love
- (2.45 KiB) Downloaded 435 times
Re: Isolines and isobands
Reworked version of marching squares, based on this tutorial: https://www.youtube.com/watch?v=0ZONMNUKTfU
- Attachments
-
- isolines-and-isobands-05.love
- (1.05 KiB) Downloaded 347 times
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Isolines and isobands
Nice, the marching triangle(4th one) really looks like an actual contour map.
What are marching squares used for though?
I only know of using it to align(?) tilesets so that they look natural.
What are marching squares used for though?
I only know of using it to align(?) tilesets so that they look natural.
Re: Isolines and isobands
It was a way to make a nice smooth smog for Factorio mod. The old smog was (is) too squarish.Gunroar:Cannon() wrote: ↑Wed May 19, 2021 9:49 am Nice, the marching triangle(4th one) really looks like an actual contour map.
What are marching squares used for though?
I only know of using it to align(?) tilesets so that they look natural.
- Gunroar:Cannon()
- Party member
- Posts: 1143
- Joined: Thu Dec 10, 2020 1:57 am
Re: Isolines and isobands
Wow, that really is an improvement!
Re: Isolines and isobands
Hahaha, you know when colors blend together - you can see the natural blending points?
It's like.. you manually built those instead of writing bumps that have noise.
It's like.. you manually built those instead of writing bumps that have noise.
American, Japanese learner. Games development from Tigsource circa 2011.
よろしくお願いします (yoroshiku-onegaishimasu) Nice to meet you. ☽♡☆
♫ sing with me ♫ SUTTEBUN NETWORK ✝
よろしくお願いします (yoroshiku-onegaishimasu) Nice to meet you. ☽♡☆
♫ sing with me ♫ SUTTEBUN NETWORK ✝
Re: Isolines and isobands
So, isolines and isobands are solved!
Here
isoline is one segment, maybe two segments in tile.
isoband is a polygon for each tile, the list of them (or no polygon in tile).
Press arrows to scale, move noise with mouse or change isoheight with mouse wheel.
Here
isoline is one segment, maybe two segments in tile.
isoband is a polygon for each tile, the list of them (or no polygon in tile).
Press arrows to scale, move noise with mouse or change isoheight with mouse wheel.
- Attachments
-
- isolines-and-isobands-11.love
- (2.01 KiB) Downloaded 174 times
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 3 guests