Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtDataVisualization::Q3DSurface NAN Values



  • Hello,

    i have some data that i want to plot a surface from. However the data is only defined in some circular area.
    I tried to fill the QSurfaceDataRow at the edges where there isn't any data with QVector3D(NAN, NAN, NAN)
    however then nothing is drawn at all. (except when the nan elements are at the end of the last row, then it behaves like i intendet to)
    What is the right way to deal with nans / data that is not on a rectangular grid?


Log in to reply