Geant4 Visualization : Qt Driver
Developments for Geant4.9.4
Geant4 Workshop
Laurent Garnier
This was before Big change in Geant4 Qt Driver
What's new ?
Two rotation mode are available : Theta/Phi rotation and 'google earth' like
All move/rotate/zoom commands are available with Keyboard shortcuts. Ex :
Loose time when moving a component is in visualization part. Thank to Shark (mac OSX), I identify two bootle neck : glBegin (47% of OGL time) and glFlush (44%). After some code optimisations :
Mac OSX 10.5 : Immediate Mode
| First draw time (sec) | Rotation (fps) | |
| Geant 4.9.3 | 5 | 0,46 |
| Geant 4.9.4 | 6 | 0,53 |
Mac OSX 10.6 : Immediate Mode
| Geant 4.9.3 | 5 | 0,6 | |
| Geant 4.9.4 | 6 | 0,6 | |
Mac OSX 10.5 : Stored Mode
| Geant 4.9.3 | 94 | 1,2 |
| Geant 4.9.4 | 72 (x1,3) | 2,66 (x2,2) |
Mac OSX 10.6 : Stored Mode
| Geant 4.9.3 | 13 | 3,73 |
| Geant 4.9.4 | 11 (x1,2) | 5,3 (x1,43) |
Some G4 new commands :
Qt visualization driver is available on all Platform. Tested on all Geant4 supported computers and operating systems :
Windows Xp
SLC4
SLC5
Questions ?