Hi,
I try to load a vrmesh with the fallowing code:
VUtils::MeshFile* pMesh1 = VUtils::newDefaultMeshFile();
pMesh1->init("C:\\Program Files\\Chaos Group\\V-Ray\\3dsmax 2015 for x64\\docs\\meshes\\armadillo.vrmesh");
int numvoxels = pMesh1->getNumVoxels();
VUtils::Box b = pMesh1->getVoxelBBox(0);
VR::MeshVoxel *voxel = pMesh1->getVoxel(0);
I do get the numvoxels and VoxelBBox, but in the next line 3ds max crashes on all vrmesh files. With Alembic file it works fine and the voxel holds the data...
is there some other step necessary?
thanks,
Stefan
I try to load a vrmesh with the fallowing code:
VUtils::MeshFile* pMesh1 = VUtils::newDefaultMeshFile();
pMesh1->init("C:\\Program Files\\Chaos Group\\V-Ray\\3dsmax 2015 for x64\\docs\\meshes\\armadillo.vrmesh");
int numvoxels = pMesh1->getNumVoxels();
VUtils::Box b = pMesh1->getVoxelBBox(0);
VR::MeshVoxel *voxel = pMesh1->getVoxel(0);
I do get the numvoxels and VoxelBBox, but in the next line 3ds max crashes on all vrmesh files. With Alembic file it works fine and the voxel holds the data...
is there some other step necessary?
thanks,
Stefan
Comment