Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT3D Quick entity SkyboxEntity does not work in my environment
Forum Updated to NodeBB v4.3 + New Features

QT3D Quick entity SkyboxEntity does not work in my environment

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 290 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.
  • G Offline
    G Offline
    Gash
    wrote on last edited by Gash
    #1

    When I try to use SkyboxEntity background become black and there is statement arrive in console "QTextureImage only supports local url" - but I point to local texture set (6 textures with skybox).
    When I change texture path to wrong one - other error arrived: "Failed to open ":/assets/cubemaps/miramar/miramar1_negy.webp" (6 times for all textures) - so I thing that if path to textures ok - then textures loaded and error in some other place.
    There are skybox example provided with installation of QT placed in ~/Qt5.12.1/5.12.1/Src/qt3d/tests/manual/skybox.
    Basically it uses SkyboxEntity and dont work also.
    But there is interesting Skybox.qml included in the project - it defines Skybox entity.
    When I change main.qml to use this Skybox (instead of SkyboxEntity) from the project (before it it was unused) then it was no any errors and statements in console but behavior is just the same: black background.

    I already waste some time to let SkyboxEntity work but no result yet.
    The next step i see - to implement Skybox cpp - it rather time consuming task.
    Does anybody use SkyboxEntity?
    What may be wrong in my case?

    Its easy to reproduce test: just open project <path to QT installation>Src/qt3d/tests/manual/skybox/skybox.pro and run it.

    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