August 04, 2020, 11:59:53 AM

Author Topic: Marching Squares for AGK  (Read 152 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: 2434
  • 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.
iMac (Retina 5K, 27-inch, 2017), 3.8 GHz Intel Core i5, 32GB RAM, Radeon Pro 580 8 GB
Commodore VIC-20, 1.1Mhz MOS 6502 CPU, 5KB RAM, VIC ( 6560 ) GPU

Until the next time...

Offline Kronos

  • Jr. Member
  • **
  • Posts: 32
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: 345
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