Procedural Asteroids Tech Demo - Printable Version +- Halo Space Station Evolved (https://projectunsc.org/forum) +-- Forum: UNSC Operational Test and Evaluation Center (UNSCOTEC) (https://projectunsc.org/forum/forumdisplay.php?fid=4) +--- Forum: Development (https://projectunsc.org/forum/forumdisplay.php?fid=17) +--- Thread: Procedural Asteroids Tech Demo (/showthread.php?tid=234) |
Procedural Asteroids Tech Demo - Cael_Aislinn - 08-17-2016 I made a video to show off the procedural asteroid generation I was working on recently. It runs through the entire algorithm in slow(ish) motion showing off the process from start to finish. Contains Music for Programming Gods of the New Age. https://www.youtube.com/watch?v=8QBZ_-JNdTU RE: Procedural Asteroids Tech Demo - Crazylemon - 08-18-2016 Oh! This is fantastic! Though, I couldn't help but notice that your map saver took on the order of a minute... Does your saver use a repeated string concatenation? I've found that it's like 20x faster, when at the scale of an entire z level, to instead add each bit of text to a list, then call `joinlist` at the end, when you need your string to be fully assembled. Doing so, I've been able to save elaborate z levels, such as Paradise's Cyberiad, in only ~7 seconds, the key->instance writing taking less than half a second, as opposed to the 70 seconds that step took before. RE: Procedural Asteroids Tech Demo - Cael_Aislinn - 08-18-2016 Yeah it's using Lummox's DMM Mapsuite from 2006 which does string concats lel. It could rewritten to use joinlist pretty quickly but it's basically just a neat gimmick for us at the moment. If you want our mapsave code is up on ghub so you could have a look yourself RE: Procedural Asteroids Tech Demo - notasyndie - 08-21-2016 looks great cant wait |