Search found 6 matches

by juhdanad
Mon Jan 29, 2018 19:46
Forum: Partly official engine development
Topic: Variable length param2 - concept of a new map format
Replies: 1
Views: 667

Variable length param2 - concept of a new map format

One annoying thing about param2 is that it is only good for one thing - the level of a node, its orientation, or color. In some cases more of these are required (like colored stairs), in other cases param2 is not used at all (many regular nodes). Here I propose a new format, where the mod maker can ...
by juhdanad
Sun Jan 28, 2018 10:33
Forum: Modding Discussion
Topic: Colorize a node
Replies: 18
Views: 1576

Re: Colorize a node

Hi! I implemented hardware colorization. I posted a reply to your issue, I hope that it will be helpful. Personally I also think that an extra parameter for nodes is a good idea. However, that would allow 256 colors by itself, so palettes would be still required.
by juhdanad
Mon Jun 26, 2017 09:47
Forum: General Discussion
Topic: SpecularColor.set a dumb question
Replies: 9
Views: 643

Re: SpecularColor.set a dumb question

Minetest nodes do not have material options. That would require a new, very complex rendering engine (complex, because the programmer has no idea what will you build). Shininess would require iterating over all light sources. But in Minetest thousands of light sources can occur. Ambient color is imp...
by juhdanad
Sun Feb 05, 2017 22:56
Forum: Feature Discussion
Topic: Leave decay without ABM
Replies: 9
Views: 998

Re: Leave decay without ABM

You should check if a tree node was placed nearly in 'on_timer' too.
But great idea indeed!
by juhdanad
Sun Feb 05, 2017 22:44
Forum: General Discussion
Topic: Big Thoughts, Dangerous Thoughts
Replies: 9
Views: 940

Re: Big Thoughts, Dangerous Thoughts

I think I am good at using and combining well-known programming algorithms (like Dijkstra's algorithm). But languages without strict types (like Lua) can confuse me.