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. Qtd3 + many small textures.
Qt 6.11 is out! See what's new in the release blog

Qtd3 + many small textures.

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.8k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    DDDIM
    wrote on last edited by
    #1

    Hello everyone!

    I am programming on Beagleboard+qt4.8+qt3d(in qml).

    I have dynamically generated textures and dynamically load them to OpenGL in a separate thread (this feature was introduced in qt 4.8). I access qml Item3d element from c++ using objectName property. I want it to consist of several textures. For each texture I have to create its own material.
    I have weird slowing down of my application if I for example create 16 materials with texture size 1x1 pixel. But at the same time if I create one material with texture 1024x1024 pixels, it works very fine. I can not understand what am i doing wrong.
    Does anyone know explanation or assumption?

    Please tell me if you know better place for asking this question...

    Thanks!

    ksm-intech.ru

    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