[0.4.11] Meshnodes, mapgen “v5”, other recent developments

User avatar
Calinou
Moderator
Posts: 3166
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

[0.4.11] Meshnodes, mapgen “v5”, other recent developments

by Calinou » Post

Hello! This issue covers the addition of meshnodes, as well as various other developments such as performance improvements.

These changes will of course be available in the next Minetest version (0.4.11), but you can already use them in some builds as well as a recent, self-compiled Git build.


Meshnodes

RealBadAngel has added support for meshnodes. Meshnodes look like entity meshes (.x, .b3d, .obj or .md2 format), but are placed as static “blocks”. He also made it so that nodeboxes are cached into memory, and are converted to meshes at load time, in order to greatly improve performance when there are many nodeboxes in view. Modders can also define node collision boxes indepentently of the node boxes.
Lastly, he also remade the wielded item rendering in order to support shaders.

Image
Yes, these are nodes, not entities. These slopes can be walked on. They can also be crafted, as part of More Blocks (“slopes” branch). Also see Mesh primitive objects.


Image
Curves from slope_test.


Image
Bump-mapping now works on the wielded item, dropped items and other entities.

Map generation “v5”

paramat worked on adding the good old “v5” map generation, which was the one used in Minetest 0.3. Like “v7”, it can use the Lua biome system, so it will only generate stone by default.

Image
Don't worry, it still has hanging cliffs and floating blobs of terrain.

Node highlighting

RealBadAngel added node highlighting, which changes the way nodes look when they are pointed at.

Image
You can edit halo.png to change the selection's color and style.

In-game key change menu

mushiden implemented an in-game key change menu. You can now change keys without leaving a game or a server.

Image
All keys can now be changed while playing.

Performance improvements

Zeno- authored a few performance optimizations (1), (2), (3), (4) which may increase client performance quite a bit.

Tooltips when hovering over subgame icons

Wuzzy implemented tooltips when your mouse hovers over a subgame icon.

New minetest_game textures

kilbith, BlockMen and RHRhino worked on textures; among other ones, chest, flower, ladder and furnace textures have been renewed:

Image
Image
Image

Modding / miscellaneous

kwolekr added eased 3D noise; it can be used in mods.

kwoelkr and ShadowNinja cleaned the code around a bit.

All commits

User avatar
Enke
Member
Posts: 469
Joined: Fri Nov 15, 2013 02:56
GitHub: NANOsoldierEnke
IRC: Enke
In-game: Enke
Location: The internet

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Enke » Post

Can't wait!
Lush8
ExtraVars for Red Eclipse

<Anarchid> my turn was still the most awesome, yielding all the cripples, two captured paranormals, and death rate of about 30%
<ORCACommander> Anarchid: you need to work harder
<ORCACommander> I am hereby putting you under review until you can increase the casualty rate

User avatar
Krock
Developer
Posts: 4577
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Krock » Post

In-dev builds already contain this stuff and it works fine :)
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Zeno
Member
Posts: 140
Joined: Sun Jun 29, 2014 03:36
GitHub: Zeno-
Location: Australia

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Zeno » Post

Cool Calinou :)

There are 2 other commits that increase performance more than a few frames per second (a lot more)

leopinopalo
New member
Posts: 4
Joined: Tue Jun 11, 2013 19:40
GitHub: Lleopinopalo
In-game: Lleopinopalo
Location: Barcelona, Cataluña, España

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by leopinopalo » Post

I look forward to download it now

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Evergreen » Post

leopinopalo wrote:I look forward to download it now
Use this: viewtopic.php?f=42&t=1523
Back from the dead!

User avatar
Enke
Member
Posts: 469
Joined: Fri Nov 15, 2013 02:56
GitHub: NANOsoldierEnke
IRC: Enke
In-game: Enke
Location: The internet

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Enke » Post

Will the keybindings menu ever have a way to change the f-key bindings, or are we stuck with those?
Lush8
ExtraVars for Red Eclipse

<Anarchid> my turn was still the most awesome, yielding all the cripples, two captured paranormals, and death rate of about 30%
<ORCACommander> Anarchid: you need to work harder
<ORCACommander> I am hereby putting you under review until you can increase the casualty rate

User avatar
Calinou
Moderator
Posts: 3166
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Calinou » Post

Enke wrote:Will the keybindings menu ever have a way to change the f-key bindings, or are we stuck with those?
minetest.conf currently lets you do that.

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

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by paramat » Post

Apologies to Zeno, i implied that Zeno made a mistake in merging #1835, it was actually a failure of communication.
Apparently lua eased noise has a bug according to hmmmm http://irc.minetest.ru/minetest-dev/201 ... #i_4018873 00:24 to 00:41

ShadowNinja hmmmm: Does #1835 look good to you?

ShadowBot https://github.com/minetest/minetest/issues/1835 -- Add option eased to NoiseParams by SmallJoker

hmmmm ShadowNinja, no it does not.
I have other plans for NoiseParams that I simply did not get the opportunity to get accomplished

hmmmm also that patch as-is has a fairly large bug in it that'd cause memory corruption

http://irc.minetest.ru/minetest-dev/2014-11-14 01:59 to 03:03

hmmmm well whatever, just don't tell people to use it i guess
for now
i would fix it right now but i'm working on like work work for my day job

User avatar
Melkor
Member
Posts: 358
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Melkor » Post

Calinou wrote:Image
Curves from slope_test.
nice. this mean that we can make (for example) toches more detailed, i mean, diagonal meshes?

User avatar
Krock
Developer
Posts: 4577
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Krock » Post

Melkor wrote:nice. this mean that we can make (for example) toches more detailed, i mean, diagonal meshes?
Yes, the mod slope_test already contains diagonal meshes.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Melkor
Member
Posts: 358
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Melkor » Post

