Drawing text in Android Augmented Reality apps using Vuforia SDK

社会主义新天地 提交于 2019-12-11 01:45:43

问题


I'm trying to get my Android AR app working using the Vuforia SDK.

What I would like to do is to draw some text on screen, instead of usual 3D models.

But I cannot find, from the sample apps, where the app actually load such models, and how I could change it.

Anyone can help?


回答1:


in renderframe in ImageTarget.cpp of Imagetargets vuforia sample,you can comment all gl rendering code to prevent any model rendering then you can draw text on gl surface or simple textview.i have not tried for text but this can be done by as i said.



来源:https://stackoverflow.com/questions/11450565/drawing-text-in-android-augmented-reality-apps-using-vuforia-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!