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 with Scene3D and Cuda write to texture
Forum Updated to NodeBB v4.3 + New Features

QT3D with Scene3D and Cuda write to texture

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

    Hello.
    I am writing a qt3d application using Scene3D for mixing qt3d Graphics with qt quick gui, and I want to use cuda to write to a 2d texture that is being used in an QAbstractTexture.
    I am retrieving the texture id using QAbstractTexture::handle(), and then I am calling cudaGraphicsGLRegisterImage(..)
    This latter function returns error 219 "Invalid OpenGL or DirectX context"

    If qt3d is not exposing the opengl context to the user, does this basically mean it is not possible to use cuda-opengl-interoperability in a qt3d/qt quick Application?

    In my code I am able to start cuda kernels, but the cuda-opengl-interop does not work.

    Best
    Daniel

    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