"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Texture on my 3D model is so messed up

hi guys, i have a problem at my texture on my 3D model..

i have followed all of the messages herehttps://ar.qualcomm.at/content/replace-3d-model-different-3d-modeland now the 3D model have shown on my android, but the problem is it had a very bad texture..

for the case, i have created my object (named nyancat.blend), to make a Texture Coordinate and the Texture Image i followed this video on youtube - baking textures on blender http://www.youtube.com/watch?v=Tj-S5QAac3U, i saved my texture image (named nyancattexture.png) then i export it to nyancat.obj also convert it into nyancat.h

i have changed my ImageTarget.cpp to show my model, and changed my ImageTarget.java to modify its texture instead of a teapot texture. My model have shown very nice without any glitch vertex, but the texture was sooo messed up..

am i did it wrong when i bake my texture on blender?

AlessandroB

Tue, 10/23/2012 - 12:29

Hi, the reason could be that your texture is flipped upside-down (we have seen this issue occurring many times);

to fix it, open your image with an image editor, flip it vertically and save it. Then let me know if that was the issue.

 

AlessandroB

Wed, 10/24/2012 - 07:04

You're welcome :-)

By the way, if you don't want to flip all your images with an Image Editor, you can flip either flip them programmatically (using the Bitmap API of the Android SDK), like in the example below: