madjin / Cryptovoxels-snapshots

2 stars 0 forks source link

Incorrect .vox import rotations / offset #2

Open madjin opened 1 year ago

madjin commented 1 year ago

Goals

Get the Blender version to import the vox models aligned to look exactly how they are in Voxels

Testing parcel 2074: https://www.voxels.com/parcels/2074

Voxels client brave_C3uGr1UqLB

image

Blender version image

Steps

Centering the base glb

How to Test

image

This is how it looks in Blender after running the script, you can see some are mirrored and rotated the wrong way. The goal is to get the blender import to look as close as possible to how it looks in-world, as seen on the image at top of this issue.

image

madjin commented 1 year ago

Wondering if this is the key to solving the problem: image

The vox models were converted to svox then glTF using https://github.com/webspace-sdk/svox-tools, could try doing this all with Magicavoxel blender plugin to import VOX directly though: https://github.com/RichysHub/MagicaVoxel-VOX-importer

madjin commented 1 year ago

Tip from bnolan: Try nudge all the voxels in the voxel field (pre meshing) +2 units in each dimension.