gsmapper + map mod

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

by Evergreen » Thu Apr 10, 2014 18:06

I have a compiling error on linux to report. I followed the instructions on your github README file.
http://pastebin.ubuntu.com/7231830/

It happens right after it links the minetest executable.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Fri Apr 11, 2014 01:39

Calinou wrote:Server-side variables for tweaking something supposedly client-side? I'm disappointed...


Yeah... This is geared more for singleplayer mode. I am still testing this mod, after all.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
CMakeFiles/minetest.dir/game.cpp.o: In function `the_game(bool&, bool, InputHandler*, irr::IrrlichtDevice*, irr::gui::IGUIFont*, std::string, std::string, std::string, std::string, unsigned short, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, ChatBackend&, SubgameSpec const&, bool)':
g


You remember to edit CMakeLists.txt? You might need to re-run cmake, as well.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Fri Apr 11, 2014 10:33

gsmanners wrote:I am still testing this mod, after all.
LOLWAT?!
This is an engine side change, not a local one...

So it's not a mod, but a feature.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

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

by Evergreen » Fri Apr 11, 2014 18:56

Evergreen wrote:I have a compiling error on linux to report. I followed the instructions on your github README file.
http://pastebin.ubuntu.com/7231830/

It happens right after it links the minetest executable.
Sorry, I didn't add gsmapper to CMakeLists. :P
It works great now, though the colors thing is an issue. For one thing trees appear grey on the map.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Sat Apr 12, 2014 00:13

You know, the more I think about it, the more I like the idea of map variables being on the server side. It's going to be an interesting issue, especially if I ever get around to showing positions of other players and various other annotations.
 

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

Re: gsmapper

by Inocudom » Sun Apr 20, 2014 15:02

This mapping feature isn't generating too much interest these days. I think new screenshots are needed.
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: gsmapper

by gsmanners » Sun Apr 20, 2014 19:58

Hahaha... I need to get off my behind and revamp this sucker something a little more proper is what we need here. Is 0.4.10 coming soon?
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

Re: gsmapper

by hoodedice » Wed Apr 23, 2014 16:34

gsmanners wrote:Hahaha... I need to get off my behind and revamp this sucker something a little more proper is what we need here. Is 0.4.10 coming soon?


Hint: Look for a player_list on TAB commit. When that is merged, 0.4.10 might be near completion.

spoiler - I might be wrong there.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

Re: gsmapper

by RealBadAngel » Sun Apr 27, 2014 05:47

Ok, i have took a deeper look at the code:
- member variables should follow the convention m_ not d_
- using strings (node names) for comparission is terribly slow. This has to be done once on startup. Get all the registered nodes and assign them generated set of texels. See next point.
- actual textures have to be used to show the content - this will help getting rid of predefined table - this also means in the current state the implementation is compatible only with minetest_game and its node names. Reading all the registered nodes, pickin their [0] tile and processing it will solve that issue and provide all the needed data.
Also at this point you can prepare prescaled pixels for zoom. lets say divide the texture into squares 4x4, get the average color, then result into 2x2, then 1x1.
You will end with 3 possible zoom levels with PROPER colors picked from actual textures.
- When displayin a texel, height should be used. Multiply the color by some factor, to make it brighter when higher on map. This way different levels of grass/whatever wont look as flat surface.
- Minimap should always keep player in the center.
- Hotkey to enable/disable minimap have to be used, also to cycle between zoom levels. can be done with just one key: on/1x/2x/4x/off

EDIT: Out of boredom i started to code texture reading.
Last edited by RealBadAngel on Sun Apr 27, 2014 14:04, edited 2 times in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: gsmapper

by Calinou » Sun Apr 27, 2014 09:49

RealBadAngel wrote:- When displayin a texel, height should be used. Multiply the color by some factor, to make it brighter when higher on map. This way different levels of grass/whatever wont look as flat surface.


Actually, you need some kind of shading – called “Terrain Undulate” in the Minecraft mod Rei's Minimap –, not terrain depth. Terrain depth, if it is added, should be optional.
 

User avatar
GingerHunter797
Member
 
Posts: 144
Joined: Sun Oct 13, 2013 15:36
In-game: GingerHunter797

Re: gsmapper

by GingerHunter797 » Mon Apr 28, 2014 00:57

This is so awesome! :O
This should be put in the game! :D
http://i.imgur.com/gqXXUaI.png

3DS Friend Code: 2122-7173-2797
Add me as a friend! :D

Want to play a fun game? http://voxelands.com/
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: gsmapper

by gsmanners » Mon Apr 28, 2014 03:09

Actually, I've been thinking more about how to keyhole the effect onto the display, rather than just plastering it in their the way I've been doing it. What would be really cool is if I can give the actual model a 2K or 4K texture and then just show the amount it's configured to show (which would make tracking mode much simpler to optimize).

As for tracking being always on, I disagree. Most minimap mods that I've seen only using tracking in "radar" mode (or whatever they call it). This is another way the keyhole effect would be good. I could just make the keyhole whatever shape I want (round, for example).
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: gsmapper

by Jordach » Mon Apr 28, 2014 15:24

gsmanners wrote:Actually, I've been thinking more about how to keyhole the effect onto the display, rather than just plastering it in their the way I've been doing it. What would be really cool is if I can give the actual model a 2K or 4K texture and then just show the amount it's configured to show (which would make tracking mode much simpler to optimize).

As for tracking being always on, I disagree. Most minimap mods that I've seen only using tracking in "radar" mode (or whatever they call it). This is another way the keyhole effect would be good. I could just make the keyhole whatever shape I want (round, for example).

Basically mean a texture with say solid black has a map applied, while alpha is ignored, right?
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: gsmapper

by gsmanners » Tue Apr 29, 2014 20:34

I'm already making textures. What I'd like to do is reduce the number of textures I'm making, because that's the source of a lot of the issues I'm having with this. If you can think of a better way to do that, then I'm all ears.
 

User avatar
LuxAtheris
Member
 
Posts: 169
Joined: Fri Oct 25, 2013 00:54

Re: gsmapper

by LuxAtheris » Tue May 20, 2014 02:24

May I ask if how can this be installed to your game?
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: gsmapper

by gsmanners » Tue May 20, 2014 20:29

Well, there is this: https://github.com/gsmanners/gsmapper

But some people have a problem with using the "patch" command. I guess they're allergic to CLI or something.
 

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

Re: gsmapper

by Inocudom » Tue May 20, 2014 21:19

gsmanners wrote:Well, there is this: https://github.com/gsmanners/gsmapper

But some people have a problem with using the "patch" command. I guess they're allergic to CLI or something.

So, gsmapper is on GitHub now? The very thought is like sweet chocolate in my mouth that gets sweeter as it passes through my body. However, if nobody includes this patch in a future Windows build of Minetest (or Freeminer,) then testing of it shall indeed be impossible for many Windows users.
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

Re: gsmapper

by gsmanners » Thu May 22, 2014 22:31

Yeah. Windows sucks. It's a wonder to me that anyone still uses it.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: gsmapper

by philipbenr » Thu May 22, 2014 22:45

Windows bought out Nokia -.- That will keep it going for a while. It is dying in desktops and laptops. Only in schools and mobile is Windows really popular anymore...
 

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

Re: gsmapper

by Inocudom » Fri May 23, 2014 01:42

gsmanners wrote:Yeah. Windows sucks. It's a wonder to me that anyone still uses it.

I have to use Windows 7 because:
_____Playing The Sims 2 and The Sims 3 could prove problematic (if not impossible) on anything like Linux or Ubuntu.
_____I fear that my videos and pictures will be unreadable on anything like Linux or Ubuntu (because they were burned in Windows 7.)
_____I don't want my computer to be destroyed, because there is absolutely no guarantee that I will be able to get another one throughout the width and breadth of eternity.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: gsmapper

by philipbenr » Fri May 23, 2014 03:53

- That is true, but then again, I don't really enjoy games like that...
- I shouldn't think that should be a problem. What format did you burn them in?
- Linux doesn't destroy computers. Windows does. Still, I understand your cautiousness.
 

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

Re: gsmapper

by Inocudom » Fri May 23, 2014 05:35

philipbenr wrote:- That is true, but then again, I don't really enjoy games like that...
- I shouldn't think that should be a problem. What format did you burn them in?
- Linux doesn't destroy computers. Windows does. Still, I understand your cautiousness.

They are on DVD data disks, the videos and images (.jpegs and .avi files they are.)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: gsmapper

by sfan5 » Fri May 23, 2014 12:41

Inocudom wrote:
philipbenr wrote:- I shouldn't think that should be a problem. What format did you burn them in?

They are on DVD data disks, the videos and images (.jpegs and .avi files they are.)

You can read .jpg an .avi files with many programs on Linux, what you've got yourself into if you can't read the pictures/videos with another program/OS is Vendor lock-in
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

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

Re: gsmapper

by Inocudom » Sat May 24, 2014 14:25

My graphics card is from NVIDIA, so it won't work with anything based on Linux, I heard.

How is progress on gsmapper lately?
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: gsmapper

by Jordach » Sat May 24, 2014 15:41

Inocudom wrote:My graphics card is from NVIDIA, so it won't work with anything based on Linux, I heard.
UMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM.

Anything Ubuntu based ran perfect with my aging nVidia card (GeForce 6200), which ran both MT and MC fine.

You just need the additional drivers, which is easy enough to do.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

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

Re: gsmapper

by JPRuehmann » Sat May 24, 2014 15:49

Hello
Sorry for my Harsh words, but where do you get such Bullshit.
There are NVIDIA drivers, both Free and Closed Source
There are no such Files that are not Viewable in Linux.
The Risc of damaging your PC via Malware is much higher in Windows than in Linux
There are much more Software for Linux Than for Windows.
Most of Windows Software Runs under Linux Via Wine to and if that is not working VirtualBox is helping.

Dont understand me wrong, If you like Windows that´s fine.
But dont tell such dumb things as Hardware is not working or Linux is Damaging Hardware.

Please rethink you Informathion Sources and use more reliable ones.
Have fun,
JPR
 

User avatar
stormchaser3000
Member
 
Posts: 407
Joined: Sun Oct 06, 2013 21:02

Re: gsmapper

by stormchaser3000 » Sat May 24, 2014 16:19

JPRuehmann wrote:Hello
Sorry for my Harsh words, but where do you get such Bullshit.
There are NVIDIA drivers, both Free and Closed Source
There are no such Files that are not Viewable in Linux.
The Risc of damaging your PC via Malware is much higher in Windows than in Linux
There are much more Software for Linux Than for Windows.
Most of Windows Software Runs under Linux Via Wine to and if that is not working VirtualBox is helping.

Dont understand me wrong, If you like Windows that´s fine.
But dont tell such dumb things as Hardware is not working or Linux is Damaging Hardware.

Please rethink you Informathion Sources and use more reliable ones.
Have fun,
JPR


but it is true there is a lock on certain proprietary media that doesn't allow users that use an open source os to play dvds and other media. sadly it takes a lot of work getting the locked media to run on linux if even posible. for instance i tried to run a redbox dvd on my computer which had ubuntu installed at the time. the dvd did not run because the dvd was proprietary and was locked to open source dvd programs.
 

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

Re: gsmapper

by JPRuehmann » Sat May 24, 2014 16:44

Thats wrong I am using my Kubuntu since years for viewig DVD, Bluray, and everyting else (Audio and Video)
The only thing you have to do for DVD is installing libdecss2 and optional libdvdnav.
For BluRay there is makemkv, not as comfortable as an standalone BD Player but works.
MPlayer and Videolan will play BD to but only unencrypted ones.
 

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

Re: gsmapper

by Inocudom » Sat May 24, 2014 20:50

Topic is starting to get off track...

It looks like the last time gsmapper was worked on was two months ago. Does anyone actually test this program?
 

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

Re: gsmapper

by JPRuehmann » Sun May 25, 2014 05:05

You are right. Sorry.
I would like to try it out, but only if it is part of the main Distribution.
Till then I hope it will not be forgotten.
Till then,
JPR
 

PreviousNext

Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 3 guests

cron