Closed Finchmc closed 2 months ago
Thank you very much for your report.
I have a few questions:
vengi-voxconvert.exe --version
)obj
file has the mtl
file with the texture properly referenced in? (map_Kd
in the mtl
file)ply
and obj/mtl/png
files to this issue as a zip file? (looks like the ply has some special face configuration and I need to fix something here)_./vengi-voxconvert -set voxformat_scale 2 -set palette /path/to/palette.png -set voxformatcreatepalette false --input mesh.obj --output voxels.vox
The left image is the vox image obtained by other algorithms, the middle is the obj file, and the right image is the vox image obtained by your algorithm (vengi-voxconvert.exe). I would like to ask if there is any relevant parameter adjustment in your code that can realize the above idea.
Finally I sent you the zip package of the file for your reference
house_fine.zip Thank you again for your excellent work and I look forward to answering your queries, much appreciated!!!
There is no texture included in the zip file - the mtl file references a file called house_fine_elbado.png
I also had to set the scale from 2 to 25 to make the geometry visible
The work you do is very interesting and I can't wait to start trying it out, but I'm having a bit of a problem. Looking forward to your answers! I refer to this statement from https://vengi-voxel.github.io/vengi/voxconvert/Examples/#voxelize-a-obj-gltf-ply-fbx-stl-or-any-supported-mesh-file : Voxelize a obj, gltf, ply, fbx, stl or any supported mesh file : _./vengi-voxconvert -set voxformat_scale 2 -set palette /path/to/palette.png -set voxformat_createpalette false --input mesh.obj --output voxels.vox Here are my local commands (win): vengi-voxconvert.exe -set voxformat_scale 3 -set palette D:/project/3d_color/bbb.png -set voxformat_createpalette false --input D:/project/3d_color/baby_dragon.obj --output D:/project/3d_color/baby_dragon_2.vox_
But I can't get the vox file with the colours as per the help manual's instructions. The first image is the effect I wanted to get
, while the second image is the all-black vox file generated by typing the above command.
![no_color_dragon](https://github.com/vengi-voxel/vengi/assets/166574443/56a86aa0-46c9-4196-938b-25bf407fd04f)
By the way, when I want to use a ply file to voxelize a vox file.![robot](https://github.com/vengi-voxel/vengi/assets/166574443/0627c865-b569-4577-9ad0-13e2d6ecb5d1)
vengi-voxconvert -set voxformat_scale 200 --input D:/project/3d_color/robot.ply --output D:/project/3d_color/robot1.vox Failed to load model file D:/project/3d_color/robot.ply Scene graph doesn't contain models.
Thank you again for your excellent work and I look forward to answering your queries, much appreciated!