Help to familiarize with Minetest graphics engine
-
- Member
- Posts: 96
- Joined: Sat Oct 17, 2015 10:47
Help to familiarize with Minetest graphics engine
Hi folks,
I wanted to get familiar with Minetest graphics engine. Which engine does it use to render the geometries onto the screen?
Thanks
I wanted to get familiar with Minetest graphics engine. Which engine does it use to render the geometries onto the screen?
Thanks
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
-
- Member
- Posts: 96
- Joined: Sat Oct 17, 2015 10:47
Re: Help to familiarize with Minetest graphics engine
Thanks!
I am interested in implementing dynamic shadows in Minetest, since "BlockMen" won't share his code https://www.youtube.com/watch?v=PBMOG_dTbWo.
I have found that the new SuperTuxKart rendering engine "Antartica" is a serious improvement over standard irrlicht (offers superior lighting and dynamic shadows). However, the code for Antartica is licensed under the GPL3+ and minetest is LGPLv2.1+. Are these licenses compatible, e.g. can I legally take code from SuperTuxKart project and merge it onto Minetest code base?
I am interested in implementing dynamic shadows in Minetest, since "BlockMen" won't share his code https://www.youtube.com/watch?v=PBMOG_dTbWo.
I have found that the new SuperTuxKart rendering engine "Antartica" is a serious improvement over standard irrlicht (offers superior lighting and dynamic shadows). However, the code for Antartica is licensed under the GPL3+ and minetest is LGPLv2.1+. Are these licenses compatible, e.g. can I legally take code from SuperTuxKart project and merge it onto Minetest code base?
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Help to familiarize with Minetest graphics engine
There's this PR which needs adopting: https://github.com/minetest/minetest/pull/6839
Yes, we can't use the Antarctica engine without relicensing to GPL.
Yes, we can't use the Antarctica engine without relicensing to GPL.
-
- Member
- Posts: 96
- Joined: Sat Oct 17, 2015 10:47
Re: Help to familiarize with Minetest graphics engine
I cannot run this PR. I compiled from the 6839 branch and I get the following error:rubenwardy wrote:There's this PR which needs adopting: https://github.com/minetest/minetest/pull/6839
Code: Select all
2018-08-08 19:09:15: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2018-08-08 19:09:15: ERROR[Main]: ModError: Failed to load and run script from /home/pinto/Documents/minetest/bin/../games/minetest_game-master/mods/fireflies/init.lua:
2018-08-08 19:09:15: ERROR[Main]: ..../games/minetest_game-master/mods/fireflies/init.lua:261: attempt to call field 'get_decoration_id' (a nil value)
2018-08-08 19:09:15: ERROR[Main]: stack traceback:
2018-08-08 19:09:15: ERROR[Main]: ..../games/minetest_game-master/mods/fireflies/init.lua:261: in main chunk
2018-08-08 19:09:15: ERROR[Main]: Check debug.txt for details.
Yep, this can be confirmed in https://github.com/supertuxkart/stk-code/issues/2381. Relicensing minetest to GPLv3 is impossible, I am assuming hererubenwardy wrote:Yes, we can't use the Antarctica engine without relicensing to GPL.
Perhaps it would be better to use OGRE3D engine - it's also permissively licensed and fancier than irrlicht https://gamedev.stackexchange.com/quest ... s-irrlicht. Of course this would probably lead to a monstrous amount of work...
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Help to familiarize with Minetest graphics engine
Do git pull --rebase upstream origin master
Where upstream is the main minetest repo
Where upstream is the main minetest repo
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: Help to familiarize with Minetest graphics engine
Apparently you switched to the branch to compile (in order to not rebase) - this means that you'll also have to use minetest_game from mid-2017, which is about the 0.4.16 stable version, in order to get it working properly.crazy_baboon wrote:Code: Select all
2018-08-08 19:09:15: ERROR[Main]: ..../games/minetest_game-master/mods/fireflies/init.lua:261: attempt to call field 'get_decoration_id' (a nil value)
Actually that's possible since it's a more protective license, see License compatibility. Freeminer, a dead fork of Minetest, also did this for the entire code base.crazy_baboon wrote:Relicensing minetest to GPLv3 is impossible, I am assuming here
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Help to familiarize with Minetest graphics engine
It's a very bad idea though, as it may make making proprietary games and mods illegal
-
- Member
- Posts: 96
- Joined: Sat Oct 17, 2015 10:47
Re: Help to familiarize with Minetest graphics engine
Thanks guys!
I managed to run the shadows pull request. Here's how, for future reference:
The shadows would be far more interesting if they were actually casted by the sun, which they are not:
I managed to run the shadows pull request. Here's how, for future reference:
Code: Select all
git clone https://github.com/minetest/minetest.git
cd minetest/
git fetch origin pull/6839/head:SHADOWS
git checkout SHADOWS
cmake . -DRUN_IN_PLACE=TRUE
make -j4
cd bin
./minetest
-
- Member
- Posts: 96
- Joined: Sat Oct 17, 2015 10:47
Re: Help to familiarize with Minetest graphics engine
Simultaneously, re-licensing the code to GPLv3 would also be a very good idea, since it would allow us to incorporate some code from the STK project.rubenwardy wrote:It's a very bad idea though, as it may make making proprietary games and mods illegal
Who is online
Users browsing this forum: No registered users and 0 guests