guillaumechereau / goxel

Goxel: Free and Open Source 3D Voxel Editor
GNU General Public License v3.0
2.84k stars 226 forks source link

How to export with color? #307

Closed Bits360 closed 11 months ago

Bits360 commented 1 year ago

Unlike magicavoxel, no texture or color palette is exported for obj or any other format. Is this tool effectively useless, due to automatically losing color data on export? Or am i missing something?

guillaumechereau commented 1 year ago

Normally if you export in glTF the colors should be saved as a texture, or if you select the option as vertex color data.

Bits360 commented 1 year ago

Im only getting mesh data (.gltf/.obj/.whatever) on v0.11.0, no texture, or any mention of one on the console.

Bits360 commented 1 year ago

I have found that its a texture in a mesh file, which i didnt even know existed until now. Please consider adding support for separate texture export as .png, as some engines do not support importing png in mesh.

guillaumechereau commented 11 months ago

Yes this is currently not supported for the obj export. Maybe I'll add it, but if you use gltf it should work doesn't it?

Bits360 commented 11 months ago

Its fixed now, but this question was asked in 2022, since vox import was fixed since, i am probably going to transition to this, instead of dealing with magicavoxel much longer.