Log in or register to post comments

Showing Text

April 11, 2016 - 6:48am #1

Hello community,

 

i've made my own target database for cylinders. It works fine. The ball is rotating around my bottle. Now i want to replace the ball with text provoding some information about the bottle. I've read through a lot of posts, but these answers were pretty old or the problem wasn't solved. Have I really to handle with OpenGL functions to show some text?

I've tried to add

 mTextView.setText("Hello");
        mTextView.setVisibility(View.VISIBLE);
        addContentView(mTextView, new LayoutParams(LayoutParams.MATCH_PARENT,
                LayoutParams.MATCH_PARENT));

in the initApplicationAR in the CylinderTargets class.

Has anyone a idea?

 

Thanking you in anticipation.

Log in or register to post comments