Question

I am trying to render a 3D model on marker in my AR app for android using JPCT-AE librtary. I have tested it on nexus one and Samsung note 1, its working fine but same code and same 3d model not displaying properly in higher version phones like Nexus 4, sony xPeria z 6603 and Huawei android phone. 3D models breaks in to tiny pieces and hard to locate also. In my log it doesn't sow any error. So am not sure if it is problem of OS or hardware or program. any suggestion please?

Was it helpful?

Solution

I solved the problem, It was fairly simple solution after all. I forgot to clear the frame buffer every frame. Usually I should clear the frame buffer in ondrawframe() loop of jpct-ae, but it will clear the video background also, so we have to clear the framebuffer in Vuforia native code. I still am not sure Why it was working in Note one though. I am glad its working in other phones as well now.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top