Better (3D) clouds

User avatar
voxelproof
Member
 
Posts: 646
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Better (3D) clouds

by voxelproof » Sat Dec 09, 2017 18:06

I think that the default clouds look much too simple, I'd even say primitive. In fact they're 2D objects made to look 3D just by the fact that they consist of blocks and this in my opinion makes them too similar to layers of snow (despite they're passable and moving). In a good game design every detail counts and the visual aspect of the skydome is extremely important for the overall ambience. In case of clouds the shapes are crucial: clouds are all but rectangles, so shaping them in a more natural way certainly would make the worlds of Minetest appear to be much more enticing.

Here is an example from another Minecraft clone, namely Craft by Michael Fogleman (the game is much simpler in design than Minetest and a little buggy, but its terrain generation is of lightning speed and ambient occlusion and lighting are amazingly well done):

Image

Image

The project is open source so I hope modders or developers might use parts of the code in the future Minetest versions after receiving author's consent.
Attachments
craft1.jpg
(148.9 KiB) Not downloaded yet
craft.jpg
(180.66 KiB) Not downloaded yet
>>>there is life beyond the Cube>>>
 

User avatar
cHyper
Member
 
Posts: 762
Joined: Fri May 06, 2011 08:49
Location: Austria
GitHub: cHyper-0815OL
IRC: cHyper
In-game: cHyper

Re: Better (3D) clouds

by cHyper » Sat Dec 09, 2017 20:33

the game only support creative mode when you register at a special page and login ingame! nice game anyway!
maybe some of the code could be used for minetest?!!

see more infos here: https://opensource.com/alternatives/minecraft
 

User avatar
voxelproof
Member
 
Posts: 646
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: Better (3D) clouds

by voxelproof » Sat Dec 09, 2017 22:29

cHyper wrote:the game only support creative mode when you register at a special page and login ingame! nice game anyway!
maybe some of the code could be used for minetest?!!

see more infos here: https://opensource.com/alternatives/minecraft


I didn't know about registering :) And as for the mc clones - I know most or maybe all (free) of them. Minetest is a meticulously deliberated choice.

P.S. This page is very outdated. I can remember I started to search MC alternatives from it. Besides Minetest on this list there're only two relatively unbuggy games - Voxelands and Manic Digger. Once there used to exist playable Terasology, but the ambience of it filled me with strange distaste (probably it was due to the textures). And my advice - keep far away from 'TrueCraft" :)
>>>there is life beyond the Cube>>>
 

User avatar
cHyper
Member
 
Posts: 762
Joined: Fri May 06, 2011 08:49
Location: Austria
GitHub: cHyper-0815OL
IRC: cHyper
In-game: cHyper

Re: Better (3D) clouds

by cHyper » Sat Dec 09, 2017 23:12

voxelproof wrote:
I didn't know about registering :) And as for the mc clones - I know most or maybe all (free) of them. Minetest is a meticulously deliberated choice.

P.S. This page is very outdated. I can remember I started to search MC alternatives from it. Besides Minetest on this list there're only two relatively unbuggy games - Voxelands and Manic Digger. Once there used to exist playable Terasology, but the ambience of it filled me with strange distaste (probably it was due to the textures). And my advice - keep far away from 'TrueCraft" :)


registering for mp mode!! ingame you can join the server and do your creations!!
Terasology look great when you have a powerful gaming computer. its still alpha and coded in java.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
philipbenr
Member
 
Posts: 1688
Joined: Fri Jun 14, 2013 01:56
Location: United States
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi

Re: Better (3D) clouds

by philipbenr » Mon Dec 11, 2017 01:52

I could be completely wrong, but I think that a rewrite of clouds could be done somewhat easily without having to splice code from another game.

Actually, I think that I might take a look at the overall skybox code over winter break and see if there is anything that I could do to change that. As I said, doesn't sound like a very hard thing to do. (I also get to see how good the documentation on the engine is on the wiki. ;P )
 

User avatar
ThomasMonroe
Member
 
Posts: 278
Joined: Tue Apr 04, 2017 16:21
Location: Wherever I am at
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared

Re: Better (3D) clouds

by ThomasMonroe » Mon Dec 11, 2017 02:27

it would even be possible to have different types of cloud-generation to choose from, such as this, and maybe some others
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.
 

User avatar
v-rob
Member
 
Posts: 561
Joined: Thu Mar 24, 2016 03:19
Location: Right behind you.
GitHub: v-rob

Re: Better (3D) clouds

by v-rob » Mon Dec 11, 2017 03:06

It would be cool to be able to have this changeable Lua-side. For instance, the weather mods could change the clouds to be stratus when it starts raining, and then back to cumulus after it stops. It would also be nice if the clouds did not go through mountains and tall buildings.
 

ShadMOrdre
Member
 
Posts: 135
Joined: Mon Dec 29, 2014 08:07
Location: USA
In-game: shadmordre

Re: Better (3D) clouds

by ShadMOrdre » Mon Dec 11, 2017 09:02

Or you could just check out my mod viewtopic.php?f=9&t=17865
My other virtual world is an Opensimulator.
 

User avatar
paramat
Developer
 
Posts: 3254
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: Better (3D) clouds

by paramat » Mon Dec 11, 2017 14:11

We have a cloud API, it could have a parameter for the size of the cloud element (currently 64x64 i think) reducing this would create finer detail in the 2D noise.
 

User avatar
voxelproof
Member
 
Posts: 646
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: Better (3D) clouds

by voxelproof » Mon Dec 11, 2017 17:12

paramat wrote:We have a cloud API, it could have a parameter for the size of the cloud element (currently 64x64 i think) reducing this would create finer detail in the 2D noise.


Hooray. For now I keep clouds on the higher altitude to obtain more diversity and richness of landscape elements. Not bad, but could be better :)

Image
High spirits
Attachments
clouds_over_the_mountain.jpg
(425.89 KiB) Not downloaded yet
Last edited by voxelproof on Wed Dec 13, 2017 06:02, edited 1 time in total.
>>>there is life beyond the Cube>>>
 

Amaz
Member
 
Posts: 343
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: Better (3D) clouds

by Amaz » Tue Dec 12, 2017 11:33

I was able to make these clouds by changing the cloud size:
Image

However, the result was 1 FPS, due to the massive increase in the number of calculations required... I don't know if there are any ways that can be avoided...

These are the changes I made:
Changed https://github.com/minetest/minetest/bl ... ds.cpp#L36 to this:
Code: Select all
static constexpr const float cloud_size = BS * 8.0f


And changed https://github.com/minetest/minetest/bl ... s.cpp#L371 to this:
Code: Select all
m_cloud_radius_i = g_settings->getU16("cloud_radius") * 8;
 

User avatar
ThomasMonroe
Member
 
Posts: 278
Joined: Tue Apr 04, 2017 16:21
Location: Wherever I am at
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared

Re: Better (3D) clouds

by ThomasMonroe » Tue Dec 12, 2017 12:50

I would not be surprised if the vertice count was through the roof when you made that picture Amaz, however I think it could be optimized some.
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 3 guests