scayze / MagicaVoxel-Importer

An Plugin for the GodotEngine to import MagicaVoxel's .vox format as meshes.
MIT License
55 stars 10 forks source link

Suggestion: Greedy Voxel Meshing #8

Open NoodleSushi opened 6 years ago

NoodleSushi commented 6 years ago

It could help speed up game-play performance in Godot capture http://www.gedge.ca/dev/2014/08/17/greedy-voxel-meshing https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/

scayze commented 6 years ago

that looks really neat. im gonna give it a shot this weekend. thanks

qbradq commented 5 years ago

@scayze Did you ever mess with this? I was thinking of doing a PR for this.

scayze commented 5 years ago

I did @qbradq :) though it's still a bunch away from being finished. I'm not finding a lot of time for programming atm.

A PR would be very welcome!

If you decide to work on it, I imagined it to be an option in the import tab, as the old way would still come in handy since its faster for prototyping when users have to frequently Reimport assets.

qbradq commented 5 years ago

@scayze I have been looking into this. When I did the POC for .gox file format it toyed with it a bit. Did you know that others have already continued your work? This plugin is based on someone else's fork of this repo. The code has been cleaned up a lot and it fixed the XY centering issues I had with this version.

I think it would be best to use that code as a starting point. I'm not sure if you want to try to upstream that or what.

Thanks so much for this great work and the generous license you gave it under! It has enabled a lot of people to do cool things with MagicaVoxel and Godot.

qbradq commented 5 years ago

I have submitted a PR to clonedeath's repo here: https://github.com/CloneDeath/MagicaVoxel-Importer-with-Extensions/pull/1

Let me know if you would like it upstreamed.