Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

real time Destructible Terrain implementation

Discussion in 'Made With Unity' started by FilipBaba, Mar 28, 2012.

  1. FilipBaba

    FilipBaba

    Joined:
    Mar 28, 2012
    Posts:
    13
    Last edited: Sep 9, 2012
  2. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    nice work
     
  3. TiG

    TiG

    Joined:
    Feb 28, 2011
    Posts:
    311
    Great job!
     
  4. AdamOwen

    AdamOwen

    Joined:
    Jul 13, 2011
    Posts:
    66
    Looks great, may have a play with it soon!
     
  5. FilipBaba

    FilipBaba

    Joined:
    Mar 28, 2012
    Posts:
    13
    thanks everyone.
    I would love to see what people will make with this implementation. If people request it i can put up an online playable version too.
     
  6. SevenBits

    SevenBits

    Joined:
    Dec 26, 2011
    Posts:
    1,953
  7. nofosu1

    nofosu1

    Joined:
    Jan 13, 2011
    Posts:
    73
    Very nice work. Thanks for sharing it!
     
  8. visuaware

    visuaware

    Joined:
    Apr 18, 2012
    Posts:
    3
    was link to package removed?
     
  9. DaneC020

    DaneC020

    Joined:
    Mar 19, 2010
    Posts:
    191
    No it is still up. Go check out the youtube video and look in his notes there.

    -Dane
     
  10. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  11. larvantholos

    larvantholos

    Joined:
    Oct 29, 2009
    Posts:
    668
    This is one of the best things I've seen come out in a while, nice work!
     
  12. tasadar

    tasadar

    Joined:
    Nov 23, 2010
    Posts:
    290
    Nice indeed!

    it should be free, there seems to be nothing new here, usual stuff.
    afferin devam et...
     
  13. FilipBaba

    FilipBaba

    Joined:
    Mar 28, 2012
    Posts:
    13
    This was one of my biggest inspirations.

    One thing I worked on was getting the actual terrain texture to change at the explosion Vector3.
    My framework can have multiple texture changes by manipulating the splat map, for example:
    At first explosions change just to a dirt texture, then after a few of those it becomes a darker burnt type of texture.

    I am currently developing a fully practical Terra-Forming system for in-game where one can raise ground to create mountains and such.

    In the future i would like to create some form of Voxel terrain where one can fully manipulate the Terrain to create caves and arches and other earth formations.
     
  14. FilipBaba

    FilipBaba

    Joined:
    Mar 28, 2012
    Posts:
    13
    Bump so more people can use this. I really want to see what people will make with this.
     
  15. b0bbly

    b0bbly

    Joined:
    Jun 9, 2012
    Posts:
    1
    I love it! Thinking about changing it for use in a build-style MMO - if the performance is capable.
    I'd love to see the work on the construction and cave systems when you're closer to completion.
     
  16. Taigo

    Taigo

    Joined:
    Feb 18, 2010
    Posts:
    128
    Awesome stuff!
    Thanks for sharing and taking your time on this
     
  17. EvilOtaku

    EvilOtaku

    Joined:
    Jul 3, 2011
    Posts:
    5
    Very good stuff here. I'm hoping to be able to do something like Son of Nor here

     
  18. FilipBaba

    FilipBaba

    Joined:
    Mar 28, 2012
    Posts:
    13
    The code as of yet is still not optimized, so it doesn't run very smoothly. The slowest part of the code is where the terrain texture gets changed, one shortcut around this is to use Projectors instead of changing the terrain texture directly.
    Son of Nor looks like it's using a similar type of system, but it's more efficient because it's not changing the texture in the memory, so it can run smooth.
     
  19. FilipBaba

    FilipBaba

    Joined:
    Mar 28, 2012
    Posts:
    13
    Has anyone done anything with this yet?

    I would really love to see what the community can come up with
     
  20. alext

    alext

    Joined:
    Apr 26, 2012
    Posts:
    4
    Not quite done yet but working on a tech demo that uses your script for a tank sim game.
     
  21. Kurius

    Kurius

    Joined:
    Sep 29, 2013
    Posts:
    412
    Hi,
    Did you every get around to this particular feature?
    Thanks
     
  22. Srish10

    Srish10

    Joined:
    Nov 12, 2021
    Posts:
    1
    marching cubes?
     
  23. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,321
    Please look at the dates of posts before replying. This post is over 10 years old to a user who last posted in 2014. :(

    Thanks.
     
    khos likes this.
  24. The11thAlchemist

    The11thAlchemist

    Joined:
    Aug 10, 2020
    Posts:
    26
    Sure it's old, but there are people like me that are necro-searching for basic ideas on how people achieved certain programming techniques. This was one of the first posts to show up on google, so I think it would be awesome if people chimed in on more modern methods.