[Mod] Smooth nodes [idea] [smooth]

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

[Mod] Smooth nodes [idea] [smooth]

by Bas080 » Thu Sep 27, 2012 01:05

Build in a world with more details, nodes transition smoothly. WIP

Download
https://github.com/bas080/smooth

Features
- The basic code is written still needs descent node rendering so it works for differing default nodes.

License
WTFPL for LUA and PNG files

Screenshot
Image
Notice the stone with dirt and the tree and wood with grass. Still the code needs serious reorganization.
Last edited by Bas080 on Thu Sep 27, 2012 12:19, edited 1 time in total.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Thu Sep 27, 2012 01:11

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.
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Thu Sep 27, 2012 03:04

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.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Thu Sep 27, 2012 04:02

it doesn't work for me... no crashing, everything just as it was.
 

User avatar
MirceaKitsune
Member
 
Posts: 809
Joined: Sat May 21, 2011 22:31
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Wed Mar 20, 2013 12:49

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?
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Mon Jul 29, 2013 22:44

Works fine for me and love the idea.
Image

Noob 4 life!
My stuff
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Tue Jul 30, 2013 15:15

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?
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Thu Aug 15, 2013 17:34

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?

Noob 4 life!
My stuff
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu Aug 15, 2013 17:39

Someone needs to make some kind of connected textures api, so things like this could be done more quickly, and less hacky.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

by JPRuehmann » Tue Apr 08, 2014 11:37

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
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Apr 08, 2014 12:13

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.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

by JPRuehmann » Thu Apr 10, 2014 11:20

That helped.
Thanks,
JPR
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 12 guests

cron