source: trunk/source/visualization/OpenGL/History@ 1345

Last change on this file since 1345 was 1340, checked in by garnier, 15 years ago

update ti head

File size: 40.3 KB
Line 
1$Id: History,v 1.187 2010/11/05 06:25:23 allison Exp $
2-------------------------------------------------------------------
3
4 =========================================================
5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6 =========================================================
7
8 Category History file for visualization/OpenGL
9 ----------------------------------------------
10This file should be used by G4 developers and category coordinators
11to briefly summarize all major modifications introduced in the code
12and keep track of all category-tags.
13It DOES NOT substitute the CVS log-message one should put at every
14committal in the CVS repository !
15
16 ----------------------------------------------------------
17 * Reverse chronological order (last date on top), please *
18 ----------------------------------------------------------
19
205th November 2010 John Allison
21- G4OpenGLStoredSceneHandler, G4OpenGLViewerMessenger:
22 o Introduced a display list limit to avoid memory exhaustion.
23 o Introduced /vis/ogl/set/displayListLimit.
24
258th October 2010 Laurent Garnier
26- G4OpenGQtViewer.cc:
27 o Add menu for changing text color, default color, background color
28 o Toogle projection now call directly command instead of redefinding it
29
306th October 2010 John Allison (opengl-V09-03-08 with co-working tags...)
31- Co-working tags: interfaces-V09-03-12 + config-V09-03-08
32- G4OpenGLStoredViewer.cc:
33 o Added default colour and default text colour to list of parameters
34 that trigger a kernel visit.
35
365th October 2010 John Allison
37- G4OpenGLStoredViewer.cc: Time-slices fade to background colour.
38
395th October 2010 Laurent Garnier
40- Change lots of shortcuts in Qt
41- Add 'google earth like' rotation
42
4323th June 2010 Laurent Garnier
44- G4OpenGLImmediate/StoredQtViewer : Fix compilation warnings
45- G4OpenGLQtViewer : Add protection on Vis Tab without UI Qt
46
474th June 2010 Laurent Garnier (opengl-V09-03-07)
48- G4OpenGLImmediate/StoredQtViewer : Add protection against multiple
49 repaint call. Add protection against resizeGl with bad values
50
513rd June 2010 John Allison (opengl-V09-03-06)
52- G4OpenGLImmediateSceneHandler: Re-instate
53 // Make sure screen corresponds to graphical database...
54 if (fpViewer) {
55 fpViewer -> SetView ();
56 fpViewer -> ClearView ();
57 fpViewer -> DrawView ();
58 }
59 I was wrong - it *is* necessary. If not there, events are not refreshed.
60 So this and similar changes below are all back to geant4-09-03, including
61 glFlush, which is still a big performance penalty on Mac's Snow Leopard.
62
633rd June 2010 John Allison (opengl-V09-03-05)
64- Restored following files to geant4-09-03 in interests of stable behaviour:
65 o G4OpenGLStoredSceneHandler.cc
66 Restored code removed in opengl-V09-03-03:
67 // Make sure screen corresponds to graphical database...
68 if (fpViewer) {
69 fpViewer -> SetView ();
70 fpViewer -> ClearView ();
71 fpViewer -> DrawView ();
72 }
73 o G4OpenGLStoredXViewer.cc:
74 Restore to geant4-09-03. Restored code removed in opengl-V09-03-03:
75 } else { // ADD TO AVOID KernelVisit=1 and nothing to display
76 DrawDisplayLists ();
77 FinishView ();
78- Note: G4OpenGLImmediateSceneHandler: Same code commented out. I think
79 it's not necessary for immediate mode.
80
8130th May 2010 John Allison (opengl-V09-03-04)
82- G4OpenGLSceneHandler: Added AddCompound(const G4VDigi&).
83
8429th May 2010 John Allison (opengl-V09-03-03)
85- G4OpenGLImmediateSceneHandler.cc, G4OpenGLStoredSceneHandler.cc:
86 Removed the following from ClearTransientStrore (was causing
87 unnecessary drawing and flipping buffers?):
88 // Make sure screen corresponds to graphical database...
89 if (fpViewer) {
90 fpViewer -> SetView ();
91 fpViewer -> ClearView ();
92 fpViewer -> DrawView ();
93 }
94- G4OpenGLStoredXViewer.cc:
95 Commented out as follows in DrawView (was causing extra buffer swap,
96 thus showing bad picture; can't recall why it was introduced):
97 } else { // ADD TO AVOID KernelVisit=1 and nothing to display
98 //DrawDisplayLists (); ????????? (JA)
99 //FinishView (); ????????? (JA)
100
10126th May 2010 Laurent Garnier (opengl-V09-03-02)
102 - G4OpenGLQtViewer : Some improvments with auto rotation mode.
103
10420th May 2010 Laurent Garnier (opengl-V09-03-01)
105 Co-working tag : intercoms-V09-03-01, interfaces-V09-03-02
106 - GNUMakefile, G4OpenGLQtViewer : Better inclusion of new tabs in UI part
107
10811th May 2010 John Allison (opengl-V09-03-00)
109- G4OpenGLSceneHandler:
110 o Use generic section and cutaway algorithm.
111 o Follow change in generic section and cutaway interface.
112- G4OpenGLViewer.cc:
113 o Use generic section and cutaway algorithm.
114 o Fix compiler warning (*p++).
115 o Replace strdup by local inline code.
116
11729th April 2010 Laurent Garnier
118 - G4OpenGLSceneHandler : Speed Improvment by drawing vector of
119 markers instead one by one
120
12127th April 2010 Laurent Garnier
122 - G4OpenGLStoredXmViewer : remove viewer form list at destruction
123 - G4OpenGLViewer : Fix a problem when printing in gl2ps
124
1259th March 2010 Laurent Garnier
126 - G4OpenGLViewer : Fix clipping when resizing non square size windows
127 Remove error message when no scene present.
128 - G4OpenGLImmediateQtViewer, G4OpenGLStoredQtViewer :
129 - Add some protections if viewer is in tab
130 - fix some redraw probems when focus was outside frame
131 - Add ShowView() and paintEvent() methods
132 - DrawView method is now the same in Store and Immediate mode
133 - G4OpenGLQtViewer : Add things for viewer in tabs
134
1353rd March 2010 Laurent Garnier
136- G4OpenGLViewer : Add protection against null pointer scene
137
13827th January 2010 Gabriele Cosmo
139- Fixed compilation warnings on G4OpenGLQtViewer and corrected compilation
140 error when using Qt-3.
141
1426th January 2010 Laurent Garnier (needs interfaces-V09-02-07 + laurent-QtUI_with_tabs_v1)
143- GNUMakefile : Add include for interfaces/basic
144- G4OpenGLQtWiewer : Integration into QtUI Tab
145
14617th November 2009 John Allison (opengl-V09-02-10)
147- Tagged for vis tag.
148
14917th November 2009 Gabriele Cosmo
150- Fixed problem in the generation of dependencies on Windows for some
151 files, due to redefinition of min and max macros from windows.h in
152 G4OpenGL.hh.
153- Fixed GNUmakefile.
154
1553rd November 2009 John Allison (opengl-V09-02-09 coworks greps-V09-02-03)
156- Tagged for system testing.
157
1583rd November 2009 Laurent Garnier
159- G4OpenGLImmediateQtViewer, G4OpenGLStoredQtViewer : Protec Qt4 method
160 introduce 13rd october 09 by ifdef
161
1623rd November 2009 John Allison
163- G4OpenGLXmPanningCallbacks: Fixed pView compilation problem.
164
16521 October 2009 Laurent Garnier
166 - G4OpenGLQtViewer : Prepare to attach viewer In UI
167
16821st October 2009 John Allison (opengl-V09-02-08 coworks greps-V09-02-02)
169- Added default AddCompound (const G4THitsMap<G4double>&) methods.
170 o Prevents warnings about hiding - calls G4VSceneHandler base class.
171
17215 October 2009 Laurent Garnier
173 - G4OpenGLViewer.cc : Fix a problem with printing. On mac OSX version
174 > 10.5.7? or Ubuntu > 9.04? AND with user account configure in french
175 (or canadian I believe), the decimal point character was defined by
176 "," (see LC_NUMERIC). This cause a problem on reading eps files.
177 Changed "," to "."
178
17913 October 2009 Laurent Garnier
180 - G4OpenGLImmediateQtViewer/StoredQtViewer : some cleaning
181 - G4OpenGLImmediateQtViewer : Remove picking to true at initialisation
182 - G4OpenGLQtViewer.cc : Fix a redraw problem on mac OS X 10.6
183 - G4OpenGLStoreQtViewer.cc,G4OpenGLImmediateQtViewer.cc : Fix width()
184 and height() problem on mac OS X 10.6
185
18629 September 2009 John Allison (opengl-V09-02-07)
187- Tagged.
188
18918 August 2009 Laurent Garnier
190 - G4OpenGLXmViewer : Fix a wrong initialization introduce by the
191 new way of handling window size hints (January 2009)
192
19329 July 2009, Laurent Garnier
194 - G4OpenGLQtViewer : Ensure the GL frame size will be correct
195 by setting a 0 size margin around
196
19727 July 2009, Laurent Garnier
198 - G4OpenGLStoredQtViewer : Remove picking to true at initialisation
199
20020 May 2009, Laurent Garnier (opengl-V09-02-06)
201 - Fixed compilation errors on WIN32-VC for WIN32 specific drivers.
202
20318 May 2009, Joseph Perl (opengl-V09-02-05)
204 - Correct G4OpenGLViewerMessenger.hh
205
20614 May 2009, Laurent Garnier (opengl-V09-02-04)
207 - G4OpenGLViewer : Add methods to manage print size and filename
208 - G4OpenGLViewerMessenger : Added /vis/ogl/set/printSize
209 - G4OpenGLViewerMessenger : Added /vis/ogl/set/printFilename
210 - G4OpenGLQtViewer.cc,G4OpenGLXmMainMenuBarCallback.cc, renaming
211 according to first point.
212
21313 May 2009, Laurent Garnier
214 - G4OpenGLStoredQtViewer.cc: Fix a second view redraw at ShowView() call
215 - G4OpenGLQtViewer : Remove unuseful variables, renaming others
216 - G4OpenGLViewer : Add method for resizing properly windows. Add methods
217 to get window width, height and to know if size has changed
218 - G4OpenGLQtViewer, G4OpenGLStoredQtViewer, G4OpenGLImmediateQtViewer,
219 G4OpenGLXmViewer, G4XmWindowsHandlingCallback, G4OpenGLXViewer :
220 Apply the previous changes.
221
2226 May 2009, Laurent Garnier
223 - G4OpenGLQtViewer.cc: Fix compilation warning and error with gcc4.4
224
22528th April 2009, John Allison
226 - G4OpenGLViewerMessenger.cc: Added return statement at end of every
227 "if (command == ..." statement. (Because of test for OGLS, it is
228 not elegant to use "if...else if...else" structure.)
229
23028th April 2009, Laurent Garnier
231 - G4OpenGLXViewer,G4OpenGLViewer : End of moving printEPS and associated
232 functions from GLXViewer to GLViewer.
233 - G4OpenGLXViewer :
234 - Remove debug methods
235 - Add check in SetView() method
236 - G4OpenGLViewer : Add a glReadBuffer before glReadPixel in grabPixel method
237
2388th April 2009, Laurent Garnier
239 - G4OpenGLBitmapStore.hh : BugFix correction for windows (introduce 2nd February ?)
240 - G4OpenGLViewer.hh : move methods in private
241 - G4OpenGLXViewer.hh : Add debug methods
242 - G4OpenGLImmediateXmViewer.cc, G4OpenGLStoredViewer.cc, G4OpenGLStoredXmViewer.cc,
243 G4OpenGLStoredXViewer.cc, G4OpenGLViewer.cc : Add debug messages
244 - G4OpenGLStoredXmViewer.cc,G4OpenGLStoredXViewer.cc, G4OpenGLStoredWin32Viewer.cc :
245 - Add a DrawDisplay list in case of KernelVisit=1 and nothing new to display.
246 - Add a flush at the end of the view.
247 - G4OpenGLViewer.cc :
248 - Improve the fix and resizing when X/Y size was even (lack of precision
249 in a /2)
250 - Set line/point size at a default size when printing.
251 - G4OpenGLXmWindowsHandlingCallbacks.cc : print method rename in printEPS
252 - G4OpenGLXViewer.cc : Lot of changes, try to debug it. Pb when printing in pixmap
253 mode on some windows size
254
2556th April 2009, Joseph Perl (opengl-V09-02-02, then opengl-V09-02-03)
256 - New tag to clean up all of the cases of files that changed only in the cvs id.
257
25824th March 2009, Laurent Garnier (opengl-V09-02-01)
259 - G4OpenGLViewer : Add a fix and resizing when X/Y size was even (lack of precision
260 in a /2)
261
26218th March 2009 John Allison
263- G4OpenGLViewerMessenger.cc: printMode and transparency are available
264 for all OGL windows (they were previously inadvertently hidden by
265 an OGLS requirement).
266
26716th March 2009, Laurent Garnier
268 - G4OpenGLViewer : Add a check on max viewport dimensions when setting size.
269
2704rd March 2009, Laurent Garnier
271 - G4OpenGLQtViewer:
272 - Suppress some warnings when saving file
273 - Changing size is now allowed when saving (to save with better resolution than screen size)
274 - G4OpenGLViewer:
275 - Some renaming for print methods to be more clear about Vectored and non Vectored
276 - Now using Gl2PS method to do PS (changes also in G4OpenGLXViewer and G4OpenGLQtViewer)
277 - Suppress unuseful printX methods (heritated form XViewer)
278 - Add methods to handle printVectored and NonVector cases
279 - G4OpenGLViewerMessanger : Changes methods to get new G4OpenGLViewer methods to print
280
2811st March 2009, Laurent Garnier
282 - Remplacing glBitmap by GL_POINTS to draw marker : Speed improvment
283 and gl2ps can now draw Markers.
284
28516 February 2009, Laurent Garnier
286 - Modifications in GNUMakefile for gl2ps.
287 - G4OpenGLViewer,G4OpenGLViewerMessenger.cc,G4OpenGLXmMainMenubarCallbacks.cc
288 ,G4OpenGLXmViewer.cc modified for gl2ps and some renaming "print" in
289 "printVectoredEPS"
290
2912nd February 2009 Laurent Garnier
292- Improve Anticipate headers declaration in all files
293- Factorize grabPixels function in G4OpenGLViewer
294- Begin of refactoring printEPS function
295
29622th January 2009 Laurent Garnier
297- Fix bug in ratio and geometry on X/Xm/Qt/Win32 viewers
298
29919th January 2009 Laurent Garnier
300- Change G4DEBUG definition by G4DEBUG_VIS_OGL
301
30212th January 2009 John Allison
303- G4OpenGLViewer.cc: Pick up X and Y window size hints to define viewport.
304
3052 December, Laurent Garnier
306 - G4OpenGLImmediateXmViewer,G4OpenGLStoredXmViewer,G4OpenGLXmViewer
307 G4OpenGLImmediateXViewer, G4OpenGLStoredXViewer, G4OpenGLXViewer,
308 G4OpenGLXmWindowHandlingCallbacks,
309 G4OpenGLImmediateQtViewer.cc, G4OpenGLStoredQtViewer, G4OpenGLQtViewer
310 G4OpenGLImmediateWin32Viewer.cc, G4OpenGLStoredWin32Viewer, G4OpenGLWin32Viewer
311 -> Replace WinSize by fWinSize and some improvments about size initialization
312
313 - G4OpenGLQtViewer.hh : Suppress WinSize private variable
314 - Now Could pass XString like 400x600-0+0 to viewers and set position and location. It
315 will work for Qt, X, Win32 for the moment.
316
31724 October, Laurent Garnier (opengl-V09-01-03)
318 - Change GEANT4_QT_DEBUG flag by QTDEBUG
319 - Suppress unuseful DEBUG messages
320
32112th October Laurent Garnier
322 - G4OpenGLQtExportDialog : improvments for Qt3"
323 - G4OpenGLQtViewer,G4OpenGLImmediateQtViewer,G4OpenGLStoreQtViewer : Add the name on OpenGlQt viewers
324 - G4OpenGLStoredQtViewer,G4OpenGLImmediateQt, G4OpenGLStoredQt : Change OGLSQT and OGLIQT by OGLSQt and OGLIQt
325
3262 October Laurent Garnier
327 - Fix a crash when there was no scene.
328
32928 July Laurent Garnier
330 - Fix a bug in XmRotation panel introduce in last commit by myself.
331
33220th June 2008 Laurent Garnier
333 - Correct some warnings
334 - Move rotation code of Xm and Qt in G4OpenGLViewer::rotateScene. Same code in now shared
335
33612th June 2008 Laurent Garnier
337 - Emit signals when moving/rotate scene, in order to get them in external app
338
33928th Mai 2008 Laurent Garnier
340 - Add mouse wheel zoom commands
341
34228th April 2008 Laurent Garnier
343 - Add better moc control/compilation step in GNUmakefile
344 - Fix a problem when launching QT VIS without QT UI (N02 for example)
345
34628th April 2008 John Allison (opengl-V09-01-02)
347- G4OpenGLStoredSceneHandler: Tidied constructors of nested classes.
348
3494th April 2008 John Allison (opengl-V09-01-01)
350- Fixed DBL_MAX problem in 2D drawing:
351 o changed G4OPENGL_DBL_MAX to G4OPENGL_FLT_BIG.
352- Fix gcc-4.3.0 compiler warnings.
353
35411th March 2008, Laurent Garnier
355 - Resolve QT3 compilation errors
356
35710th March 2008, Laurent Garnier
358 - Add a dialog panel to make movies (Right button->Actions->Movie parameters)
359 - Add ability to "auto rotate" volume launched with quick mouse move
360 - Lots of improvments for Qt3
361 - Improvments on moving steps with shortcuts
362 - Could now select between orthogonal/perspective view mode
363
3641st February 2008 John Allison
365 - G4OpenGLQtViewer.cc: Fix #ifdef QT protection.
366 - G4OpenGLSceneHandler.cc: Small improvement to logic of setting GL_LIGHTING.
367
36830th January 2008, Laurent Garnier
369 - Add moving camera on left/right/up/down arrown, going forward/backward
370 on SHIFT+up/down, zoom in with +/- keys
371 - Add a context menu entry for projection perspective/orthographic
372 - Fix some bugs on windows in export dialog
373
37415th January 2008, Laurent Garnier
375 - Fixed some layout problems on export dialog box
376 - Some improvements on exports formats
377 - Fix a bug in the help command : The clic callback on a item was not
378 working on windows
379 - Fix a crash at exit when launched on a MAC.
380 - EPS export format is now ready for Qt3
381 - Add Vectoriel EPS export format
382 - Fix an aspect ratio deformation when resize the widget
383 - Fix a crash at launch with leopard
384 - When selecting the "move" mouse action, this action was set even when
385 mouse button was released. Fixed : Now we should clic to have the move action
386 - GNUmakefile : Added a macro for moc file
387 - Moc files : Suppression of all theses files. They are now autogenerated
388 thanks to config/common.gmk
389
3904th January 2008 John Allison (opengl-V09-01-00)
391- Implemented extended 2D interface.
392
39330th November 2007 Laurent Garnier
394- Improvements for Qt3
395- moc files : Adding other versions for QT_MOC_REVISION 28,58 and
396 59, but this is not the right solution..
397
39819th November 2007 Joseph Perl (for Laurent Garnier) (opengl-V09-00-04)
399- Added GEANT4_QT_DEBUG flag to more places
400
40115th November 2007 John Allison (opengl-V09-00-03)
402- Re-introduced Qt files, now properly protected by cpp flags.
403- cpp flags also added to some other files not previously properly protected.
404
40515 Nov 2007, Laurent Garnier
406 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
407 - G4UIQt,G4Qt : Compilation improvements for Qt3
408 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
409
41014 Nov 2007, Laurent Garnier
411 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
412 Qt4
413 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
414 Adding protection for Qt version between 4.0 and 4.2
415
41613th November 2007 John Allison (opengl-V09-00-02)
417- Removed Qt files from tag. File are still at head - need fixing.
418
41913 Nov 2007, Laurent Garnier
420 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
421 including Qt3 and Qt4 moc support
422
42310th November 2007 John Allison (opengl-V09-00-01)
424- Moved WinSize_x, y to base class G4OpenGLViewer.
425- Minor improvement in guidance for /vis/ogl/printEPS.
426
42709 Nov 2007, Laurent Garnier
428 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
429
43008 Nov 2007, Laurent Garnier
431 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
432 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
433
43427 Sept 2007, Laurent Garnier
435 - Adding sur files for G4UIQt driver :
436 - G4OpenGLImmediateQt.cc
437 - G4OpenGLImmediateQtViewer.cc
438 - G4OpenGLQtExportDialog.cc
439 - G4OpenGLQtViewer.cc
440 - G4OpenGLStoredQt.cc
441 - G4OpenGLStoredQtViewer.cc
442 - moc_G4OpenGLQtExportDialog.cc
443 - moc_G4OpenGLQtViewer.cc
444
44528th September 2007 lgarnier
446- first import of G4UI Qt files : Do not try to compil them
447
44821st August 2007 John Allison (opengl-V09-00-00)
449- Removed redundant G4OpenGLXViewerMessenger.
450
45125th May 2007 John Allison (opengl-V08-03-03)
452- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
453 Fixed gcc-4.1.2 compiler warnings.
454
45525th May 2007 John Allison (opengl-V08-03-02)
456- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
457
45824th May 2007 John Allison (opengl-V08-03-01)
459- Fixes for SUN.
460
46116th May 2007 John Allison (opengl-V08-03-00)
462- Fix compiler warnings on SLC4.
463- Bug fixes:
464 o Correct path /vis/ogl/set/printMode.
465 o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
466 and "/vis/ogl/printEPS").
467
4688th May 2007 John Allison (opengl-V08-02-06)
469- Moved vectored PostScript printing to G4OpenGLViewer.
470- /vis/ogl/printEPS should work for all viewers, including Win32.
471- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
472 effective on X windows (and still somewhat buggy).
473
4744th April 2007 John Allison (opengl-V08-02-05 - needs visman-V08-02-04)
475- Implemented picking for OGLSX ( as well as OGLIX). Hopefully works
476 for OGL*Win32. Still doesn't work for OGL*Xm.
477
4783rd April 2007 John Allison (opengl-V08-02-04 - needs visman-V08-02-03)
479- G4OpenGLStoredSceneHandler:
480 o Re-organised display lists on a per-primitive basis, i.e., one
481 display list per primitive. (This is so that, except for text,
482 the colour - or, rather, intensity - can be brought out of the
483 display list into the TOList (Transient Object List) and
484 controlled for the Display-by-Time feature. Previously, if more
485 than one primitive were drawn between BeginPrimitives and
486 EndPrimitives, it would finish up all in one display list, colour
487 commands included. Rationalises and fixes a rare bug in the
488 Display-by-Time feature - see August 2006.)
489 o Added AddPrimitive(const G4Polymarker&) so that it is treated as
490 one primoitive to fit with the above re-organisation.
491- Implemented picking for OGLIX.
492
49325th March 2007 John Allison (opengl-V08-02-03)
494- Fix compiler warnings.
495
4968th February 2007 John Allison (opengl-V08-02-02)
497- Fixed Windows problem with DBL_MAX. (Introduced G4OPENGL_DBL_MAX.)
498- G4OpenGLXViewer.cc: Small bug fix in print(). (Context was switched
499 .but not switched back. Not serious, because context was always set
500 before normal drawing.)
501
5029th January 2007 John Allison (opengl-V08-02-01)
503- Implemented bitmap markers for MarkerSizeType == screen. (The old
504 polygon implementation remains for MarkerSizeType == world.)
505- Added G4OpenGLBitMapStore to assist the above.
506- G4OpenGLXViewer::CreateGLXContext:
507 o Bug fix: Added missing break in colormap lookup routine.
508
5095th January 2007 John Allison (opengl-V08-02-00)
510- G4OpenGLSceneHandler.cc:
511 o Followed change of signature of GetLineWidth in visman-V08-02-00.
512 o Minor efficiency improvements.
513
51421st November 2006 John Allison (opengl-V08-01-09)
515- Fixed compiler warnings.
516
5171st November 2006 John Allison (opengl-V08-01-08)
518- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command
519 actually initiates a print, rather than set a flag for printing.
520
52124th October 2006 John Allison (opengl-V08-01-07)
522- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
523- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
524
52519th September 2006 John Allison (opengl-V08-01-06)
526- Added time origin for light front.
527- Added /vis/ogl/set/transparency.
528- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
529
5304th September 2006 John Allison (opengl-V08-01-05)
531- Implement cutaways.
532- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
533 primitives (see detector being drawn).
534- /vis/oglx/set/printEPS: change parameter default to true.
535
53630th August 2006 John Allison (opengl-V08-01-04)
537- G4OpenGLSceneHandler:
538 o Implemented line width.
539 o Switched off back face culling when clipping so that the inside of
540 volumes can be seen.
541 o Added CreateSection/CutawayPolyhedron to exploit generic
542 sectioning (DCUT) and cutaways. Currently not activated due to
543 instabilities in BooleanProcessor. Local sectioning still active
544 but broken (at least on Mac) due to apparent change in effect of
545 clipping planes (polyhedron edges not reconstructed).
546 o Rationalised calculation of marker size.
547- G4OpenGLStoredSceneHandler:
548 o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
549 o Pick up time range from G4VisAttributes.
550- G4OpenGLViewer(Messenger):
551 o Added position and colour to /vis/ogl/set/displayHeadTime.
552 o Added /vis/ogl/set/displayLightFront.
553- G4OpenGLStoredViewer.cc:
554 o Rationalised CompareForKernelVisit. (Local sectioning still active.)
555 o Added position and colour to DisplayHeadTime.
556 o Added DisplayLightFront.
557
55816th August 2006 John Allison (opengl-V08-01-03)
559- Corrected Solaris compilation error.
560- Added /vis/ogl/set/fade and displayHeadTime.
561
56214th August 2006 John Allison (opengl-V08-01-02)
563- Needs visman-V08-01-02.
564- G4OpenGLStored: Implemented display-by-time. Only available in
565 stored mode at present. Only implemented for circle, square,
566 polyline and polymarker at present, enough for currently available
567 trajectory models. Time is communicated via G4AttValues.
568- Added G4OpenGLViewerMessenger.
569- Added /vis/ogl/set/startTime and endTime of displayed objects.
570- All factories: Instantiated G4OpenGLViewerMessenger.
571- G4OpenGLViewer: Added fStart/EndTime.
572- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
573 spewPrimitiveEPS and spewSortedFeedback.
574
57517th July John Allison (opengl-V08-01-01)
576- Added /vis/oglx/set/printEPS (prints eps file on every update).
577
5783rd July 2006 John Allison (opengl-V08-01-00)
579- Elimination of redundant variable doublebuffer and implementation of
580 FinishView in all viewers.
581
58230th May 2006 Joseph Perl (opengl-V08-00-08)
583- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
584 variable seems to have random behavior and should be assumed false for
585 this viewer.
586
58729th May 2006 Joseph Perl (opengl-V08-00-07)
588- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
589 Removed common FinishView and instead made separate FinishView for the two different
590 versions of this viewer since each wants a different buffer swapping behaviour.
591
59212th May 2006 John Allison (opengl-V08-00-06)
593- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
594
59528th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14)
596- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
597 recomputing transients.
598
59924th April 2006 John Allison (opengl-V08-00-04)
600- Fixed compilation problem on Windows.
601
60219th April 2006 John Allison (opengl-V08-00-03)
603- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
604 G4OpenGLImmediateSceneHandler:
605 o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
606 greps-V08-00-02).
607 o Migrated to direct access to G4PhysicalVolumeModel.
608- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
609 of display lists in DrawView.
610
61114th March 2006 John Allison (opengl-V08-00-02)
612- Refined display list building and re-drawing algorithm.
613 o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
614 o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
615- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
616 re-use algorithm. In test19 with global culling off, numbers of
617 display lists used are:
618 o 191 No re-use:
619 o 73 Before this change: re-use except replicas (includes parameterised).
620 o 33 After this change: re-use except parameterised and replicas in radius.
621
62226th January 2006 John Allison (opengl-V08-00-01)
623- Coworks with visman-V08-00-04 (removed fModified).
624- Removed references to fModified.
625- Tidying: Removed unnecessary ClearView.
626- G4OpenGLSceneHandler.cc: Added some (commented out) code for
627 possible future implementation of 2D drawing.
628- G4OpenGLXViewer.cc: Improved exception printing.
629
63011th January 2006 John Allison (opengl-V08-00-00)
631- Improved efficiency: all DrawView's:
632 o Don't call ClearView.
633 o Set flag so SetView will not be called in ProcessView.
634 o Leave background colour to ClearView.
635- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
636- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
637 for current viewer.
638
63924th November 2005 John Allison (opengl-V07-01-09)
640- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
641
64222nd November 2005 John Allison (opengl-V07-01-08)
643- Added G4OpenGLXmViewerMessenger.
644- Corrected text position.
645- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
646
64717th November 2005 Gabriele Cosmo
648- Fixed settings of background style for WIN32 viewers.
649
65013th November 2005 John Allison (opengl-V07-01-07)
651- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
652
65313th October 2005 John Allison (opengl-V07-01-06)
654- Allowed any colour background.
655- Implemented non-uniform scaling.
656- Migration to <sstream>.
657
65829th September 2005 John Allison (opengl-V07-01-05)
659- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
660 scene handler.
661- Re-implemented transparency button in OpenGLXm.
662
66313th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02)
664- Implemented white background for all OGL viewers.
665- G4OpenGLSceneHandler.cc:
666 o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
667 o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
668 o Corrected GetTextColour(text).
669 o Corrected GetColour(polyhedron).
670
6715th September 2005 John Allison (opengl-V07-01-03)
672- Bug fix: stored transparent objects were being lost.
673
6742nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01)
675- Bug fix: edgeflags problem introduced with smooth shading in
676 opengl-V07-01-00.
677- Implementation of a "better algorithm" for the rendering of
678 transparent polyhedron objects. It renders all opaque objects
679 first, then renders the transparent objects with the depth buffer in
680 read-only mode (see OpenGL Programming Guide). It uses the new
681 facility in G4VSceneHandler::ProcessScene for an optional second pass
682 of the run-duration models in the scene. Note this algorithm is
683 still only an approximation. It will still give the wrong blended
684 colour if two transparent objects are rendered front first. For
685 nested transparent objects, this is unfortunate, because
686 G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
687 in such a way that mothers come first. Also, there is no guaranteed
688 relationship between the order of rendering and the depth of two
689 transparent objects if they are at the same level or in different
690 branches of the hierarchy. Still, the only error will be an
691 incorrect colour - the objects will still give the appearance of
692 transparency, so it's a pretty good algorithm. (An even better
693 algorithm would be to attempt to render the facets in depth order,
694 deepest first. But how do you calculate the depth - centre of area,
695 deepest corner? One can still imagine pathalogical cases that would
696 sometimes give the wrong colour. Also, for stored mode, the order
697 is fixed in a display list so when the user rotates the view, one
698 would lose the depth ordering. I think we have to accept that
699 blending in OpenGL is only ever an approximation. For accurate
700 blending, use RayTracer.)
701
70228th August 2005 John Allison (opengl-V07-01-01)
703- Half-way implementation of rendering of transparent polyhedron
704 objects. In this implementation, no account is taken of the order
705 of rendering. Transparent objects are rendered with depth testing
706 off so that objects behind can still be seen. But this means that
707 opaque objects in front do not obscure them - and they jolly well
708 should! A better algorithm is to render all opaque objects first,
709 then render the transparent objects with the depth buffer in
710 read-only mode (see OpenGL Programming Guide). This is going to
711 take a little more thought - see opengl-V07-01-02.
712
71320th July 2005 John Allison (opengl-V07-01-00)
714- Introduced smooth shading, taking advantage of hitherto un-noticed
715 feature of HepPolyhedron::GetNextFacet that calculates the normals
716 at each vertex so that curved surfaces are rendered more
717 realistically (Gouraud shading).
718- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
719- G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes
720 the default window size. It used to be 400x400, hardcoded in
721 G4OpenGLXmViewer.cc, but now it picks up the
722 G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
723 The user may change it on the command line, e.g:
724 /vis/open OGLSXm 500
725 or
726 /vis/viewer/create ! ! 500
727
72830th May 2005 John Allison (opengl-V07-00-03)
729- Fixed compilation problem in OpenGL on SUN. (Replaced multimap by
730 map of vectors in G4OpenGLFontBaseStore.)
731
7324th May 2005 John Allison (opengl-V07-00-02)
733- Restored sequence Set/Clear/DrawView in ClearTransientStore. (It
734 was taken out to prevent recursive calling, but that seems to be OK,
735 and it is needed to implement refresh at end of event/run.)
736
73722nd April 2005 John Allison (opengl-V07-00-01)
738- Rationalised work of opengl-V07-00-00. Functionality unchanged.
739 o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
740 o In all concrete viewers, added call to CreateFontLists().
741 o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
742 o There is no longer a need to implement in the XmViewer, since it
743 now inherits. Thus the font code now only appears once for X.
744 o Awaiting implementation for WIN32.
745
74617th April 2005 John Allison (opengl-V07-00-00)
747- Based on vis-V07-00-13.
748- Implemented text for X-Windows viewers. Uses glXUseXFont, which
749 creates display lists for nominated fonts. Simple-minded scheme in
750 which each viewer creates its own font display lists for a variety
751 of sizes, which are accessed by the scene handler through a new
752 class, G4OpenGLFontBaseStore. Affected methods:
753 G4OpenGLXViewer::CreateMainWindow()
754 G4OpenGLXmViewer::CreateMainWindow()
755 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
756
75718th November 2004 John Allison (opengl-V06-02-07)
758- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
759
76015th November 2004 Guy Barrand
761- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
762 to see trajectories (for example with N03). Correct so that
763 ShowView do a FinishView that does : glFlush, wglSwapBuffer
764 and empty the Windows message queue.
765
76622nd September 2004 John Allison (opengl-V06-02-06)
767- doxygen output to tmp area.
768- Trap non-regular polyhedrons.
769
77013th September 2004 Gabriele Cosmo (opengl-V06-02-05)
771- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
772 to allow for porting on CLHEP-1.9.X series.
773
77423rd July 2004 John Allison
775- Draws auxiliary edges if required.
776- Added auxiliary edge button.
777
77816th July 2004 John Allison (opengl-V06-02-04)
779- Refinements to hidden line, hidden surface removal.
780
78114th July 2004 John Allison (opengl-V06-02-03)
782- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
783
78413th July 2004 John Allison (opengl-V06-02-02)
785- Hidden line *and* hidden surface removal now works.
786
7879th July 2004 John Allison (opengl-V06-02-01)
788- Fixed long-standing problem with hidden line removal.
789- Improved messages on failure to get visual.
790- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
791 systems provided by default anyway, so no effect.
792
7931st July 2004 John Allison (opengl-V06-02-00)
794- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
795- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
796
79718th June 2004 Gunter Folger (geant4-06-02)
7989th June 2004 Gabriele Cosmo (vis-V06-01-03)
7997th June 2004 Gabriele Cosmo (vis-V06-01-02)
800- GNUmakefile and disclaimer changes - see visualization/History.
801
8029th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00)
803- Tagged OpenGL as below. Joint with interfaces-V06-01-00.
804
8057th April 2004 Guy Barrand
806- visualization/OpenGL/* : use the G4OpenGL.hh file.
807- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
808 the include of gl/gl.h and gl/glu.h that may be platform dependant.
809 It permits to rm some #ifdef WIN32 spread in the code. It opens also
810 the way to the usage of the Apple OpenGL on a Mac.
811
81217th February 2004 John Allison (opengl-V06-00-00)
813- Fixed bug #581: wrong order of statements in
814 G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
815
8164th October 2003 Gabriele Cosmo (vis-V05-02-01)
817- GNUmakefile:
818 o replaced "digits+hits" with "digits_hits".
819- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
820
82122nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00)
822- Cosmetic change to regularise names:
823 o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
824 o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
825
82623rd June 2003 Guy Barrand (opengl-V05-01-02)
827- Commit a first implementation of G4OpenGLWin32Viewer.
828
82910th June 2003 Gabriele Cosmo (opengl-V05-01-01)
830- More fixes for warnings in viewers classes.
831- Added inclusion of <windows.h> for WIN32 platforms when GL headers
832 are included.
833
83405th June 2003 Gabriele Cosmo (opengl-V05-01-00)
835- Fixes for porting compilation on WIN32:
836 o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
837 o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
838 since declared 'obsolete' in WIN32 platforms.
839
84027th November 2002 John Allison (vis-V04-01-08)
841- Improved algorithm of CompareForKernelVisit.
842
84311th November 2002 John Allison (opengl-V04-01-02)
844- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
845- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
846 call default but there as a marker and encourager.
847- Added tracking and digits+hits/hits to GNUmakefile.
848
84916th October 2002 John Allison (opengl-V04-01-01)
850- Fix for WIN32. Now compiles but viewer not implemented.
851
85224th June 2002 John Allison (opengl-V04-01-00)
853- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
854
85510th June 2002 John Allison (opengl-V04-00-03)
856- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
857
8586th June 2002 John Allison (opengl-V04-00-02)
859- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
860
86123rd February 2002 John Allison (opengl-V04-00-01)
862- Changes to encourage compilation on Windows in preparation for
863 implementation of G4OpenGLWin32Viewer. Removed spurious includes of
864 glx.h, unistd.h and assert.h.
865
86624th August 2001 John Allison (vis-V03-02-13)
867- Limited the printing of warnings in
868 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
869
87014th August 2001 John Allison (vis-V03-02-11)
871- Improved KernelVisitDecision.
872- Fixed a few small bugs in multiple "stored" viewers, but see next item.
873- There's an outstanding bug in OpenGL Stored. If there is more than
874 one viewer controlled by a scene handler, after a ClearStore on the
875 scene handler, e.g., with /vis/scene/notifyHandlers, the first
876 viewer to get refreshed should trigger the display list rebuild, but
877 the second need not. However, when the second viewer's turn comes,
878 the display lists are there, and are called, e.g.,
879 G4OpenGLStoredXViewer::DrawView calls
880 G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
881 nothing appears on the screen. To overcome this there is some
882 temporary code in G4VViewer::NeedKernelVisit which marks *all*
883 viewers to force a rebuild. To see the symptoms, comment out that
884 temporary code and issue these commands:
885 /vis/verbose c
886 /control/verbose 2
887 /vis/scene/create
888 /vis/scene/add/volume
889 /vis/sceneHandler/create OGLSX
890 /vis/viewer/create ! ! 1
891 /run/beamOn
892 /vis/viewer/create ! ! 1
893 /vis/viewer/select viewer-0
894 /vis/viewer/viewpointThetaPhi 20 20
895 /vis/viewer/select viewer-1
896 /vis/viewer/viewpointThetaPhi 40 40
897 /vis/viewer/set/style surface
898 /vis/viewer/refresh
899 /vis/viewer/select viewer-0
900 /vis/viewer/refresh
901 /vis/viewer/select viewer-1
902 /vis/viewer/set/style wireframe
903 /vis/scene/notifyHandlers
904 You may have to do this too:
905 /vis/viewer/select viewer-0
906 /vis/scene/notifyHandlers
907 One of the viewers is empty. Curious!!
908
9099th August 2001 John Allison (vis-V03-02-10-00)
910- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
911- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
912 invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
913 picked up by inheritance anyway.
914- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
915- Corrected order of calling base class functions in
916 G4OpenGLStoredSceneHandler::Begin/EndModeling.
917
91824th July 2001 John Allison (vis-V03-02-06)
919- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
920
92114th July 2001 John Allison (opengl-V03-02-00)
922- Fixed crash in optimised mode: added Initialise() to viewers so
923 that windows are opened after viewers are fully constructed.
924
9252nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
926- Tidied G4OpenGLXmViewer callback code. Removed superfluous header files.
927
9287th March 2001 John Allison
929- Changed char* to const char* in many places and that gave problems in
930 calls to Xt and Xm. Hope all's OK. Differences:
931 cvs diff -r vis-V03-00-06 vis-V03-00-07
932
93325th January 2001 John Allison (opengl-V03-00-00)
934- Implemented running re-calculation of up-vector in the case of "object
935 rotation" (lights move with camera) to prevent "flipping" of view when
936 camera passes through up-vector. Note that the default is "camera
937 rotation" (lights do not move with camera, i.e., remain fixed relative
938 to object) so the default is that this "flipping" can happen. To set
939 "object rotation" (lights move with camera) use
940 /vis/lights/move_with_camera true (soon to be
941 /vis/viewer/set/lights move-with-camera) or click "Object" radio button
942 on Rotation Panel in OpenGLXm mode.
943- Changed some objects to references for efficiency. E.g.:
944 const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
945
94622nd May 2000 John Allison (opengl-V01-01-00)
947- Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug
948 by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
949 static XVisualInfo* vi_single_buffer;
950 static XVisualInfo* vi_double_buffer;
951- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
952 G4OpenGLXViewer.
953- Protected double deletion of window in destructors of G4OpenGLXmViewer
954 and G4OpenGLXViewer (Guy Barrand).
955- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
956- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
957 constructors.
Note: See TracBrowser for help on using the repository browser.