Marching Squares for AGK

Started by puzzler, July 26, 2020, 17:38:51

Previous topic - Next topic

puzzler

Created a 2D for the time being for Marching Squares for AGK

Press Space to change design

Press Cursors to move around an unlimited doom style walling system

This can be converted to 3D world soon and will look at Marching Cubes next month or 2

Any questions, please get in touch

PS. You even got the code for a 3D perlin noise system in there as an added Bonus!!

Enjoy


Enjoy

Puzzler

Qube

#1
Welcome onboard :)

Hehe, that's pretty cool 8) - Is it supposed to breakup a little when scrolling around? It's just that I use an older version ( 2018-07-12 ) of AGK.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Kronos

Regarding 3d marching cubes, I can't visualize how you would calculate the texcoords on a marching cube mesh, can anyone explain.

GaborD

For texturing the result Triplanar is probably the best solution.