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

Last change on this file since 1308 was 1307, checked in by garnier, 15 years ago

fixes et cvs update

File size: 39.3 KB
Line 
1$Id: History,v 1.178 2010/06/04 15:27:47 lgarnier 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
204th June 2010 Laurent Garnier
21- G4OpenGLImmediate/StoredQtViewer : Add protection against multiple
22 repaint call. Add protection against resizeGl with bad values
23
243rd June 2010 John Allison (opengl-V09-03-06)
25- G4OpenGLImmediateSceneHandler: Re-instate
26 // Make sure screen corresponds to graphical database...
27 if (fpViewer) {
28 fpViewer -> SetView ();
29 fpViewer -> ClearView ();
30 fpViewer -> DrawView ();
31 }
32 I was wrong - it *is* necessary. If not there, events are not refreshed.
33 So this and similar changes below are all back to geant4-09-03, including
34 glFlush, which is still a big performance penalty on Mac's Snow Leopard.
35
363rd June 2010 John Allison (opengl-V09-03-05)
37- Restored following files to geant4-09-03 in interests of stable behaviour:
38 o G4OpenGLStoredSceneHandler.cc
39 Restored code removed in opengl-V09-03-03:
40 // Make sure screen corresponds to graphical database...
41 if (fpViewer) {
42 fpViewer -> SetView ();
43 fpViewer -> ClearView ();
44 fpViewer -> DrawView ();
45 }
46 o G4OpenGLStoredXViewer.cc:
47 Restore to geant4-09-03. Restored code removed in opengl-V09-03-03:
48 } else { // ADD TO AVOID KernelVisit=1 and nothing to display
49 DrawDisplayLists ();
50 FinishView ();
51- Note: G4OpenGLImmediateSceneHandler: Same code commented out. I think
52 it's not necessary for immediate mode.
53
5430th May 2010 John Allison (opengl-V09-03-04)
55- G4OpenGLSceneHandler: Added AddCompound(const G4VDigi&).
56
5729th May 2010 John Allison (opengl-V09-03-03)
58- G4OpenGLImmediateSceneHandler.cc, G4OpenGLStoredSceneHandler.cc:
59 Removed the following from ClearTransientStrore (was causing
60 unnecessary drawing and flipping buffers?):
61 // Make sure screen corresponds to graphical database...
62 if (fpViewer) {
63 fpViewer -> SetView ();
64 fpViewer -> ClearView ();
65 fpViewer -> DrawView ();
66 }
67- G4OpenGLStoredXViewer.cc:
68 Commented out as follows in DrawView (was causing extra buffer swap,
69 thus showing bad picture; can't recall why it was introduced):
70 } else { // ADD TO AVOID KernelVisit=1 and nothing to display
71 //DrawDisplayLists (); ????????? (JA)
72 //FinishView (); ????????? (JA)
73
7426th May 2010 Laurent Garnier (opengl-V09-03-02)
75 - G4OpenGLQtViewer : Some improvments with auto rotation mode.
76
7720th May 2010 Laurent Garnier (opengl-V09-03-01)
78 Co-working tag : intercoms-V09-03-01, interfaces-V09-03-02
79 - GNUMakefile, G4OpenGLQtViewer : Better inclusion of new tabs in UI part
80
8111th May 2010 John Allison (opengl-V09-03-00)
82- G4OpenGLSceneHandler:
83 o Use generic section and cutaway algorithm.
84 o Follow change in generic section and cutaway interface.
85- G4OpenGLViewer.cc:
86 o Use generic section and cutaway algorithm.
87 o Fix compiler warning (*p++).
88 o Replace strdup by local inline code.
89
9029th April 2010 Laurent Garnier
91 - G4OpenGLSceneHandler : Speed Improvment by drawing vector of
92 markers instead one by one
93
9427th April 2010 Laurent Garnier
95 - G4OpenGLStoredXmViewer : remove viewer form list at destruction
96 - G4OpenGLViewer : Fix a problem when printing in gl2ps
97
989th March 2010 Laurent Garnier
99 - G4OpenGLViewer : Fix clipping when resizing non square size windows
100 Remove error message when no scene present.
101 - G4OpenGLImmediateQtViewer, G4OpenGLStoredQtViewer :
102 - Add some protections if viewer is in tab
103 - fix some redraw probems when focus was outside frame
104 - Add ShowView() and paintEvent() methods
105 - DrawView method is now the same in Store and Immediate mode
106 - G4OpenGLQtViewer : Add things for viewer in tabs
107
1083rd March 2010 Laurent Garnier
109- G4OpenGLViewer : Add protection against null pointer scene
110
11127th January 2010 Gabriele Cosmo
112- Fixed compilation warnings on G4OpenGLQtViewer and corrected compilation
113 error when using Qt-3.
114
1156th January 2010 Laurent Garnier (needs interfaces-V09-02-07 + laurent-QtUI_with_tabs_v1)
116- GNUMakefile : Add include for interfaces/basic
117- G4OpenGLQtWiewer : Integration into QtUI Tab
118
11917th November 2009 John Allison (opengl-V09-02-10)
120- Tagged for vis tag.
121
12217th November 2009 Gabriele Cosmo
123- Fixed problem in the generation of dependencies on Windows for some
124 files, due to redefinition of min and max macros from windows.h in
125 G4OpenGL.hh.
126- Fixed GNUmakefile.
127
1283rd November 2009 John Allison (opengl-V09-02-09 coworks greps-V09-02-03)
129- Tagged for system testing.
130
1313rd November 2009 Laurent Garnier
132- G4OpenGLImmediateQtViewer, G4OpenGLStoredQtViewer : Protec Qt4 method
133 introduce 13rd october 09 by ifdef
134
1353rd November 2009 John Allison
136- G4OpenGLXmPanningCallbacks: Fixed pView compilation problem.
137
13821 October 2009 Laurent Garnier
139 - G4OpenGLQtViewer : Prepare to attach viewer In UI
140
14121st October 2009 John Allison (opengl-V09-02-08 coworks greps-V09-02-02)
142- Added default AddCompound (const G4THitsMap<G4double>&) methods.
143 o Prevents warnings about hiding - calls G4VSceneHandler base class.
144
14515 October 2009 Laurent Garnier
146 - G4OpenGLViewer.cc : Fix a problem with printing. On mac OSX version
147 > 10.5.7? or Ubuntu > 9.04? AND with user account configure in french
148 (or canadian I believe), the decimal point character was defined by
149 "," (see LC_NUMERIC). This cause a problem on reading eps files.
150 Changed "," to "."
151
15213 October 2009 Laurent Garnier
153 - G4OpenGLImmediateQtViewer/StoredQtViewer : some cleaning
154 - G4OpenGLImmediateQtViewer : Remove picking to true at initialisation
155 - G4OpenGLQtViewer.cc : Fix a redraw problem on mac OS X 10.6
156 - G4OpenGLStoreQtViewer.cc,G4OpenGLImmediateQtViewer.cc : Fix width()
157 and height() problem on mac OS X 10.6
158
15929 September 2009 John Allison (opengl-V09-02-07)
160- Tagged.
161
16218 August 2009 Laurent Garnier
163 - G4OpenGLXmViewer : Fix a wrong initialization introduce by the
164 new way of handling window size hints (January 2009)
165
16629 July 2009, Laurent Garnier
167 - G4OpenGLQtViewer : Ensure the GL frame size will be correct
168 by setting a 0 size margin around
169
17027 July 2009, Laurent Garnier
171 - G4OpenGLStoredQtViewer : Remove picking to true at initialisation
172
17320 May 2009, Laurent Garnier (opengl-V09-02-06)
174 - Fixed compilation errors on WIN32-VC for WIN32 specific drivers.
175
17618 May 2009, Joseph Perl (opengl-V09-02-05)
177 - Correct G4OpenGLViewerMessenger.hh
178
17914 May 2009, Laurent Garnier (opengl-V09-02-04)
180 - G4OpenGLViewer : Add methods to manage print size and filename
181 - G4OpenGLViewerMessenger : Added /vis/ogl/set/printSize
182 - G4OpenGLViewerMessenger : Added /vis/ogl/set/printFilename
183 - G4OpenGLQtViewer.cc,G4OpenGLXmMainMenuBarCallback.cc, renaming
184 according to first point.
185
18613 May 2009, Laurent Garnier
187 - G4OpenGLStoredQtViewer.cc: Fix a second view redraw at ShowView() call
188 - G4OpenGLQtViewer : Remove unuseful variables, renaming others
189 - G4OpenGLViewer : Add method for resizing properly windows. Add methods
190 to get window width, height and to know if size has changed
191 - G4OpenGLQtViewer, G4OpenGLStoredQtViewer, G4OpenGLImmediateQtViewer,
192 G4OpenGLXmViewer, G4XmWindowsHandlingCallback, G4OpenGLXViewer :
193 Apply the previous changes.
194
1956 May 2009, Laurent Garnier
196 - G4OpenGLQtViewer.cc: Fix compilation warning and error with gcc4.4
197
19828th April 2009, John Allison
199 - G4OpenGLViewerMessenger.cc: Added return statement at end of every
200 "if (command == ..." statement. (Because of test for OGLS, it is
201 not elegant to use "if...else if...else" structure.)
202
20328th April 2009, Laurent Garnier
204 - G4OpenGLXViewer,G4OpenGLViewer : End of moving printEPS and associated
205 functions from GLXViewer to GLViewer.
206 - G4OpenGLXViewer :
207 - Remove debug methods
208 - Add check in SetView() method
209 - G4OpenGLViewer : Add a glReadBuffer before glReadPixel in grabPixel method
210
2118th April 2009, Laurent Garnier
212 - G4OpenGLBitmapStore.hh : BugFix correction for windows (introduce 2nd February ?)
213 - G4OpenGLViewer.hh : move methods in private
214 - G4OpenGLXViewer.hh : Add debug methods
215 - G4OpenGLImmediateXmViewer.cc, G4OpenGLStoredViewer.cc, G4OpenGLStoredXmViewer.cc,
216 G4OpenGLStoredXViewer.cc, G4OpenGLViewer.cc : Add debug messages
217 - G4OpenGLStoredXmViewer.cc,G4OpenGLStoredXViewer.cc, G4OpenGLStoredWin32Viewer.cc :
218 - Add a DrawDisplay list in case of KernelVisit=1 and nothing new to display.
219 - Add a flush at the end of the view.
220 - G4OpenGLViewer.cc :
221 - Improve the fix and resizing when X/Y size was even (lack of precision
222 in a /2)
223 - Set line/point size at a default size when printing.
224 - G4OpenGLXmWindowsHandlingCallbacks.cc : print method rename in printEPS
225 - G4OpenGLXViewer.cc : Lot of changes, try to debug it. Pb when printing in pixmap
226 mode on some windows size
227
2286th April 2009, Joseph Perl (opengl-V09-02-02, then opengl-V09-02-03)
229 - New tag to clean up all of the cases of files that changed only in the cvs id.
230
23124th March 2009, Laurent Garnier (opengl-V09-02-01)
232 - G4OpenGLViewer : Add a fix and resizing when X/Y size was even (lack of precision
233 in a /2)
234
23518th March 2009 John Allison
236- G4OpenGLViewerMessenger.cc: printMode and transparency are available
237 for all OGL windows (they were previously inadvertently hidden by
238 an OGLS requirement).
239
24016th March 2009, Laurent Garnier
241 - G4OpenGLViewer : Add a check on max viewport dimensions when setting size.
242
2434rd March 2009, Laurent Garnier
244 - G4OpenGLQtViewer:
245 - Suppress some warnings when saving file
246 - Changing size is now allowed when saving (to save with better resolution than screen size)
247 - G4OpenGLViewer:
248 - Some renaming for print methods to be more clear about Vectored and non Vectored
249 - Now using Gl2PS method to do PS (changes also in G4OpenGLXViewer and G4OpenGLQtViewer)
250 - Suppress unuseful printX methods (heritated form XViewer)
251 - Add methods to handle printVectored and NonVector cases
252 - G4OpenGLViewerMessanger : Changes methods to get new G4OpenGLViewer methods to print
253
2541st March 2009, Laurent Garnier
255 - Remplacing glBitmap by GL_POINTS to draw marker : Speed improvment
256 and gl2ps can now draw Markers.
257
25816 February 2009, Laurent Garnier
259 - Modifications in GNUMakefile for gl2ps.
260 - G4OpenGLViewer,G4OpenGLViewerMessenger.cc,G4OpenGLXmMainMenubarCallbacks.cc
261 ,G4OpenGLXmViewer.cc modified for gl2ps and some renaming "print" in
262 "printVectoredEPS"
263
2642nd February 2009 Laurent Garnier
265- Improve Anticipate headers declaration in all files
266- Factorize grabPixels function in G4OpenGLViewer
267- Begin of refactoring printEPS function
268
26922th January 2009 Laurent Garnier
270- Fix bug in ratio and geometry on X/Xm/Qt/Win32 viewers
271
27219th January 2009 Laurent Garnier
273- Change G4DEBUG definition by G4DEBUG_VIS_OGL
274
27512th January 2009 John Allison
276- G4OpenGLViewer.cc: Pick up X and Y window size hints to define viewport.
277
2782 December, Laurent Garnier
279 - G4OpenGLImmediateXmViewer,G4OpenGLStoredXmViewer,G4OpenGLXmViewer
280 G4OpenGLImmediateXViewer, G4OpenGLStoredXViewer, G4OpenGLXViewer,
281 G4OpenGLXmWindowHandlingCallbacks,
282 G4OpenGLImmediateQtViewer.cc, G4OpenGLStoredQtViewer, G4OpenGLQtViewer
283 G4OpenGLImmediateWin32Viewer.cc, G4OpenGLStoredWin32Viewer, G4OpenGLWin32Viewer
284 -> Replace WinSize by fWinSize and some improvments about size initialization
285
286 - G4OpenGLQtViewer.hh : Suppress WinSize private variable
287 - Now Could pass XString like 400x600-0+0 to viewers and set position and location. It
288 will work for Qt, X, Win32 for the moment.
289
29024 October, Laurent Garnier (opengl-V09-01-03)
291 - Change GEANT4_QT_DEBUG flag by QTDEBUG
292 - Suppress unuseful DEBUG messages
293
29412th October Laurent Garnier
295 - G4OpenGLQtExportDialog : improvments for Qt3"
296 - G4OpenGLQtViewer,G4OpenGLImmediateQtViewer,G4OpenGLStoreQtViewer : Add the name on OpenGlQt viewers
297 - G4OpenGLStoredQtViewer,G4OpenGLImmediateQt, G4OpenGLStoredQt : Change OGLSQT and OGLIQT by OGLSQt and OGLIQt
298
2992 October Laurent Garnier
300 - Fix a crash when there was no scene.
301
30228 July Laurent Garnier
303 - Fix a bug in XmRotation panel introduce in last commit by myself.
304
30520th June 2008 Laurent Garnier
306 - Correct some warnings
307 - Move rotation code of Xm and Qt in G4OpenGLViewer::rotateScene. Same code in now shared
308
30912th June 2008 Laurent Garnier
310 - Emit signals when moving/rotate scene, in order to get them in external app
311
31228th Mai 2008 Laurent Garnier
313 - Add mouse wheel zoom commands
314
31528th April 2008 Laurent Garnier
316 - Add better moc control/compilation step in GNUmakefile
317 - Fix a problem when launching QT VIS without QT UI (N02 for example)
318
31928th April 2008 John Allison (opengl-V09-01-02)
320- G4OpenGLStoredSceneHandler: Tidied constructors of nested classes.
321
3224th April 2008 John Allison (opengl-V09-01-01)
323- Fixed DBL_MAX problem in 2D drawing:
324 o changed G4OPENGL_DBL_MAX to G4OPENGL_FLT_BIG.
325- Fix gcc-4.3.0 compiler warnings.
326
32711th March 2008, Laurent Garnier
328 - Resolve QT3 compilation errors
329
33010th March 2008, Laurent Garnier
331 - Add a dialog panel to make movies (Right button->Actions->Movie parameters)
332 - Add ability to "auto rotate" volume launched with quick mouse move
333 - Lots of improvments for Qt3
334 - Improvments on moving steps with shortcuts
335 - Could now select between orthogonal/perspective view mode
336
3371st February 2008 John Allison
338 - G4OpenGLQtViewer.cc: Fix #ifdef QT protection.
339 - G4OpenGLSceneHandler.cc: Small improvement to logic of setting GL_LIGHTING.
340
34130th January 2008, Laurent Garnier
342 - Add moving camera on left/right/up/down arrown, going forward/backward
343 on SHIFT+up/down, zoom in with +/- keys
344 - Add a context menu entry for projection perspective/orthographic
345 - Fix some bugs on windows in export dialog
346
34715th January 2008, Laurent Garnier
348 - Fixed some layout problems on export dialog box
349 - Some improvements on exports formats
350 - Fix a bug in the help command : The clic callback on a item was not
351 working on windows
352 - Fix a crash at exit when launched on a MAC.
353 - EPS export format is now ready for Qt3
354 - Add Vectoriel EPS export format
355 - Fix an aspect ratio deformation when resize the widget
356 - Fix a crash at launch with leopard
357 - When selecting the "move" mouse action, this action was set even when
358 mouse button was released. Fixed : Now we should clic to have the move action
359 - GNUmakefile : Added a macro for moc file
360 - Moc files : Suppression of all theses files. They are now autogenerated
361 thanks to config/common.gmk
362
3634th January 2008 John Allison (opengl-V09-01-00)
364- Implemented extended 2D interface.
365
36630th November 2007 Laurent Garnier
367- Improvements for Qt3
368- moc files : Adding other versions for QT_MOC_REVISION 28,58 and
369 59, but this is not the right solution..
370
37119th November 2007 Joseph Perl (for Laurent Garnier) (opengl-V09-00-04)
372- Added GEANT4_QT_DEBUG flag to more places
373
37415th November 2007 John Allison (opengl-V09-00-03)
375- Re-introduced Qt files, now properly protected by cpp flags.
376- cpp flags also added to some other files not previously properly protected.
377
37815 Nov 2007, Laurent Garnier
379 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
380 - G4UIQt,G4Qt : Compilation improvements for Qt3
381 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
382
38314 Nov 2007, Laurent Garnier
384 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
385 Qt4
386 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
387 Adding protection for Qt version between 4.0 and 4.2
388
38913th November 2007 John Allison (opengl-V09-00-02)
390- Removed Qt files from tag. File are still at head - need fixing.
391
39213 Nov 2007, Laurent Garnier
393 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
394 including Qt3 and Qt4 moc support
395
39610th November 2007 John Allison (opengl-V09-00-01)
397- Moved WinSize_x, y to base class G4OpenGLViewer.
398- Minor improvement in guidance for /vis/ogl/printEPS.
399
40009 Nov 2007, Laurent Garnier
401 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
402
40308 Nov 2007, Laurent Garnier
404 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
405 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
406
40727 Sept 2007, Laurent Garnier
408 - Adding sur files for G4UIQt driver :
409 - G4OpenGLImmediateQt.cc
410 - G4OpenGLImmediateQtViewer.cc
411 - G4OpenGLQtExportDialog.cc
412 - G4OpenGLQtViewer.cc
413 - G4OpenGLStoredQt.cc
414 - G4OpenGLStoredQtViewer.cc
415 - moc_G4OpenGLQtExportDialog.cc
416 - moc_G4OpenGLQtViewer.cc
417
41828th September 2007 lgarnier
419- first import of G4UI Qt files : Do not try to compil them
420
42121st August 2007 John Allison (opengl-V09-00-00)
422- Removed redundant G4OpenGLXViewerMessenger.
423
42425th May 2007 John Allison (opengl-V08-03-03)
425- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
426 Fixed gcc-4.1.2 compiler warnings.
427
42825th May 2007 John Allison (opengl-V08-03-02)
429- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
430
43124th May 2007 John Allison (opengl-V08-03-01)
432- Fixes for SUN.
433
43416th May 2007 John Allison (opengl-V08-03-00)
435- Fix compiler warnings on SLC4.
436- Bug fixes:
437 o Correct path /vis/ogl/set/printMode.
438 o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
439 and "/vis/ogl/printEPS").
440
4418th May 2007 John Allison (opengl-V08-02-06)
442- Moved vectored PostScript printing to G4OpenGLViewer.
443- /vis/ogl/printEPS should work for all viewers, including Win32.
444- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
445 effective on X windows (and still somewhat buggy).
446
4474th April 2007 John Allison (opengl-V08-02-05 - needs visman-V08-02-04)
448- Implemented picking for OGLSX ( as well as OGLIX). Hopefully works
449 for OGL*Win32. Still doesn't work for OGL*Xm.
450
4513rd April 2007 John Allison (opengl-V08-02-04 - needs visman-V08-02-03)
452- G4OpenGLStoredSceneHandler:
453 o Re-organised display lists on a per-primitive basis, i.e., one
454 display list per primitive. (This is so that, except for text,
455 the colour - or, rather, intensity - can be brought out of the
456 display list into the TOList (Transient Object List) and
457 controlled for the Display-by-Time feature. Previously, if more
458 than one primitive were drawn between BeginPrimitives and
459 EndPrimitives, it would finish up all in one display list, colour
460 commands included. Rationalises and fixes a rare bug in the
461 Display-by-Time feature - see August 2006.)
462 o Added AddPrimitive(const G4Polymarker&) so that it is treated as
463 one primoitive to fit with the above re-organisation.
464- Implemented picking for OGLIX.
465
46625th March 2007 John Allison (opengl-V08-02-03)
467- Fix compiler warnings.
468
4698th February 2007 John Allison (opengl-V08-02-02)
470- Fixed Windows problem with DBL_MAX. (Introduced G4OPENGL_DBL_MAX.)
471- G4OpenGLXViewer.cc: Small bug fix in print(). (Context was switched
472 .but not switched back. Not serious, because context was always set
473 before normal drawing.)
474
4759th January 2007 John Allison (opengl-V08-02-01)
476- Implemented bitmap markers for MarkerSizeType == screen. (The old
477 polygon implementation remains for MarkerSizeType == world.)
478- Added G4OpenGLBitMapStore to assist the above.
479- G4OpenGLXViewer::CreateGLXContext:
480 o Bug fix: Added missing break in colormap lookup routine.
481
4825th January 2007 John Allison (opengl-V08-02-00)
483- G4OpenGLSceneHandler.cc:
484 o Followed change of signature of GetLineWidth in visman-V08-02-00.
485 o Minor efficiency improvements.
486
48721st November 2006 John Allison (opengl-V08-01-09)
488- Fixed compiler warnings.
489
4901st November 2006 John Allison (opengl-V08-01-08)
491- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command
492 actually initiates a print, rather than set a flag for printing.
493
49424th October 2006 John Allison (opengl-V08-01-07)
495- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
496- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
497
49819th September 2006 John Allison (opengl-V08-01-06)
499- Added time origin for light front.
500- Added /vis/ogl/set/transparency.
501- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
502
5034th September 2006 John Allison (opengl-V08-01-05)
504- Implement cutaways.
505- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
506 primitives (see detector being drawn).
507- /vis/oglx/set/printEPS: change parameter default to true.
508
50930th August 2006 John Allison (opengl-V08-01-04)
510- G4OpenGLSceneHandler:
511 o Implemented line width.
512 o Switched off back face culling when clipping so that the inside of
513 volumes can be seen.
514 o Added CreateSection/CutawayPolyhedron to exploit generic
515 sectioning (DCUT) and cutaways. Currently not activated due to
516 instabilities in BooleanProcessor. Local sectioning still active
517 but broken (at least on Mac) due to apparent change in effect of
518 clipping planes (polyhedron edges not reconstructed).
519 o Rationalised calculation of marker size.
520- G4OpenGLStoredSceneHandler:
521 o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
522 o Pick up time range from G4VisAttributes.
523- G4OpenGLViewer(Messenger):
524 o Added position and colour to /vis/ogl/set/displayHeadTime.
525 o Added /vis/ogl/set/displayLightFront.
526- G4OpenGLStoredViewer.cc:
527 o Rationalised CompareForKernelVisit. (Local sectioning still active.)
528 o Added position and colour to DisplayHeadTime.
529 o Added DisplayLightFront.
530
53116th August 2006 John Allison (opengl-V08-01-03)
532- Corrected Solaris compilation error.
533- Added /vis/ogl/set/fade and displayHeadTime.
534
53514th August 2006 John Allison (opengl-V08-01-02)
536- Needs visman-V08-01-02.
537- G4OpenGLStored: Implemented display-by-time. Only available in
538 stored mode at present. Only implemented for circle, square,
539 polyline and polymarker at present, enough for currently available
540 trajectory models. Time is communicated via G4AttValues.
541- Added G4OpenGLViewerMessenger.
542- Added /vis/ogl/set/startTime and endTime of displayed objects.
543- All factories: Instantiated G4OpenGLViewerMessenger.
544- G4OpenGLViewer: Added fStart/EndTime.
545- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
546 spewPrimitiveEPS and spewSortedFeedback.
547
54817th July John Allison (opengl-V08-01-01)
549- Added /vis/oglx/set/printEPS (prints eps file on every update).
550
5513rd July 2006 John Allison (opengl-V08-01-00)
552- Elimination of redundant variable doublebuffer and implementation of
553 FinishView in all viewers.
554
55530th May 2006 Joseph Perl (opengl-V08-00-08)
556- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
557 variable seems to have random behavior and should be assumed false for
558 this viewer.
559
56029th May 2006 Joseph Perl (opengl-V08-00-07)
561- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
562 Removed common FinishView and instead made separate FinishView for the two different
563 versions of this viewer since each wants a different buffer swapping behaviour.
564
56512th May 2006 John Allison (opengl-V08-00-06)
566- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
567
56828th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14)
569- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
570 recomputing transients.
571
57224th April 2006 John Allison (opengl-V08-00-04)
573- Fixed compilation problem on Windows.
574
57519th April 2006 John Allison (opengl-V08-00-03)
576- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
577 G4OpenGLImmediateSceneHandler:
578 o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
579 greps-V08-00-02).
580 o Migrated to direct access to G4PhysicalVolumeModel.
581- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
582 of display lists in DrawView.
583
58414th March 2006 John Allison (opengl-V08-00-02)
585- Refined display list building and re-drawing algorithm.
586 o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
587 o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
588- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
589 re-use algorithm. In test19 with global culling off, numbers of
590 display lists used are:
591 o 191 No re-use:
592 o 73 Before this change: re-use except replicas (includes parameterised).
593 o 33 After this change: re-use except parameterised and replicas in radius.
594
59526th January 2006 John Allison (opengl-V08-00-01)
596- Coworks with visman-V08-00-04 (removed fModified).
597- Removed references to fModified.
598- Tidying: Removed unnecessary ClearView.
599- G4OpenGLSceneHandler.cc: Added some (commented out) code for
600 possible future implementation of 2D drawing.
601- G4OpenGLXViewer.cc: Improved exception printing.
602
60311th January 2006 John Allison (opengl-V08-00-00)
604- Improved efficiency: all DrawView's:
605 o Don't call ClearView.
606 o Set flag so SetView will not be called in ProcessView.
607 o Leave background colour to ClearView.
608- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
609- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
610 for current viewer.
611
61224th November 2005 John Allison (opengl-V07-01-09)
613- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
614
61522nd November 2005 John Allison (opengl-V07-01-08)
616- Added G4OpenGLXmViewerMessenger.
617- Corrected text position.
618- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
619
62017th November 2005 Gabriele Cosmo
621- Fixed settings of background style for WIN32 viewers.
622
62313th November 2005 John Allison (opengl-V07-01-07)
624- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
625
62613th October 2005 John Allison (opengl-V07-01-06)
627- Allowed any colour background.
628- Implemented non-uniform scaling.
629- Migration to <sstream>.
630
63129th September 2005 John Allison (opengl-V07-01-05)
632- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
633 scene handler.
634- Re-implemented transparency button in OpenGLXm.
635
63613th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02)
637- Implemented white background for all OGL viewers.
638- G4OpenGLSceneHandler.cc:
639 o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
640 o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
641 o Corrected GetTextColour(text).
642 o Corrected GetColour(polyhedron).
643
6445th September 2005 John Allison (opengl-V07-01-03)
645- Bug fix: stored transparent objects were being lost.
646
6472nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01)
648- Bug fix: edgeflags problem introduced with smooth shading in
649 opengl-V07-01-00.
650- Implementation of a "better algorithm" for the rendering of
651 transparent polyhedron objects. It renders all opaque objects
652 first, then renders the transparent objects with the depth buffer in
653 read-only mode (see OpenGL Programming Guide). It uses the new
654 facility in G4VSceneHandler::ProcessScene for an optional second pass
655 of the run-duration models in the scene. Note this algorithm is
656 still only an approximation. It will still give the wrong blended
657 colour if two transparent objects are rendered front first. For
658 nested transparent objects, this is unfortunate, because
659 G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
660 in such a way that mothers come first. Also, there is no guaranteed
661 relationship between the order of rendering and the depth of two
662 transparent objects if they are at the same level or in different
663 branches of the hierarchy. Still, the only error will be an
664 incorrect colour - the objects will still give the appearance of
665 transparency, so it's a pretty good algorithm. (An even better
666 algorithm would be to attempt to render the facets in depth order,
667 deepest first. But how do you calculate the depth - centre of area,
668 deepest corner? One can still imagine pathalogical cases that would
669 sometimes give the wrong colour. Also, for stored mode, the order
670 is fixed in a display list so when the user rotates the view, one
671 would lose the depth ordering. I think we have to accept that
672 blending in OpenGL is only ever an approximation. For accurate
673 blending, use RayTracer.)
674
67528th August 2005 John Allison (opengl-V07-01-01)
676- Half-way implementation of rendering of transparent polyhedron
677 objects. In this implementation, no account is taken of the order
678 of rendering. Transparent objects are rendered with depth testing
679 off so that objects behind can still be seen. But this means that
680 opaque objects in front do not obscure them - and they jolly well
681 should! A better algorithm is to render all opaque objects first,
682 then render the transparent objects with the depth buffer in
683 read-only mode (see OpenGL Programming Guide). This is going to
684 take a little more thought - see opengl-V07-01-02.
685
68620th July 2005 John Allison (opengl-V07-01-00)
687- Introduced smooth shading, taking advantage of hitherto un-noticed
688 feature of HepPolyhedron::GetNextFacet that calculates the normals
689 at each vertex so that curved surfaces are rendered more
690 realistically (Gouraud shading).
691- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
692- G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes
693 the default window size. It used to be 400x400, hardcoded in
694 G4OpenGLXmViewer.cc, but now it picks up the
695 G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
696 The user may change it on the command line, e.g:
697 /vis/open OGLSXm 500
698 or
699 /vis/viewer/create ! ! 500
700
70130th May 2005 John Allison (opengl-V07-00-03)
702- Fixed compilation problem in OpenGL on SUN. (Replaced multimap by
703 map of vectors in G4OpenGLFontBaseStore.)
704
7054th May 2005 John Allison (opengl-V07-00-02)
706- Restored sequence Set/Clear/DrawView in ClearTransientStore. (It
707 was taken out to prevent recursive calling, but that seems to be OK,
708 and it is needed to implement refresh at end of event/run.)
709
71022nd April 2005 John Allison (opengl-V07-00-01)
711- Rationalised work of opengl-V07-00-00. Functionality unchanged.
712 o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
713 o In all concrete viewers, added call to CreateFontLists().
714 o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
715 o There is no longer a need to implement in the XmViewer, since it
716 now inherits. Thus the font code now only appears once for X.
717 o Awaiting implementation for WIN32.
718
71917th April 2005 John Allison (opengl-V07-00-00)
720- Based on vis-V07-00-13.
721- Implemented text for X-Windows viewers. Uses glXUseXFont, which
722 creates display lists for nominated fonts. Simple-minded scheme in
723 which each viewer creates its own font display lists for a variety
724 of sizes, which are accessed by the scene handler through a new
725 class, G4OpenGLFontBaseStore. Affected methods:
726 G4OpenGLXViewer::CreateMainWindow()
727 G4OpenGLXmViewer::CreateMainWindow()
728 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
729
73018th November 2004 John Allison (opengl-V06-02-07)
731- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
732
73315th November 2004 Guy Barrand
734- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
735 to see trajectories (for example with N03). Correct so that
736 ShowView do a FinishView that does : glFlush, wglSwapBuffer
737 and empty the Windows message queue.
738
73922nd September 2004 John Allison (opengl-V06-02-06)
740- doxygen output to tmp area.
741- Trap non-regular polyhedrons.
742
74313th September 2004 Gabriele Cosmo (opengl-V06-02-05)
744- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
745 to allow for porting on CLHEP-1.9.X series.
746
74723rd July 2004 John Allison
748- Draws auxiliary edges if required.
749- Added auxiliary edge button.
750
75116th July 2004 John Allison (opengl-V06-02-04)
752- Refinements to hidden line, hidden surface removal.
753
75414th July 2004 John Allison (opengl-V06-02-03)
755- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
756
75713th July 2004 John Allison (opengl-V06-02-02)
758- Hidden line *and* hidden surface removal now works.
759
7609th July 2004 John Allison (opengl-V06-02-01)
761- Fixed long-standing problem with hidden line removal.
762- Improved messages on failure to get visual.
763- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
764 systems provided by default anyway, so no effect.
765
7661st July 2004 John Allison (opengl-V06-02-00)
767- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
768- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
769
77018th June 2004 Gunter Folger (geant4-06-02)
7719th June 2004 Gabriele Cosmo (vis-V06-01-03)
7727th June 2004 Gabriele Cosmo (vis-V06-01-02)
773- GNUmakefile and disclaimer changes - see visualization/History.
774
7759th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00)
776- Tagged OpenGL as below. Joint with interfaces-V06-01-00.
777
7787th April 2004 Guy Barrand
779- visualization/OpenGL/* : use the G4OpenGL.hh file.
780- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
781 the include of gl/gl.h and gl/glu.h that may be platform dependant.
782 It permits to rm some #ifdef WIN32 spread in the code. It opens also
783 the way to the usage of the Apple OpenGL on a Mac.
784
78517th February 2004 John Allison (opengl-V06-00-00)
786- Fixed bug #581: wrong order of statements in
787 G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
788
7894th October 2003 Gabriele Cosmo (vis-V05-02-01)
790- GNUmakefile:
791 o replaced "digits+hits" with "digits_hits".
792- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
793
79422nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00)
795- Cosmetic change to regularise names:
796 o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
797 o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
798
79923rd June 2003 Guy Barrand (opengl-V05-01-02)
800- Commit a first implementation of G4OpenGLWin32Viewer.
801
80210th June 2003 Gabriele Cosmo (opengl-V05-01-01)
803- More fixes for warnings in viewers classes.
804- Added inclusion of <windows.h> for WIN32 platforms when GL headers
805 are included.
806
80705th June 2003 Gabriele Cosmo (opengl-V05-01-00)
808- Fixes for porting compilation on WIN32:
809 o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
810 o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
811 since declared 'obsolete' in WIN32 platforms.
812
81327th November 2002 John Allison (vis-V04-01-08)
814- Improved algorithm of CompareForKernelVisit.
815
81611th November 2002 John Allison (opengl-V04-01-02)
817- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
818- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
819 call default but there as a marker and encourager.
820- Added tracking and digits+hits/hits to GNUmakefile.
821
82216th October 2002 John Allison (opengl-V04-01-01)
823- Fix for WIN32. Now compiles but viewer not implemented.
824
82524th June 2002 John Allison (opengl-V04-01-00)
826- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
827
82810th June 2002 John Allison (opengl-V04-00-03)
829- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
830
8316th June 2002 John Allison (opengl-V04-00-02)
832- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
833
83423rd February 2002 John Allison (opengl-V04-00-01)
835- Changes to encourage compilation on Windows in preparation for
836 implementation of G4OpenGLWin32Viewer. Removed spurious includes of
837 glx.h, unistd.h and assert.h.
838
83924th August 2001 John Allison (vis-V03-02-13)
840- Limited the printing of warnings in
841 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
842
84314th August 2001 John Allison (vis-V03-02-11)
844- Improved KernelVisitDecision.
845- Fixed a few small bugs in multiple "stored" viewers, but see next item.
846- There's an outstanding bug in OpenGL Stored. If there is more than
847 one viewer controlled by a scene handler, after a ClearStore on the
848 scene handler, e.g., with /vis/scene/notifyHandlers, the first
849 viewer to get refreshed should trigger the display list rebuild, but
850 the second need not. However, when the second viewer's turn comes,
851 the display lists are there, and are called, e.g.,
852 G4OpenGLStoredXViewer::DrawView calls
853 G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
854 nothing appears on the screen. To overcome this there is some
855 temporary code in G4VViewer::NeedKernelVisit which marks *all*
856 viewers to force a rebuild. To see the symptoms, comment out that
857 temporary code and issue these commands:
858 /vis/verbose c
859 /control/verbose 2
860 /vis/scene/create
861 /vis/scene/add/volume
862 /vis/sceneHandler/create OGLSX
863 /vis/viewer/create ! ! 1
864 /run/beamOn
865 /vis/viewer/create ! ! 1
866 /vis/viewer/select viewer-0
867 /vis/viewer/viewpointThetaPhi 20 20
868 /vis/viewer/select viewer-1
869 /vis/viewer/viewpointThetaPhi 40 40
870 /vis/viewer/set/style surface
871 /vis/viewer/refresh
872 /vis/viewer/select viewer-0
873 /vis/viewer/refresh
874 /vis/viewer/select viewer-1
875 /vis/viewer/set/style wireframe
876 /vis/scene/notifyHandlers
877 You may have to do this too:
878 /vis/viewer/select viewer-0
879 /vis/scene/notifyHandlers
880 One of the viewers is empty. Curious!!
881
8829th August 2001 John Allison (vis-V03-02-10-00)
883- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
884- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
885 invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
886 picked up by inheritance anyway.
887- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
888- Corrected order of calling base class functions in
889 G4OpenGLStoredSceneHandler::Begin/EndModeling.
890
89124th July 2001 John Allison (vis-V03-02-06)
892- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
893
89414th July 2001 John Allison (opengl-V03-02-00)
895- Fixed crash in optimised mode: added Initialise() to viewers so
896 that windows are opened after viewers are fully constructed.
897
8982nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
899- Tidied G4OpenGLXmViewer callback code. Removed superfluous header files.
900
9017th March 2001 John Allison
902- Changed char* to const char* in many places and that gave problems in
903 calls to Xt and Xm. Hope all's OK. Differences:
904 cvs diff -r vis-V03-00-06 vis-V03-00-07
905
90625th January 2001 John Allison (opengl-V03-00-00)
907- Implemented running re-calculation of up-vector in the case of "object
908 rotation" (lights move with camera) to prevent "flipping" of view when
909 camera passes through up-vector. Note that the default is "camera
910 rotation" (lights do not move with camera, i.e., remain fixed relative
911 to object) so the default is that this "flipping" can happen. To set
912 "object rotation" (lights move with camera) use
913 /vis/lights/move_with_camera true (soon to be
914 /vis/viewer/set/lights move-with-camera) or click "Object" radio button
915 on Rotation Panel in OpenGLXm mode.
916- Changed some objects to references for efficiency. E.g.:
917 const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
918
91922nd May 2000 John Allison (opengl-V01-01-00)
920- Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug
921 by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
922 static XVisualInfo* vi_single_buffer;
923 static XVisualInfo* vi_double_buffer;
924- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
925 G4OpenGLXViewer.
926- Protected double deletion of window in destructors of G4OpenGLXmViewer
927 and G4OpenGLXViewer (Guy Barrand).
928- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
929- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
930 constructors.
Note: See TracBrowser for help on using the repository browser.