Nominate our 2022 Qt Champions!

QT 3D Surface or scatter for antenna pattern with custom gradient for spherical coordinates

  • Dear all,

    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:

    alt text

    But I need to produce an image like this (without considering the lines):

    alt text

    There is any simple way to do it?

    Best regards.

  • Hi,
    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 ?

  • 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.

Log in to reply