vengi icon indicating copy to clipboard operation
vengi copied to clipboard

CUBZH: add support for b64 files transforms and references

Open mgerhardy opened this issue 1 year ago • 1 comments

b64 files are base64 encoded maps for cubzh - they are basically a scene description for 3zh files

the transforms are not applied correctly.

if a 3zh files is already loaded, we should only create a reference, and not load it another time.

See https://github.com/vengi-voxel/vengi/blob/master/src/modules/voxelformat/private/cubzh/CubzhB64Format.cpp

mgerhardy avatar Dec 29 '23 21:12 mgerhardy

it could also be related to the merging of the nodes in the 3zh file - it looks like the pivot is not handled correctly here.

scenegraph::SceneGraph::MergedVolumePalette merged = modelScene.merge();

SceneGraph::merge()

Screenshot 2023-12-30 at 22 45 33

mgerhardy avatar Dec 30 '23 21:12 mgerhardy