Weird texture rendering on OBJ model

Started by billda, July 31, 2014, 10:04:30 AM

Previous topic - Next topic

billda

I am using vuforia with jPCT and i have weird problem with rendering texture on my model. When I try to load model in HelloWorld sample and replace cube with model, everything works fine but when I use exact same code in my app, this problem happened. In the attachment is screen with my problem. My guess is that Vuforia renderer is setting something in openGL but i dont know what because i dont have so much experience with it. If anyone have some idea please share your thoughts.

Attachment - https://www.dropbox.com/s/56lqp290bknn8a9/screenshot_2014-07-30-14-44-09.png

EgonOlsen

That's not an issue with textures, it's an issue with your gl context and/or the depth buffer settings of Vuforia. Maybe this helps: http://www.jpct.net/forum2/index.php/topic,3536.msg25228.html#msg25228

billda

Thanks! It was exactly this kind of issue

EgonOlsen

I guess that the sources on pastebin don't include this change yet? I would like to add them to the wiki, but i prefer to use most current ones.