Mythruna

Player's Corner => Gallery => Topic started by: Moonkey on April 01, 2013, 04:01:34 PM



Title: Cave pictures
Post by: Moonkey on April 01, 2013, 04:01:34 PM
I decided (A few months ago) to smooth out this cave I found. This is what a cave would look like in Mythruna if it had generated slopes. Tell me what you think! I call it "Spider cave".
(http://i.imgur.com/gu43fwf.png)(http://i.imgur.com/XErBhl1.jpg)(http://i.imgur.com/eb3euYf.jpg)(http://[img]http://i.imgur.com/1nKyRQg.jpg)(http://i.imgur.com/XKnmLKe.jpg)(http://i.imgur.com/Rx2gFyF.jpg)I didn't smooth the big sphere part of the cave though.


Title: Re: Cave pictures
Post by: Michael on April 01, 2013, 04:26:54 PM
Hehe, that is pretty cool :) i would expect the last picture to be REALLY hard to smooth out.


Title: Re: Cave pictures
Post by: pspeed on April 01, 2013, 04:55:37 PM
Looks cool.  I know a lot of work went into that. :)


Title: Re: Cave pictures
Post by: Michael on April 01, 2013, 05:48:12 PM
Looks cool.  I know a lot of work went into that. :)
and how..


Title: Re: Cave pictures
Post by: Moonkey on April 01, 2013, 06:35:08 PM
Looks cool.  I know a lot of work went into that. :)
Yea, it was hard getting the slopes to blend together since I didn't have more slopes then what was provided. Took actually about an hour or two to make. It was also hard trying to get the lamps to hold the magic lights without levitating off the slopes so I had to move them when I snapped them into place. Some still levitate, hehe. Edit: Caves look like they have one main strip, and then have branches. And the eventual giant sphere chasm. Hah.


Title: Re: Cave pictures
Post by: pspeed on April 01, 2013, 08:21:45 PM
Looks cool.  I know a lot of work went into that. :)
Yea, it was hard getting the slopes to blend together since I didn't have more slopes then what was provided. Took actually about an hour or two to make. It was also hard trying to get the lamps to hold the magic lights without levitating off the slopes so I had to move them when I snapped them into place. Some still levitate, hehe. Edit: Caves look like they have one main strip, and then have branches. And the eventual giant sphere chasm. Hah.

It's random.  It starts off at a point/cavern, then branches a random number of times in random directions, then those branch, etc. down to some random depth.  A lot of times they fold back onto themselves and there are some randomized parameters at each level to decide how big the branching caves will be (range of sizes) how many branches there will be, etc..  That's why sometimes you get long meandering caves because the randomization at that level decided to favor single and double branches.

Also, gorges try first to generate at a random cave node if they can and it meets the other criteria they expect.


Title: Re: Cave pictures
Post by: theamericono on July 20, 2013, 09:15:32 AM
sorry i dont like it to many different angles and surfaces  :'(  to many distractions. i like the stalagmites thought


Title: Re: Cave pictures
Post by: X3n0ph083 on July 23, 2013, 10:05:35 AM
I think it's awesome!

Paul, I understand it probably isn't possible due to the number of vertices involved, but if caves could generate like this (minus torches)... wow.


Title: Re: Cave pictures
Post by: pspeed on July 23, 2013, 12:41:42 PM
I think it's awesome!

Paul, I understand it probably isn't possible due to the number of vertices involved, but if caves could generate like this (minus torches)... wow.


It may happen... but there are other reasons not to do it also.

The caves carved by visserack worms might be more like this... though that's tricky because they fill them in as they go, too.

Edit: noting the "correct" spelling so that my searches will work properly: visserakk   I haven't really decided which spelling I will use but it helps in my searches if I'm at least consistent. :)  "visserakk" is how my son originally spelled it when he pitched me the idea that became this creature.


Title: Re: Cave pictures
Post by: Michael on July 23, 2013, 01:47:40 PM
maybe when the worm goes by around stone it will leave it as dirt.. and to tell a worm has been there have patches of air blocks to make it seem like loose dirt?


Title: Re: Cave pictures
Post by: pspeed on July 23, 2013, 02:03:01 PM
maybe when the worm goes by around stone it will leave it as dirt.. and to tell a worm has been there have patches of air blocks to make it seem like loose dirt?

Yeah, sand actually... but I thought of that.  It works ok for slopes on the top but not as much for the ones on the bottom unless I end up modeling sand like a fluid.


Title: Re: Cave pictures
Post by: X3n0ph083 on July 23, 2013, 11:41:21 PM
Like a fluid? That sounds intriguing.


Title: Re: Cave pictures
Post by: pspeed on July 24, 2013, 12:27:31 AM
Like a fluid? That sounds intriguing.

I will be (attempting) to model water as a simple fluid.  Depending on how that implementation ends up actually working then it might be possible to adapt it to sand also.  It is not very likely as there are some short cuts I can take with water to make it feasible that will not work with things like sand.


Title: Re: Cave pictures
Post by: Moonkey on July 24, 2013, 05:51:33 AM
This makes me inspired and want to start up Mythruna and take pictures. Maybe a video if I build something!


Title: Re: Cave pictures
Post by: X3n0ph083 on July 24, 2013, 11:43:06 AM
Could I ask for an explanation as to why?

I'm curious because I did software development in college (but never took it any further) and have always toyed with the idea of making a game, and wondered about the sorts of obstacles that would be faced.


Title: Re: Cave pictures
Post by: pspeed on July 24, 2013, 12:28:22 PM
Could I ask for an explanation as to why?

I'm curious because I did software development in college (but never took it any further) and have always toyed with the idea of making a game, and wondered about the sorts of obstacles that would be faced.

Why what?


Title: Re: Cave pictures
Post by: Moonkey on July 24, 2013, 04:45:34 PM
Could I ask for an explanation as to why?

I'm curious because I did software development in college (but never took it any further) and have always toyed with the idea of making a game, and wondered about the sorts of obstacles that would be faced.

Why what?
For a second, I thought he questioned why I became inspired.


Title: Re: Cave pictures
Post by: pspeed on July 24, 2013, 09:27:03 PM
Could I ask for an explanation as to why?

I'm curious because I did software development in college (but never took it any further) and have always toyed with the idea of making a game, and wondered about the sorts of obstacles that would be faced.

Why what?
For a second, I thought he questioned why I became inspired.

I think he was asking something related to fluid sand but all of those answers are long enough that I don't want to pick the wrong interpretation.


Title: Re: Cave pictures
Post by: X3n0ph083 on July 25, 2013, 10:19:52 AM
...might be possible to adapt it to sand also.  It is not very likely as there are some short cuts I can take with water to make it feasible that will not work with things like sand.

Haha sorry about that. I meant how would it be possible to make sand also react like a fluid, if that is the direction you choose to go?
I hate to be the one that brings up Minecraft, but I find the water physics irritates me to hell (read: stickler for realism). Is it likely to be done in a similar way? I assume not, as that model would not work with sand very well.


Title: Re: Cave pictures
Post by: pspeed on July 25, 2013, 02:55:22 PM
...might be possible to adapt it to sand also.  It is not very likely as there are some short cuts I can take with water to make it feasible that will not work with things like sand.

Haha sorry about that. I meant how would it be possible to make sand also react like a fluid, if that is the direction you choose to go?
I hate to be the one that brings up Minecraft, but I find the water physics irritates me to hell (read: stickler for realism). Is it likely to be done in a similar way? I assume not, as that model would not work with sand very well.

The plan is to simulate water with sort of particles.  It requires some heavy data management and the rendering may become infeasible.  The goal is to be able to do things like drain mountain top lakes if you punch a hole in the bottom or have cascading waterfalls that can still be deflected by user created objects.  It's complicated.

Flowing sand may be better suited for a cellular automata approach like Minecraft uses for water but the trick is knowing when sand has drained.  It's possible that when I implement the water that a combination of cellular automata and fluid particles together will make for sand that drains and flows while still stacking into nice piles on the floor.