Results 1 to 4 of 4

Thread: Graphics view display problem.

  1. #1
    Join Date
    Dec 2006
    Posts
    17
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Graphics view display problem.

    Hi guys,

    Iam facing some problem with graphics view display. The problem is similar to the following model.

    1. I have a scene with lot of rectangles ( Size : (1500*750) , Number of rects ~ 20000) )

    2. I have some nets connecting these rectangles. Each net is composed of many lines.( ~45).
    Number of nets (52000).

    3. I have provided zoomIn and zoomOut faetures.

    My problem is display of all these nets at full view is taking ~= 10 sec. But displaying the nets at higher zoom level takes less time (~ 2 sec ).
    So i planned to reduce the number of nets displayed at full view (from 50000 to 5000 ) and to show all the nets at some higer zoom level ( say X - as it was fast at this level).
    Though this plan as reduced the display time at full view, the same problem now shifted to the Zoom level X - where it displays the nets in less time but display will be freezed for some time.

    So while Zoom In and Zoom out across the zoom level X. The nets will be shown in the viewport in less time but the display will be freezed for some time.

    Pls help me in fixing this issue.

    Thanx.

  2. #2
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    124
    Thanked 38 Times in 30 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Graphics view display problem.

    Have you tried running a profiler?
    Bitto / Andreas Aardal Hanssen - andreas dot aardal dot hanssen at nokia
    Nokia Software Manager, Qt Development

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Graphics view display problem.

    Sorry to be so ignorant...
    but what is a profiler ?

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Graphics view display problem.

    J-P Nurmi

Similar Threads

  1. QGraphics view problem
    By kiranraj in forum Qt Programming
    Replies: 5
    Last Post: 6th March 2007, 21:28
  2. graphics view FitInView problem
    By aamer4yu in forum Qt Programming
    Replies: 6
    Last Post: 25th January 2007, 10:24
  3. which is better QCanvas or graphics view?
    By neomax in forum General Discussion
    Replies: 1
    Last Post: 23rd November 2006, 15:19
  4. Adding Rectangular overlay on graphics view
    By forrestfsu in forum Qt Programming
    Replies: 10
    Last Post: 21st November 2006, 19:42
  5. Replies: 3
    Last Post: 12th April 2006, 08:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.