1

I am using ArCore for developing an application for measurement. I have used below link as reference and so far I am able to draw line. https://github.com/hl3hl3/ARCoreMeasure

I am struggling with "draw text on the detected plane using opengles". ( I believe I have to use opengles for drawing text)

I have referred below link for the same with no luck so far.

Draw text in OpenGL ES

Note:- I don't want to use Sceneform library for the same as it has some issues due to which I shifted towards using core Arcore for the development.

Any help or suggestions will be appreciated. Thanks !!

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
Yesha Shah
  • 408
  • 1
  • 5
  • 17
  • Yeah, answer 2 is the least complicated, that is: Render common strings to textures, and simply draw those textures. – YinOrYan Feb 24 '21 at 18:47
  • Thanks for your answer , I have tried the same but not able to draw anything on the plane – Yesha Shah Feb 25 '21 at 07:27
  • Well, if you put it too close to the surface where the anchor is, it will get buried, so you have to lift it up some optimal level to work for a variety of surfaces, but not too close to eye-level because it will also not be visable. That's why I try to avoid putting text into the horizontal plane, in addition to having perspective problems with it... – YinOrYan Feb 25 '21 at 21:11
  • Did you resolve? – Frank Jul 20 '21 at 15:38

0 Answers0