Ticket #811 (closed: fixed)
Clean-up and improve performance of OpenGL visualisation in qtiplot
Reported by: | Laurent Chapon | Owned by: | Laurent Chapon |
---|---|---|---|
Priority: | major | Milestone: | Iteration 21 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Needs a lot of clean-up, commenting, and fix performance issued with OpenGL rendering.
Change History
comment:3 Changed 11 years ago by Laurent Chapon
Actually, the problems are not only in qtiplot but also in MantidGeometry in the renderers. THere are calls to glRotate, glScale, glTranslate everywhere and never a single check if these transformations are actually needed. Beside, it looks like most of the glRendering that is happening in MantidGeometry are already stored in display lists. Therefore the MantidObject is nothing else than a wrapper of a display list inside another display list= big performance hit
comment:4 Changed 11 years ago by Laurent Chapon
Clean-up and optimization of Trackball is also needed, lot of temporaries everywhere, unnecessary calls etc...
comment:5 Changed 11 years ago by Laurent Chapon
(In [2973]) re#811 Optimization of the trackball in OpenGL. The angle of rotation is now calculated correctly, so that the object rotation follows closely the mouse movement. Optimization in different places, cleaning-up of the code. Need to work on the routine rotateBoundingBox, there must be a more elegant way to do that.
comment:9 Changed 11 years ago by Laurent Chapon
The next step is to clean-up the code related to getBounding boxes. When plotting large instrument such as WISH, it takes about 10 secs on my machine before the instrument widget appear (not the instrument though, this comes much later), of which appraently 8s are spend to getBounding boxes.
comment:10 Changed 11 years ago by Martyn Gigg
comment:11 Changed 11 years ago by Laurent Chapon
comment:12 Changed 11 years ago by Roman Tolchenov
comment:13 Changed 11 years ago by Martyn Gigg
comment:14 Changed 11 years ago by Martyn Gigg
comment:15 Changed 11 years ago by Laurent Chapon
comment:16 Changed 11 years ago by Laurent Chapon
comment:17 Changed 11 years ago by Roman Tolchenov
comment:18 Changed 11 years ago by Nick Draper
- Milestone changed from Iteration 19 to Iteration 20
Moved as part of the end of Iteration 19
comment:19 Changed 11 years ago by Nick Draper
- Status changed from new to closed
- Resolution set to fixed
This will do for now
comment:20 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 1659
(In [2959]) re#811 Improve speed of integration in qtiplot by using binary_search. Tested for WISH, factor 2.5 improvement. Not the bottleneck though.