Hi
When using ConvertToVDB to convert a vox file from MagicaVoxel 0.93 I get the following log error :
Code:
ConvertToVDB.exe -i adobe.vox -o adobe.vdb
Identified input as Magica Voxel file
[Log] MV_VoxelModel :: Chunk : MAIN : 0 1432
[Log] MV_VoxelModel :: Chunk : SIZE : 12 0
[Log] MV_VoxelModel :: Chunk : XYZI : 360 0
[Log] MV_VoxelModel :: Chunk : RGBA : 1024 0
[Log] MV_VoxelModel :: Model : 5 5 5 : 89
Failed to create new empty volume
Code:
[00:50:23, Info ]: Creating VoxelDatabase from 'adobe.vdb'
[00:50:23, Info ]: Attempting to create 'adobe.vdb'
[00:50:23, Info ]: Successfully created'adobe.vdb'
[00:50:23, Debug ]: The maximum number of uncompresed blocks has been set to 64, which is 8388608 bytes
[00:50:23, Error ]: Cannot compute the log of zero.
[00:50:23, Error ]: Caught 'invalid_argument' at C interface. Message reads: "Cannot compute the log of zero."
Which give me the following error message inside Unity3D :
Code:
CubiquityException: An exception has occured inside the Cubiquity native code library.
Error code 'CU_SQLITE_ERROR' with message "unable to open database file".
Please see the log file 'Cubiquity.log' for more details.
Cubiquity.Impl.CubiquityDLL.Validate (Int32 returnCode) (at Assets/Cubiquity/Scripts/Impl/CubiquityDLL.cs:51)
Cubiquity.Impl.CubiquityDLL.NewColoredCubesVolumeFromVDB (System.String datasetName, UInt32 baseNodeSize) (at Assets/Cubiquity/Scripts/Impl/CubiquityDLL.cs:117)
ColoredCubesVolumeData.InitializeExistingCubiquityVolume () (at Assets/Cubiquity/Scripts/ColoredCubesVolumeData.cs:92)
VolumeData.CreateFromVoxelDatabase[ColoredCubesVolumeData] (System.String relativePathToVoxelDatabase) (at Assets/Cubiquity/Scripts/VolumeData.cs:126)
Cubiquity.VolumeDataAsset.CreateFromVoxelDatabase[ColoredCubesVolumeData] (System.String relativePathToVoxelDatabase) (at Assets/Cubiquity/Editor/VolumeDataAsset.cs:13)
Cubiquity.MainMenuEntries.CreateColoredCubesVolumeDataAssetFromVoxelDatabase () (at Assets/Cubiquity/Editor/MainMenuEntries.cs:96)
When I try to convert a brand new vox file, your converter works without any issues but Creating from voxel database is still impossible :
Code:
Identified input as Magica Voxel file
[Log] MV_VoxelModel :: Chunk : MAIN : 0 9940
[Log] MV_VoxelModel :: Chunk : SIZE : 12 0
[Log] MV_VoxelModel :: Chunk : XYZI : 9904 0
[Log] MV_VoxelModel :: Model : 45 45 45 : 2475
Code:
[19:03:15, Info ]: Creating VoxelDatabase from 'test.vdb'
[19:03:15, Info ]: Attempting to create 'test.vdb'
[19:03:15, Info ]: Successfully created'test.vdb'
[19:03:15, Debug ]: The maximum number of uncompresed blocks has been set to 64, which is 8388608 bytes
[19:03:15, Debug ]: Created new colored cubes volume in slot 0
[19:03:15, Info ]: Resizing temp buffer to 32768bytes. This should only happen the first time the MinizBlockCompressor is used
[19:03:15, Debug ]: In cuDeleteColoredCubesVolume() - deleting volume handle '0'
I wasn't able to go any further but if I may give you a feedback I think it would be wise to continue working with existing editors and focus on optimizations and features. It would be like trying to develop Photoshop inside a 2D game engine, nice but not necessary I think.
I'm much more interested in your Colored Cubes Volume Data than terrain volume and hope to display a fairly large amount of them. So every helper to manipulate, animate and transforms cubes are welcomes

----
i7-3770 @ 3.40Ghz | 16 Go DDR3 | GTX 670 2 Go
Windows 8.1 x64
http://www.arm42.com