ephtracy / voxel-model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add editor settings to .vox file format

StefanoCecere opened this issue · comments

the current .vox file format doesn't save the editor, especially the Render, settings

i suggest to create a new chunk 'EDTR' and save all editor's settings as a JSON (eventually zipped, so to freely add parameters to be saved without worrying about file format and retrocompatibility

-------------------------------------------------------------------------------
# Bytes  | Type       | Value
-------------------------------------------------------------------------------
1x4      | char       | chunk id
4        | int        | num bytes of chunk content (N)
N        | string         | chunk content (JSON)
-------------------------------------------------------------------------------

any idea about saving rendering settings and camera positions withing the .vox file?

I think VOX file should contain only model parameters, putting settings of editor or scene is not a model thing. But another format created especially or that would be nice.

well, Magika just saves .vox and if you are ok to loose all rendering settings and camera positions everytime you close a scene that's enough. i agree.. anyway i opened this issue 2 years ago and there isn't much activity discussing these topics.. :(