Page 1 of 1

problem reading texture

Posted: Fri Mar 31, 2017 12:38 pm
by geolux
Hi Guy
Hi Guys
sometime, some .ply files with jpg texture not are read correctly
In Other words in CC the model is without texture. Why?

Re: problem reading texture

Posted: Fri Mar 31, 2017 1:34 pm
by OMG20Centz
Hi Geolux,

You might want to give us a link towards a file that can't be correctly loaded.
In my experience, i've had troubles to load some files on Windows if there was something weird in the path to tifle (éèà, a space, ...).
If you haven't, you can try to put your file at C:\ and rename it test.ply

Re: problem reading texture

Posted: Fri Mar 31, 2017 2:34 pm
by geolux
Thank you OMG20Centz,
nothing of it. Nothing special characters.
Try this link
https://we.tl/WrqDQGAErG

Re: problem reading texture

Posted: Fri Mar 31, 2017 3:33 pm
by daniel
Yes the support for textures for PLY files is not something that was specified from the start. Therefore textures are described in the 'comments' section of the file! And the file is always external (the 'comments' section only contains its name).

In the zip file you sent, there's no image file next to the PLY files... If you look at the beginning of the 'mesh' file, you'll see that it needs the 'Altare_ZephyrMesh.png' file.

Re: problem reading texture

Posted: Fri Mar 31, 2017 4:12 pm
by geolux
Sorry Daniel, I forgot to attach the file png. But in my PC it is and is in the same directory of the ply.
If you want give me your addres, I can send you an email (52MB)

Re: problem reading texture

Posted: Sat Apr 01, 2017 6:56 pm
by daniel
Ok I understand now. It's because the texture coordinates are not saved as a 2D array (like "texture_uv" - as usual) but as 2 separate arrays (texture_u and texture_v). I really wonder what the people developing these software are thinking about ...

I'll see if it's possible to handle such organization, but anyway it will take time!