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. QCustom3DVolume along with data
Qt 6.11 is out! See what's new in the release blog

QCustom3DVolume along with data

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

    Hi all,

    I'm trying to build a 3D viewer using 2D data array, which is a sort of raw 8-bit gray intensity. (Basically it is a kind of tomographic viewer to see a pile of 2D images.)
    The 2D array consists of a number of frames and each frame consists of certain width and height.
    At first, I tried to use setTextureData() after building QVector<uchar> data from the raw data,
    but it seemed not working.

    Next, I tried to import a PNG file several times using setSubTextureData(), in which the PNG file was 8-bit grey and Format_Indexed8 format. This attempt could not give a success, either.

    I wonder if there is any specific example for this example. I tried to reuse 3D Volume rendering example, but it was not fit to my case.

    Could anyone enlighten me the data format for QCustom3DVolume for 8-bit grey scale?

    Thanks.

    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