Page 1 of 1
[Mod] Smooth nodes [idea] [smooth]

Posted:
Thu Sep 27, 2012 01:05
by Bas080
Build in a world with more details, nodes transition smoothly. WIP Downloadhttps://github.com/bas080/smoothFeatures- The basic code is written still needs descent node rendering so it works for differing default nodes.
LicenseWTFPL for LUA and PNG files
Screenshot
Notice the stone with dirt and the tree and wood with grass. Still the code needs serious reorganization.

Posted:
Thu Sep 27, 2012 01:11
by cornernote
Finally, the author has been located! =)
If only you knew how many times I searched the forums trying to find where this came from. I asked others and nobody had even heard about it.

Posted:
Thu Sep 27, 2012 03:04
by leo_rockway
I like it!
The stone to dirt texture is kind of light compared to the default stone... it kind of gave me some OCD, haha.
But I really like this idea.

Posted:
Thu Sep 27, 2012 04:02
by Mito551
it doesn't work for me... no crashing, everything just as it was.

Posted:
Wed Mar 20, 2013 12:49
by MirceaKitsune
I don't know if this is exactly what I think it is, but if it is that's really awesome! The screenshot in the first post is gone however... are there any other images of this so we can see it?

Posted:
Mon Jul 29, 2013 22:44
by Mossmanikin
Works fine for me and love the idea.


Posted:
Tue Jul 30, 2013 15:15
by Bas080
This mod hasn't been worked on since i started modding. Looking at the code i would do it completely different now. Atm it requires textures for all smooth nodes. I would now use nodeboxes and a texture which can be "overlayed"(placed in-front of node with param2). What do you guys think is the best way to do this?

Posted:
Thu Aug 15, 2013 17:34
by Mossmanikin
Bas080 wrote:Looking at the code i would do it completely different now. Atm it requires textures for all smooth nodes. I would now use nodeboxes and a texture which can be "overlayed"(placed in-front of node with param2). What do you guys think is the best way to do this?
Inspired by your mod and the swamp mod I've been experimenting a bit with smooth transitions.
I've looked at the code of several mods and searched the dev wiki but haven't been able to find a sane way to do this for more than a couple of nodes. By that I mean: what I've done works, but it's way too slow (I created a ton of new nodes).
Could you give a small example, in pseudo-code, of how you'd do this with param2, now you're more experienced?

Posted:
Thu Aug 15, 2013 17:39
by Evergreen
Someone needs to make some kind of connected textures api, so things like this could be done more quickly, and less hacky.

Posted:
Tue Apr 08, 2014 11:37
by JPRuehmann
Hello
I´d like try it out, but get the following error.
23:07:45: ERROR[main]: ========== ERROR FROM LUA ===========
23:07:45: ERROR[main]: Failed to load and run script from
23:07:45: ERROR[main]: /home/ruehmann/.minetest/mods/smooth/init.lua:
23:07:45: ERROR[main]: /home/ruehmann/.minetest/mods/smooth/init.lua:76: attempt to index global 'default' (a nil value)
23:07:45: ERROR[main]: stack traceback:
23:07:45: ERROR[main]: /home/ruehmann/.minetest/mods/smooth/init.lua:76: in main chunk
23:07:45: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:07:45: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/smooth/init.lua
23:07:45: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/smooth/init.lua
please get it work.
Thanks,
JPR

Posted:
Tue Apr 08, 2014 12:13
by Evergreen
JPRuehmann wrote:Hello
I´d like try it out, but get the following error.
23:07:45: ERROR[main]: ========== ERROR FROM LUA ===========
23:07:45: ERROR[main]: Failed to load and run script from
23:07:45: ERROR[main]: /home/ruehmann/.minetest/mods/smooth/init.lua:
23:07:45: ERROR[main]: /home/ruehmann/.minetest/mods/smooth/init.lua:76: attempt to index global 'default' (a nil value)
23:07:45: ERROR[main]: stack traceback:
23:07:45: ERROR[main]: /home/ruehmann/.minetest/mods/smooth/init.lua:76: in main chunk
23:07:45: ERROR[main]: ======= END OF ERROR FROM LUA ========
23:07:45: ERROR[main]: Server: Failed to load and run /home/ruehmann/.minetest/mods/smooth/init.lua
23:07:45: ERROR[main]: ModError: ModError: Failed to load and run /home/ruehmann/.minetest/mods/smooth/init.lua
please get it work.
Thanks,
JPR
Make a text file called depends.txt and put the word "default" in it.

Posted:
Thu Apr 10, 2014 11:20
by JPRuehmann
That helped.
Thanks,
JPR