www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: cefengxu on October 22, 2015, 11:27:58 am
-
follow the help from EgonOlsen , i have loading a md2 model on the preview data.
However, the texture of the model have been changed and overwrited by the preview buffer texture grab of camera. Pls find the attached , shown such case
so , how can i change the textureID manually or have another way to fix such issue .
-
That's most likely because jPCT-AE isn't aware of the change of the texture stage from the outside by the AR code. There's no direct way to tell the engine that the state has changed, but you might want to try a hack: Load some other texture (can be a transparent one) and blit that onto the screen after the rendering of the model. That should make jPCT-AE think that it has to assign the model's texture again in the next pass. Maybe that helps.
-
it's work. i have change the textureID of the preview data, and it's work.
-
Hello cefengxu,Am trying to work the AR but am not able to make it work.can you please help me by providing a demo or sample code of working AR App?
-
firstly, you need to choose a project or engine of AR , and let me know;
secondly , the jpct-ae just for rendering;
-
Am familiar with Vuforia, And am trying AndAR but i don't want any markers.