Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT 3D Surface or scatter for antenna pattern with custom gradient for spherical coordinates
Reas last edited by
I'm implementing a tool to display 3D pattern of antennas. I manage to modify the 3D surface and 3D scatter QT example to meet my needs but I miss the last requirements.
In QT I can change the color map gradient but it is dependent to one cartiesian/polar coordinate, i.e., the y-axis value, but for 3D pattern plot the color should reflect the intensity of the field, that, is the radius of the spherical plot.
To better understand QT gradient produce an image like this:
But I need to produce an image like this (without considering the lines):
There is any simple way to do it?
BouleDePlume last edited by
I would like to do the same thing, did you manage to customise the application of the gradient as a "spherical radial" gradient ? how did you do that ?
sergio.em last edited by
Hi, unfortunately not. I had to develop a wrapper to a python 3d library, i.e., mayavi, which provides very good and customizable antenna pattern representation. If you're familiar with python I suggest to move to that platform for this purpose.