Page 1 of 1

texture problem when converting OBJ to voxels

Posted: 03 Nov 2016, 14:03
by Shelly_Marsh
I'm having a problem when i convert some obj files to voxels the textures get messed up like this
Screen Shot 2016-11-03 at 13.47.35-min.png
Screen Shot 2016-11-03 at 14.33.13-min.png
here are the files i used
PC Computer - The Simpsons Hit & Run - Milhouse.zip
(32.42 KiB) Downloaded 417 times
and also here is a link to the site i got the model from https://www.models-resource.com/pc_comp ... del/12500/

Re: texture problem when converting OBJ to voxels

Posted: 03 Nov 2016, 19:02
by Sphax
Your issue is probably due to your model containing only one mesh using multiple textures. Cubik does not support that (yet).

Try to edit your model and assign 1 texture per mesh.

Re: texture problem when converting OBJ to voxels

Posted: 04 Nov 2016, 07:29
by AndrealVox
I seem to be having the same issue. not sure what's going on lol
imported mesh
Untitled.jpg
after voxel conversion
Untitled-1.jpg
here is a zip with the files to check, thanks in advance.
boxling.zip
(160.86 KiB) Downloaded 400 times

Re: texture problem when converting OBJ to voxels

Posted: 04 Nov 2016, 09:15
by AndrealVox
Problem Solved.
Untitled.jpg

Re: texture problem when converting OBJ to voxels

Posted: 04 Nov 2016, 15:31
by Shelly_Marsh
AndrealVox wrote: 04 Nov 2016, 09:15 Problem Solved.
Untitled.jpg
how did you fix it

Re: texture problem when converting OBJ to voxels

Posted: 04 Nov 2016, 16:33
by Sphax
Shelly_Marsh wrote: 04 Nov 2016, 15:31
AndrealVox wrote: 04 Nov 2016, 09:15 Problem Solved.
Untitled.jpg
how did you fix it
He modified his model to use only one texture per mesh. A model can have multiple meshes and a mesh can have multiple textures. Cubik supports multiple meshes per model but supports only one texture per mesh (for the moment)

Re: texture problem when converting OBJ to voxels

Posted: 05 Nov 2016, 19:09
by AndrealVox
Sphax wrote: 04 Nov 2016, 16:33
Shelly_Marsh wrote: 04 Nov 2016, 15:31
AndrealVox wrote: 04 Nov 2016, 09:15 Problem Solved.
Untitled.jpg
how did you fix it
He modified his model to use only one texture per mesh. A model can have multiple meshes and a mesh can have multiple textures. Cubik supports multiple meshes per model but supports only one texture per mesh (for the moment)
Yes, I separated my model into multiple meshes with a texture for each. This for example was split into 4 parts: Eyes, Horns, Teeth & Skin. Which was then easy to apply 4 different textures to the parts. It was a bit of a process but it's what must be done for now sadly.