Krock wrote:
Melkor wrote:nice. this mean that we can make (for example) toches more detailed, i mean, diagonal meshes?
Yes, the mod slope_test already contains diagonal meshes.
Good! i forgot to ask: it will support animated textures?

User avatar
Calinou
Moderator
Posts: 3166
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Calinou » Post

Melkor wrote:Good! i forgot to ask: it will support animated textures?
No, only static textures and static models are supported.

User avatar
Inocudom
Member
Posts: 3098
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Inocudom » Post

Calinou wrote:
Melkor wrote:Good! i forgot to ask: it will support animated textures?
No, only static textures and static models are supported.
Will that ever change, or is that decision final?
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
Calinou
Moderator
Posts: 3166
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Calinou » Post

Inocudom wrote:Will that ever change, or is that decision final?
I believe RealBadAngel will add animated meshnodes (or at least animated textures on meshnodes) somewhen.

User avatar
Melkor
Member
Posts: 358
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Melkor » Post

While you guys are at it, maybe it can be possible re-enable the farmesh thing again?, it WAS an awesome feature which always added more to the game (not really but, oh well), even more, can enhance it? Like adapting itself in order to show modified terrain or buildings made by the player?
Image
For those who dont know what farmesh is, its something like a system LOD which allow to show more terrain without having to load chunks, it was removed because become incompatible with most recent mapgens
Image
Man! I Really want to have more free time to learn programming

User avatar
Calinou
Moderator
Posts: 3166
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Calinou » Post

I like the “horizon” on the 2nd screenshot. I think something as simple as this would do the job, while staying very fast (you just need one plane and the horizon never breaks, since it doesn't depend on the world seed).

I don't feel a need for farmesh, as it was slow and sometimes incorrect or misleading, even in 0.3.x.

User avatar
Melkor
Member
Posts: 358
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Melkor » Post

And that is what im talking about, i need an horizon in the game, something can draw more terrain without killing FPS, i want a sense of vastness...
ok i give up in farmesh

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Evergreen » Post

Calinou: You should probably add a note about being able to right click and drag with a stack of items.

EDIT:
I'm not actually sure when this was introduced, only include it if it was commited after 0.4.10
Back from the dead!

Sokomine
Member
Posts: 4184
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Sokomine » Post

Thanks for the thread! It's good to see how many fine features where recently added.

Some additional config changes which I'm glad where added:

Code: Select all

enable_local_map_saving = true
This is sfan5's savetolocalmap branch now included in the normal game. Just set that config variable to true, and whenever you visit a server, your client will store the data it received in worlds/server_servername_port/. One world per server will be created. To access it offline, you may need to change the world.mt file to something like this:

Code: Select all

gameid = minetest
backend = leveldb
or not - depending on how your games are called and which databases you have installed.
Your map_meta.txt for that particular world ought to include the line

Code: Select all

mg_name = singlenode
to prevent mapgen from creating new terrain and thus overwriting existing parts.

With this map saving option enabled, you do no longer have to worry about servers which disappear with your creations. If a server goes down, you still have a copy on your disk. Just don't forget to check from time to time if it's a truely working copy.

Another new config variable is

Code: Select all

enable_build_where_you_stand = true
If you add that to your minetest.conf, then you may again place nodes at your feet and eye position. This is very helpful when dealing with nodeboxes and i.e. placing handrails on a narrow staircase or working in other thight corners of a house. It also allows to pillar up more easily. It goes without saying that anyone who pillars up also cleans up again after him/hershelf and does not leave ugly pillars in the landscape. They're only a tool for reaching upper parts of your building. Btw, if you place a node at your eye level, your screen will go black. You can't see anything around you until that block's removed again or you move elsewhere.
A list of my mods can be found here.

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by ExeterDad » Post

Sokomine wrote:Some additional config changes which I'm glad where added:
CODE: SELECT ALL
enable_local_map_saving = true

This is sfan5's savetolocalmap branch now included in the normal game. Just set that config variable to true, and whenever you visit a server, your client will store the data it received in worlds/server_servername_port/. One world per server will be created. To access it offline, you may need to change the world.mt file to something like this:
CODE: SELECT ALL
gameid = minetest
backend = leveldb
Does this save the entire world, or in some kind of radius around the player?

User avatar
Calinou
Moderator
Posts: 3166
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Calinou » Post

ExeterDad wrote:Does this save the entire world, or in some kind of radius around the player?
It saves only what your client knows – that is, what it receives. So, it does not save the entire world.

Dragonop
Member
Posts: 1229
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by Dragonop » Post

@Paramat Thanks for adding mapgen v5 again to the game.

Does the textures that Esteban made for the doors are goin to be added?

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

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by paramat » Post

Image


Now you can choose the stone node for a mgv5 or mgv7 biome, it will extend down to y = -32, here's an example.

Code: Select all

minetest.register_biome({
    name = "desert",
    node_top = "default:desert_sand",
    depth_top = 1,
    node_filler = "default:desert_sand",
    depth_filler = 1,
    node_stone = "default:desert_stone",
    height_min = 1,
    height_max = 31000,
    heat_point = 100,
    humidity_point = 0,
})

Mgv7 biomes are now slightly thinner, the depth of filler is now 'depth_filler' + 'noise_filler_depth' (roughly +-2 nodes), as it should be. Filler depth now averages to chosen 'filler_depth'.

User avatar
OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

Re: [0.4.11] Meshnodes, mapgen “v5”, other recent developmen

by OmniStudent » Post

Melkor wrote:While you guys are at it, maybe it can be possible re-enable the farmesh thing again?
Wow, I didn't even know that had been done. That was beautiful!

Locked

Who is online

Users browsing this forum: No registered users and 2 guests