PDA

View Full Version : Graphics view display problem.



kiranraj
18th July 2007, 13:10
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.

Bitto
18th July 2007, 21:31
Have you tried running a profiler?

aamer4yu
20th July 2007, 06:47
Sorry to be so ignorant...
but what is a profiler ?

jpn
20th July 2007, 07:08
http://en.wikipedia.org/wiki/Performance_analysis