January 21, 2021, 05:23:56 AM

Author Topic: Marching Squares for AGK  (Read 470 times)

Offline puzzler

  • Jr. Member
  • **
  • Posts: 1
Marching Squares for AGK
« on: July 26, 2020, 05:38:51 PM »
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

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2587
  • I mostly code at night... Mostly.
    • SyntaxBomb - Indie Coders
Re: Marching Squares for AGK
« Reply #1 on: July 27, 2020, 12:58:19 AM »
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 mini ( 2018 / 2020 ), 3 GHz 6-Core Intel Core i5, 16 GB 2667 MHz DDR4, 1TB NVMe, eGPU Radeon Pro 580 8 GB, LG Ultragear 27GL83A-B 27 Inch
Commodore VIC-20, 1.1Mhz MOS 6502 CPU, 5KB RAM, VIC ( 6560 ) GPU

Until the next time...

Offline Kronos

  • Jr. Member
  • **
  • Posts: 36
Re: Marching Squares for AGK
« Reply #2 on: August 01, 2020, 11:54:00 AM »
Regarding 3d marching cubes, I can't visualize how you would calculate the texcoords on a marching cube mesh, can anyone explain.

Offline GaborD

  • Sr. Member
  • ****
  • Posts: 349
Re: Marching Squares for AGK
« Reply #3 on: August 01, 2020, 09:36:26 PM »
For texturing the result Triplanar is probably the best solution.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal