Comments (9)
More news about optimisations here:
https://forum.minetest.net/viewtopic.php?f=18&t=16043#p314553
https://forum.minetest.net/viewtopic.php?f=18&t=16043#p242631
https://forum.minetest.net/viewtopic.php?f=18&t=19836
from darkage.
Please read this, it may help: https://forum.minetest.net/viewtopic.php?f=18&t=16043
from darkage.
davisonio: i'd be willing to tackle converting the mapgen to the ore generation API if you are interested in switching over. Let me know.
from darkage.
Hmm not good, must be the mapgen causing this issue when generating darkage blocks in new areas. I'll look into this.
from darkage.
Actually, why not use official API for generating ores/veines, look here, Paramat says it won't produce OOM, since it is done via engine, not lua:
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4985
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L1143
from darkage.
I don't have much time at the moment to work on this project but I'm able to merge anything that fixes this. The new optimisations in minetest are great and should be taken advantage of :)
from darkage.
I'm keen on preserving darkage blocks in old maps too.
from darkage.
I've updated that advice in the forum and am fairly confident it is correct as of 17th March 2018. Those could be applied (not by me).
Even better, replace all that ore generation code with the ore generation API, there are now several types of oregen to choose from. This will increase mapgen speed and reduce Lua lag on a server.
See #12
from darkage.
https://github.com/kakalak-lumberJack/darkage I have updated the mapgen.lua to use the register_ores method instead of the original custom mapgen (still available but unused in legacy_mapgen.lua in my fork). This should resolve the OOM errors, but I'd like to test it a bit more before I make the PR.
I've tried to follow the spirit of the original mapgen within the given limitations of the register_ores methods but have taken a couple liberties to also better suit some of the newer biomes, such as Old red sandstone spawning in dessert stone and dessert_sandstone, etc. I'll be testing and tweaking noise_params and such a bit before I post but I would love to have any testing/feedback on my fork to make sure folks are happy with the prevalence, depths and other characteristics of the ores, before I make a PR. Thanks!
from darkage.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darkage.