Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Dynamic Text Rendering in Canvas3D Using three.js

Dynamic Text Rendering in Canvas3D Using three.js

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 679 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    soldOnQt
    wrote on last edited by
    #1

    I'm new to WebGl and three.js. I have a QML based application that has approximately 400 2D text labels that need to be updated at 20 fps. I have looked at THREE.TextGeometry, but it seems like it is too inefficient to use and the text is only set in the constructor which makes it static (instead of dynamic which is my use case). I know QML has Canvas 2D, but I've found it inefficient when trying to implement things like text outlining. The only other avenue that I can think of pursuing is using Qt Quick items as a texture source for Qt Canvas3D textures (via Canvas3DTextureProvider), but I don't know how efficient that may be.

    Can you please give me some direction here? Should I drop the use of three.js?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you already saw this article about three.js and Canvas3D ?

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved