Skip to content

Creating floating UI components like Google Maps AR navigation example #4095

Answered by prideout
bounty-torn asked this question in Q&A
Discussion options

You must be logged in to vote

Filament does not have text-based UI facility, in your screenshot each signpost is probably a 4-vertex mesh with a texture. To generate a text texture, there are several approaches you could take. For example you could use stb_truetype.h. Alternatively you could draw text into an Android Bitmap in the Java layer, then convert that into a texture using our TextureHelper class.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@romainguy
Comment options

Answer selected by bounty-torn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants