gdkchan / SPICA

Experimental H3D tool
The Unlicense
93 stars 46 forks source link

Textures position incorrent with DAE exporting #61

Open mleone20 opened 6 years ago

mleone20 commented 6 years ago

Step to reproduce:

Files: Data to import: http://www.mediafire.com/file/v2ija31ob6mii4a/data%20to%20import.rar Export result: http://www.mediafire.com/file/2wl8qbzc67phcs3/invalid%20export.rar

In SPICA i got this: spica1

In 3D Studio Max 2017 i got this: spica3 spica2

Wambosa commented 6 years ago

Im not at my desk at the moment, but wanted to mention that this happens because the texture is supposed to be mirrored horizontally, however it is not. Not sure if its an export issue or dae format limitation. Either way, you can solve it by opening the texture file in photoshop, double the canvas size horizontally, then copy the other half of the image and manually create the mirror.

This will fix the texture.

I bet there is another way to specify that the texture is supposed to be mirrored in a program like 3ds, yet in my case, i import directly to unity where i just want it all to work without another program.

Wambosa commented 6 years ago

Ah here is a better explanation https://github.com/gdkchan/SPICA/issues/44

Wambosa commented 6 years ago

Ah here is a better explanation https://github.com/gdkchan/SPICA/issues/44

mleone20 commented 6 years ago

Hi @Wambosa , thanks for the help! It's working with this method. Just a question: i tried the import in Unity and it looks the same of 3D Studio Max. Is it the same for you? Or it works good?