Ubiquitous Time State

Post Reply
DMT
New member
Posts: 1
Joined: Tue Oct 09, 2018 22:52

Ubiquitous Time State

by DMT » Post

What would it take to make the entire minetest world ('The world is a cube of side length 61840') continuously active? In other words, rather than a territory chunk rendering into existence only due to the player's observation/presence, how could time and events continue in all areas of the world even when not viewed?
Could multiple computers be linked together to do this? Or several graphics cards?
Does anyone have any idea what it would take?
Thanks

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Ubiquitous Time State

by TumeniNodes » Post

you mean like a rendering farm?

Here's some information (old but still relevant I think)
I think it would take quite a bit though, to achieve what you describe.

by PilzAdam » Mon May 13, 2013 05:10
This article from the dev wiki describes the usage of threads in Minetest: http://dev.minetest.net/Engine_structure#Threads
Note that you can change some etting in minetest.conf to use more threads:

Code: Select all
# This specifies the number of threads used for world generation
num_emerge_threads = 1
# And this how many threads are used to download media from a server that uses cURL
media_fetch_threads = 8
A Wonderful World

Astrobe
Member
Posts: 577
Joined: Sun Apr 01, 2018 10:46

Re: Ubiquitous Time State

by Astrobe » Post

Way too much, because what it really means is that all ABMs (by definition I think LBMs wouldn't make sense anymore) are active everywhere. Which would often mean, in turn, megatons of active entities (mobs).

If making the entire world were a real project, one would have to look for ways to optimize things by skipping the parts of the world where nothing can change. This would mean either removing ABMs from the engine, or providing a way to define them more precisely (for instance min and max altitude) so that the engine could use this data to skip areas where no ABM is active.

Then remains mainly (there's also node timers) entities, because they can change the world too (fireballs that set things on fire for instance). So entities should have to be treated like players.

This seems possible, as long as the game doesn't spawn too many entities/mobs.

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Ubiquitous Time State

by Gael de Sailly » Post

There is an API function to keep a chunk loaded : minetest.forceload_block, but always keep in mind that it may take much CPU and RAM.
That's what was done on MinetestForFun Classic server on a few dozen of chunks around mesecons factories (by the mesecons mod itself), and the lag was already noticeable.
Just realize how bored we would be if the world was perfect.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests