udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

Cave mode is completely transparent #218

Closed amgraham closed 12 years ago

amgraham commented 12 years ago

I'm using version 3110589 (built Dec 24th, 2011) and trying to generate a cave map for several different worlds. Everytime I use the '-c' option my images are completely transparent. I have tried this on a dozen different worlds but the output remains the same.

This is an example of the command I've used:

./c10t -w world/ -o output.png -c

I've tried the same thing with '--cave-mode', but to no avail.

What am I doing wrong? I have the sneaking suspicion that it's me, as I can't be the only person to have this problem. ( I searched for help but nothing relevant came up).

uap-universe commented 12 years ago

That is interesting :D I complain about too many cave parts beeing rendered (those that aren't visited yet are displayed in my renderings, too) and you state that no parts are rendered.

./c10t -w cavetest/ -o /var/www/vhosts/minecraft/htdocs/debug.png -c

Works with a fresh Minecraft 1.0 world as with my old Minecraft beta world.

I didn't have the time yet to figure out what the cave mode is doing, but maybe you need to visit a cave and then the cave of the whole chunk is rendered, if you have visited the caves and they are still not rendered, I have no idea what has happend. Maybe @udoprog can tell more about this - I can just guess.

udoprog commented 12 years ago

Cave mode renders any caves regardless, the algorithm is something like scanning from top to bottom until a block has been enncountered, then render the floors of all subsequent blocks.

Edit: You should not need to explore caves in order to render them.

On Fri, Dec 30, 2011 at 12:39 PM, UniversE < reply@reply.github.com

wrote:

That is interesting :D I complain about too many cave parts beeing rendered (those that aren't visited yet are displayed in my renderings, too) and you state that no parts are rendered.

./c10t -w cavetest/ -o /var/www/vhosts/minecraft/htdocs/debug.png -c

Works with a fresh Minecraft 1.0 world as with my old Minecraft beta world.

I didn't have the time yet to figure out what the cave mode is doing, but maybe you need to visit a cave and then the cave of the whole chunk is rendered, @udoprog can tell more about this - I can just guess.


Reply to this email directly or view it on GitHub: https://github.com/udoprog/c10t/issues/218#issuecomment-3312602

amgraham commented 12 years ago

I have never visited the caves, honestly I didn't think it would matter, as once a chunk is loaded, all aspects of it should be loaded.

I can post the output of --debug if you'd like. Or even try an old build to see if I ever could render a cave. I would have no idea how to use an old build of c10t as I've never built software. Sorry.

I do believe that the output of --debug is quite large, should I post it here? Or a pastbin (or something similar) service.

uap-universe commented 12 years ago

Can you please upload some reference data? The world (cavetest) and the outputimage would be nice. I can't reproduce this issue but maybe I can see something in there (at least I hope so^^).

amgraham commented 12 years ago

In putting together the requested care package, I figured trying the latest stable build was worth a shot, and now I can render cave mode (and height maps; which I assumed was related to whatever was wrong with my cave-mode renders) perfectly fine.

I can still put something together if you'd like to look into it further, however I consider it closed.

Thank you.