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. Help me with graphics!
Forum Updated to NodeBB v4.3 + New Features

Help me with graphics!

Scheduled Pinned Locked Moved General and Desktop
6 Posts 5 Posters 2.1k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    smetana
    wrote on last edited by
    #1

    Hello! Please tell me the way of solving the following problem.
    I need to display 2-D scene. The data I need to visualize are data from amateur radar:
    1st layer: is a coordinate grid;
    2nd layer: two-dimensional matrix of 4096 X 1200, the value of which will be specially interpreted and displayed as pixels (dots) with the corresponding coordinates;
    3rd layer: service information, which is also a special way interpreted and displayed as icons, icons with acc. coordinates (500-800 sites);
    Layer number 2 is often updated on a signal from another thread that is processing the data. The entire scene must be able to scale to scroll.

    The program is written using Qt under Linux. Criterion: maximum performance.
    What Qt's tools I can choose to solve the problem?
    Do I need to pay attention to OpenGL technology, or is it redundant for my problem?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      OpenGL does not seem necessary here, although it's certainly an option. Qt's raster engine is also very fast.

      There are number of ways in which this can be implemented: QGraphicsView, standard painting with QPainter, QML, QML Canvas element, and more. I can't really say which is best for your case. It would be very easy to prototype in QML. Other solutions will be tougher, but will offer more low-level control. The decision is yours, really. Performance-wise, all those are pretty fast, you would need to construct some benchmarks to see the difference.

      (Z(:^

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wspilot
        wrote on last edited by
        #3

        If you consider for the future to also create a Web version, add 3D viewing (terrain/height), lighting, etc., you might consider OpenGL ES.
        If so, let me know, for I have much that stuff available in my Open Source (aircraft navigation) project.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          terenty
          wrote on last edited by
          #4

          [quote author="wspilot" date="1354874209"]If you consider for the future to also create a Web version, add 3D viewing (terrain/height), lighting, etc., you might consider OpenGL ES.
          If so, let me know, for I have much that stuff available in my Open Source (aircraft navigation) project.[/quote]
          Hi, could you provide a link or something, would be nice to have a look :)

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DerManu
            wrote on last edited by
            #5

            You'll need to elaborate more on the matrix. What the values mean, how they shall be interpreted, how they shall be visualized.
            How dynamic is the scene, how often do all the elements change etc.
            Right now it's just too vague to say anything.

            1 Reply Last reply
            0
            • W Offline
              W Offline
              wspilot
              wrote on last edited by
              #6

              [quote author="terenty" date="1354875735"]
              [quote author="wspilot" date="1354874209"]If you consider for the future to also create a Web version, add 3D viewing (terrain/height), lighting, etc., you might consider OpenGL ES.
              If so, let me know, for I have much that stuff available in my Open Source (aircraft navigation) project.[/quote]
              Hi, could you provide a link or something, would be nice to have a look :)
              [/quote]
              Sorry, I missed your reply.
              The project is "pilotnavigator":http://sourceforge.net/projects/pilotnavigator/
              The oglwindow.cpp contains the (Qt)Gl stuff, esp. the OGLWindow::draw function.

              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