When Minecraft Overviewer stopped being a practical way to render our 900,000+ chunk, 4GB SMP world, one of our players stepped up and volunteered to write a faster renderer.
The result is pigmap, a C++ (libpng required) renderer that rendered our 970,000 chunk Alpha world in under 30 minutes -- from scratch, compared to more than 12 hours for a render from Minecraft Overviewer.
One note: the sub-30 minute render was accomplished by using a big ramdisk to speed up reads and writes, on an 8 core, 3+GHz machine. Your netbook isn't going to be able to render a million chunk world in 30 minutes.
Many of the features of Minecraft Overviewer (nighttime / lighting renders, sign marker generation, etc) are not present in pigmap, as the purpose was to generate the tiles as quickly as possible. Small worlds could easily use pigmap to render map updates on a relatively short cycle, but those trying to render very large worlds will see the most benefit.
This was written for linux but appears to compile and run fine on Cygwin or OSX.
Wrote a quick how-to get it up and automated with incremental every hour at http://longviewtech.com/minecraftmap.php -- I've since set up my server to run every 15 minutes. Very slick
This is after I've filled in with correct user and directory, it continues to scan world data and such. After it is done the chunk cache is: 293831113 hits and 18340 misses.
On my website, the map is incomplete. as seen here: http://wafflemc.com/-m/pigmap-default.html
The random colors might be the terrain.png? I am not sure.
Help is appreciated,
Dewaffler
Rollback Post to RevisionRollBack
Steam ID(s)
phaseout
doom3pwns817 (AKA TF-Phaseout)
My server's YouTube channel http://www.youtube.com/user/WaffleSMP
Need help with your server? Feel free to PM me!
Hey anyone help a newb out looking for the best command to render a 1mil chunk map into a single PNG if possible. I use zoom.it so I don't need to spliced up.
git checkout https://github.com/equalpants/pigmap.git
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
git checkout https://github.com/equalpants/pigmap.git
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I ran into the same problem when trying to check out the files via git. Instead I just downloaded equalpants-pigmap-v0.6-0-gf3632c9.tar.gz and extracted it - you get the same result.
Although I'm now getting a problem having it recognize terrain.png; same as this post: viewtopic.php?f=10&t=139802
I've tried putting terrain.png in the directory I run pigmap in, as well as my home directory. Any ideas?
This is great! My server has only a single core, but as the world gets larger and larger, it's becoming more and more inefficient to share a gigantic png file. With nice -n 20, it spits out the render very quickly, and will definitely cut down on bandwidth usage. So thanks a lot!
I'm curious if there would be the possibility to change the orientation of the map via a commandline option, though. As I recall, there was an issue with doing so that kept Minecraft Overviewer from having that ability, but I'm wondering if pigmap could?
The result is pigmap, a C++ (libpng required) renderer that rendered our 970,000 chunk Alpha world in under 30 minutes -- from scratch, compared to more than 12 hours for a render from Minecraft Overviewer.
One note: the sub-30 minute render was accomplished by using a big ramdisk to speed up reads and writes, on an 8 core, 3+GHz machine. Your netbook isn't going to be able to render a million chunk world in 30 minutes.
Many of the features of Minecraft Overviewer (nighttime / lighting renders, sign marker generation, etc) are not present in pigmap, as the purpose was to generate the tiles as quickly as possible. Small worlds could easily use pigmap to render map updates on a relatively short cycle, but those trying to render very large worlds will see the most benefit.
This was written for linux but appears to compile and run fine on Cygwin or OSX.
Wrote a quick how-to get it up and automated with incremental every hour at http://longviewtech.com/minecraftmap.php -- I've since set up my server to run every 15 minutes. Very slick
On my website, the map is incomplete. as seen here: http://wafflemc.com/-m/pigmap-default.html
The random colors might be the terrain.png? I am not sure.
Help is appreciated,
Dewaffler
phaseout
doom3pwns817 (AKA TF-Phaseout)
My server's YouTube channel http://www.youtube.com/user/WaffleSMP
Need help with your server? Feel free to PM me!
However, it did not generate the template.html and the style.css in my output directory.
The only items in my output directory is the base.png, the 0.png, 1.png, 2,png, 3.png, the 0, 1, 2, 3 directories, and the pigmap.params.
The command I ran is:
/home/user/pigmap/pigmap -B 6 -T 1 -Z 10 -i /home/user/input/ -o /var/www/output -g /home/user/ -h 3
(I've omitted my actual user directory name).
Any idea how I can generate the web page for this?
Check out my Let's Play Series:
Set your -Z to something. (10 or 11)
--
Anyone happen to know how to make this show last player location? Or a way to have dynamic player locations even if the map itself isn't dynamic?
Loyal, stubborn and straightforward, He'd follow a friend straight to Hell.
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Check out my Let's Play Series:
I ran into the same problem when trying to check out the files via git. Instead I just downloaded equalpants-pigmap-v0.6-0-gf3632c9.tar.gz and extracted it - you get the same result.
Although I'm now getting a problem having it recognize terrain.png; same as this post: viewtopic.php?f=10&t=139802
I've tried putting terrain.png in the directory I run pigmap in, as well as my home directory. Any ideas?
This is what I'd be very interested in as well!
I'm curious if there would be the possibility to change the orientation of the map via a commandline option, though. As I recall, there was an issue with doing so that kept Minecraft Overviewer from having that ability, but I'm wondering if pigmap could?
Right now, it doesn't draw sandstone, lapis lazuli, and dyed wool blocks in map generation.
You have to compile it with cygwin but otherwise it works on windows 7.
Sorry, but what's cygwin? I've never heard of it.