Voxelmetric / Voxelmetric1

Legacy Voxelmetric framework
Other
251 stars 96 forks source link

Add a voxel file importer for blocks #38

Closed Penple closed 9 years ago

Penple commented 9 years ago

Allow for .vox or .qb blocks

Dalez commented 9 years ago

You can export this to a .obj and import it into unity. I don't think Unity supports .vox (as far as I am aware).

Hopefully with an update that Alex is pushing soon, you don't need to use another program to change the submeshes name, so you should just be able to use a .obj file.

Penple commented 9 years ago

I know but a built in importer would improve productivity, and think about it, it's a voxel framework, we have everything we need, it just has to be smaller.

HeadClot commented 9 years ago

I plan on getting Qubicle 2 at the end of the month so this would be appreciated :)

Ecu commented 9 years ago

Qubicle is a great tool. The *.qb format is documented here.

However, I can see some issues. Simply, the voxel files would require optimized mesh conversion each load (or caching it, which means exporting some form of mesh optimized mesh file). If you're caching an optimized mesh, why not just import an object file in the first place?

alex-irt commented 9 years ago

Like @Ecu said, the people that make voxel editor programs will be optimizing mesh export for their stuff much better than we can hope to pull off in Voxelmetric so I don't see a good reason too build a voxel file to mesh conversion.

Ecu commented 9 years ago

I will say, it would be interesting to be able to do a Voxelmetric world -> object file export though (preferably via code, so it could be done in-game). This could be very useful in multiple ways.

Some examples:

alex-irt commented 9 years ago

@Ecu Definitely, Voxelmetric world data converting to and from open voxel formats would be a useful feature.

barraudf commented 9 years ago

For those interested in importing MagicaVoxel (.vox) files, you can check this : https://github.com/darkfall/MagicaVoxelUnity

HeadClot commented 9 years ago

Thank you for the heads up @barraudf