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

Last change on this file since 1190 was 1160, checked in by garnier, 16 years ago

mise en place de Vis dans UI

File size: 35.1 KB
Line 
1$Id: History,v 1.159 2009/11/03 11:18:03 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
203rd November 2009 John Allison (opengl-V09-02-09 coworks greps-V09-02-03)
21- Tagged for system testing.
22
233rd November 2009 Laurent Garnier
24- G4OpenGLImmediateQtViewer, G4OpenGLStoredQtViewer : Protec Qt4 method
25 introduce 13rd october 09 by ifdef
26
273rd November 2009 John Allison
28- G4OpenGLXmPanningCallbacks: Fixed pView compilation problem.
29
3021 October 2009 Laurent Garnier
31 - G4OpenGLQtViewer : Prepare to attach viewer In UI
32
3321st October 2009 John Allison (opengl-V09-02-08 coworks greps-V09-02-02)
34- Added default AddCompound (const G4THitsMap<G4double>&) methods.
35 o Prevents warnings about hiding - calls G4VSceneHandler base class.
36
3715 October 2009 Laurent Garnier
38 - G4OpenGLViewer.cc : Fix a problem with printing. On mac OSX version
39 > 10.5.7? or Ubuntu > 9.04? AND with user account configure in french
40 (or canadian I believe), the decimal point character was defined by
41 "," (see LC_NUMERIC). This cause a problem on reading eps files.
42 Changed "," to "."
43
4413 October 2009 Laurent Garnier
45 - G4OpenGLImmediateQtViewer/StoredQtViewer : some cleaning
46 - G4OpenGLImmediateQtViewer : Remove picking to true at initialisation
47 - G4OpenGLQtViewer.cc : Fix a redraw problem on mac OS X 10.6
48 - G4OpenGLStoreQtViewer.cc,G4OpenGLImmediateQtViewer.cc : Fix width()
49 and height() problem on mac OS X 10.6
50
5129 September 2009 John Allison (opengl-V09-02-07)
52- Tagged.
53
5418 August 2009 Laurent Garnier
55 - G4OpenGLXmViewer : Fix a wrong initialization introduce by the
56 new way of handling window size hints (January 2009)
57
5829 July 2009, Laurent Garnier
59 - G4OpenGLQtViewer : Ensure the GL frame size will be correct
60 by setting a 0 size margin around
61
6227 July 2009, Laurent Garnier
63 - G4OpenGLStoredQtViewer : Remove picking to true at initialisation
64
6520 May 2009, Laurent Garnier (opengl-V09-02-06)
66 - Fixed compilation errors on WIN32-VC for WIN32 specific drivers.
67
6818 May 2009, Joseph Perl (opengl-V09-02-05)
69 - Correct G4OpenGLViewerMessenger.hh
70
7114 May 2009, Laurent Garnier (opengl-V09-02-04)
72 - G4OpenGLViewer : Add methods to manage print size and filename
73 - G4OpenGLViewerMessenger : Added /vis/ogl/set/printSize
74 - G4OpenGLViewerMessenger : Added /vis/ogl/set/printFilename
75 - G4OpenGLQtViewer.cc,G4OpenGLXmMainMenuBarCallback.cc, renaming
76 according to first point.
77
7813 May 2009, Laurent Garnier
79 - G4OpenGLStoredQtViewer.cc: Fix a second view redraw at ShowView() call
80 - G4OpenGLQtViewer : Remove unuseful variables, renaming others
81 - G4OpenGLViewer : Add method for resizing properly windows. Add methods
82 to get window width, height and to know if size has changed
83 - G4OpenGLQtViewer, G4OpenGLStoredQtViewer, G4OpenGLImmediateQtViewer,
84 G4OpenGLXmViewer, G4XmWindowsHandlingCallback, G4OpenGLXViewer :
85 Apply the previous changes.
86
876 May 2009, Laurent Garnier
88 - G4OpenGLQtViewer.cc: Fix compilation warning and error with gcc4.4
89
9028th April 2009, John Allison
91 - G4OpenGLViewerMessenger.cc: Added return statement at end of every
92 "if (command == ..." statement. (Because of test for OGLS, it is
93 not elegant to use "if...else if...else" structure.)
94
9528th April 2009, Laurent Garnier
96 - G4OpenGLXViewer,G4OpenGLViewer : End of moving printEPS and associated
97 functions from GLXViewer to GLViewer.
98 - G4OpenGLXViewer :
99 - Remove debug methods
100 - Add check in SetView() method
101 - G4OpenGLViewer : Add a glReadBuffer before glReadPixel in grabPixel method
102
1038th April 2009, Laurent Garnier
104 - G4OpenGLBitmapStore.hh : BugFix correction for windows (introduce 2nd February ?)
105 - G4OpenGLViewer.hh : move methods in private
106 - G4OpenGLXViewer.hh : Add debug methods
107 - G4OpenGLImmediateXmViewer.cc, G4OpenGLStoredViewer.cc, G4OpenGLStoredXmViewer.cc,
108 G4OpenGLStoredXViewer.cc, G4OpenGLViewer.cc : Add debug messages
109 - G4OpenGLStoredXmViewer.cc,G4OpenGLStoredXViewer.cc, G4OpenGLStoredWin32Viewer.cc :
110 - Add a DrawDisplay list in case of KernelVisit=1 and nothing new to display.
111 - Add a flush at the end of the view.
112 - G4OpenGLViewer.cc :
113 - Improve the fix and resizing when X/Y size was even (lack of precision
114 in a /2)
115 - Set line/point size at a default size when printing.
116 - G4OpenGLXmWindowsHandlingCallbacks.cc : print method rename in printEPS
117 - G4OpenGLXViewer.cc : Lot of changes, try to debug it. Pb when printing in pixmap
118 mode on some windows size
119
1206th April 2009, Joseph Perl (opengl-V09-02-02, then opengl-V09-02-03)
121 - New tag to clean up all of the cases of files that changed only in the cvs id.
122
12324th March 2009, Laurent Garnier (opengl-V09-02-01)
124 - G4OpenGLViewer : Add a fix and resizing when X/Y size was even (lack of precision
125 in a /2)
126
12718th March 2009 John Allison
128- G4OpenGLViewerMessenger.cc: printMode and transparency are available
129 for all OGL windows (they were previously inadvertently hidden by
130 an OGLS requirement).
131
13216th March 2009, Laurent Garnier
133 - G4OpenGLViewer : Add a check on max viewport dimensions when setting size.
134
1354rd March 2009, Laurent Garnier
136 - G4OpenGLQtViewer:
137 - Suppress some warnings when saving file
138 - Changing size is now allowed when saving (to save with better resolution than screen size)
139 - G4OpenGLViewer:
140 - Some renaming for print methods to be more clear about Vectored and non Vectored
141 - Now using Gl2PS method to do PS (changes also in G4OpenGLXViewer and G4OpenGLQtViewer)
142 - Suppress unuseful printX methods (heritated form XViewer)
143 - Add methods to handle printVectored and NonVector cases
144 - G4OpenGLViewerMessanger : Changes methods to get new G4OpenGLViewer methods to print
145
1461st March 2009, Laurent Garnier
147 - Remplacing glBitmap by GL_POINTS to draw marker : Speed improvment
148 and gl2ps can now draw Markers.
149
15016 February 2009, Laurent Garnier
151 - Modifications in GNUMakefile for gl2ps.
152 - G4OpenGLViewer,G4OpenGLViewerMessenger.cc,G4OpenGLXmMainMenubarCallbacks.cc
153 ,G4OpenGLXmViewer.cc modified for gl2ps and some renaming "print" in
154 "printVectoredEPS"
155
1562nd February 2009 Laurent Garnier
157- Improve Anticipate headers declaration in all files
158- Factorize grabPixels function in G4OpenGLViewer
159- Begin of refactoring printEPS function
160
16122th January 2009 Laurent Garnier
162- Fix bug in ratio and geometry on X/Xm/Qt/Win32 viewers
163
16419th January 2009 Laurent Garnier
165- Change G4DEBUG definition by G4DEBUG_VIS_OGL
166
16712th January 2009 John Allison
168- G4OpenGLViewer.cc: Pick up X and Y window size hints to define viewport.
169
1702 December, Laurent Garnier
171 - G4OpenGLImmediateXmViewer,G4OpenGLStoredXmViewer,G4OpenGLXmViewer
172 G4OpenGLImmediateXViewer, G4OpenGLStoredXViewer, G4OpenGLXViewer,
173 G4OpenGLXmWindowHandlingCallbacks,
174 G4OpenGLImmediateQtViewer.cc, G4OpenGLStoredQtViewer, G4OpenGLQtViewer
175 G4OpenGLImmediateWin32Viewer.cc, G4OpenGLStoredWin32Viewer, G4OpenGLWin32Viewer
176 -> Replace WinSize by fWinSize and some improvments about size initialization
177
178 - G4OpenGLQtViewer.hh : Suppress WinSize private variable
179 - Now Could pass XString like 400x600-0+0 to viewers and set position and location. It
180 will work for Qt, X, Win32 for the moment.
181
18224 October, Laurent Garnier (opengl-V09-01-03)
183 - Change GEANT4_QT_DEBUG flag by QTDEBUG
184 - Suppress unuseful DEBUG messages
185
18612th October Laurent Garnier
187 - G4OpenGLQtExportDialog : improvments for Qt3"
188 - G4OpenGLQtViewer,G4OpenGLImmediateQtViewer,G4OpenGLStoreQtViewer : Add the name on OpenGlQt viewers
189 - G4OpenGLStoredQtViewer,G4OpenGLImmediateQt, G4OpenGLStoredQt : Change OGLSQT and OGLIQT by OGLSQt and OGLIQt
190
1912 October Laurent Garnier
192 - Fix a crash when there was no scene.
193
19428 July Laurent Garnier
195 - Fix a bug in XmRotation panel introduce in last commit by myself.
196
19720th June 2008 Laurent Garnier
198 - Correct some warnings
199 - Move rotation code of Xm and Qt in G4OpenGLViewer::rotateScene. Same code in now shared
200
20112th June 2008 Laurent Garnier
202 - Emit signals when moving/rotate scene, in order to get them in external app
203
20428th Mai 2008 Laurent Garnier
205 - Add mouse wheel zoom commands
206
20728th April 2008 Laurent Garnier
208 - Add better moc control/compilation step in GNUmakefile
209 - Fix a problem when launching QT VIS without QT UI (N02 for example)
210
21128th April 2008 John Allison (opengl-V09-01-02)
212- G4OpenGLStoredSceneHandler: Tidied constructors of nested classes.
213
2144th April 2008 John Allison (opengl-V09-01-01)
215- Fixed DBL_MAX problem in 2D drawing:
216 o changed G4OPENGL_DBL_MAX to G4OPENGL_FLT_BIG.
217- Fix gcc-4.3.0 compiler warnings.
218
21911th March 2008, Laurent Garnier
220 - Resolve QT3 compilation errors
221
22210th March 2008, Laurent Garnier
223 - Add a dialog panel to make movies (Right button->Actions->Movie parameters)
224 - Add ability to "auto rotate" volume launched with quick mouse move
225 - Lots of improvments for Qt3
226 - Improvments on moving steps with shortcuts
227 - Could now select between orthogonal/perspective view mode
228
2291st February 2008 John Allison
230 - G4OpenGLQtViewer.cc: Fix #ifdef QT protection.
231 - G4OpenGLSceneHandler.cc: Small improvement to logic of setting GL_LIGHTING.
232
23330th January 2008, Laurent Garnier
234 - Add moving camera on left/right/up/down arrown, going forward/backward
235 on SHIFT+up/down, zoom in with +/- keys
236 - Add a context menu entry for projection perspective/orthographic
237 - Fix some bugs on windows in export dialog
238
23915th January 2008, Laurent Garnier
240 - Fixed some layout problems on export dialog box
241 - Some improvements on exports formats
242 - Fix a bug in the help command : The clic callback on a item was not
243 working on windows
244 - Fix a crash at exit when launched on a MAC.
245 - EPS export format is now ready for Qt3
246 - Add Vectoriel EPS export format
247 - Fix an aspect ratio deformation when resize the widget
248 - Fix a crash at launch with leopard
249 - When selecting the "move" mouse action, this action was set even when
250 mouse button was released. Fixed : Now we should clic to have the move action
251 - GNUmakefile : Added a macro for moc file
252 - Moc files : Suppression of all theses files. They are now autogenerated
253 thanks to config/common.gmk
254
2554th January 2008 John Allison (opengl-V09-01-00)
256- Implemented extended 2D interface.
257
25830th November 2007 Laurent Garnier
259- Improvements for Qt3
260- moc files : Adding other versions for QT_MOC_REVISION 28,58 and
261 59, but this is not the right solution..
262
26319th November 2007 Joseph Perl (for Laurent Garnier) (opengl-V09-00-04)
264- Added GEANT4_QT_DEBUG flag to more places
265
26615th November 2007 John Allison (opengl-V09-00-03)
267- Re-introduced Qt files, now properly protected by cpp flags.
268- cpp flags also added to some other files not previously properly protected.
269
27015 Nov 2007, Laurent Garnier
271 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
272 - G4UIQt,G4Qt : Compilation improvements for Qt3
273 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
274
27514 Nov 2007, Laurent Garnier
276 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
277 Qt4
278 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
279 Adding protection for Qt version between 4.0 and 4.2
280
28113th November 2007 John Allison (opengl-V09-00-02)
282- Removed Qt files from tag. File are still at head - need fixing.
283
28413 Nov 2007, Laurent Garnier
285 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
286 including Qt3 and Qt4 moc support
287
28810th November 2007 John Allison (opengl-V09-00-01)
289- Moved WinSize_x, y to base class G4OpenGLViewer.
290- Minor improvement in guidance for /vis/ogl/printEPS.
291
29209 Nov 2007, Laurent Garnier
293 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
294
29508 Nov 2007, Laurent Garnier
296 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
297 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
298
29927 Sept 2007, Laurent Garnier
300 - Adding sur files for G4UIQt driver :
301 - G4OpenGLImmediateQt.cc
302 - G4OpenGLImmediateQtViewer.cc
303 - G4OpenGLQtExportDialog.cc
304 - G4OpenGLQtViewer.cc
305 - G4OpenGLStoredQt.cc
306 - G4OpenGLStoredQtViewer.cc
307 - moc_G4OpenGLQtExportDialog.cc
308 - moc_G4OpenGLQtViewer.cc
309
31028th September 2007 lgarnier
311- first import of G4UI Qt files : Do not try to compil them
312
31321st August 2007 John Allison (opengl-V09-00-00)
314- Removed redundant G4OpenGLXViewerMessenger.
315
31625th May 2007 John Allison (opengl-V08-03-03)
317- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
318 Fixed gcc-4.1.2 compiler warnings.
319
32025th May 2007 John Allison (opengl-V08-03-02)
321- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
322
32324th May 2007 John Allison (opengl-V08-03-01)
324- Fixes for SUN.
325
32616th May 2007 John Allison (opengl-V08-03-00)
327- Fix compiler warnings on SLC4.
328- Bug fixes:
329 o Correct path /vis/ogl/set/printMode.
330 o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
331 and "/vis/ogl/printEPS").
332
3338th May 2007 John Allison (opengl-V08-02-06)
334- Moved vectored PostScript printing to G4OpenGLViewer.
335- /vis/ogl/printEPS should work for all viewers, including Win32.
336- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
337 effective on X windows (and still somewhat buggy).
338
3394th April 2007 John Allison (opengl-V08-02-05 - needs visman-V08-02-04)
340- Implemented picking for OGLSX ( as well as OGLIX). Hopefully works
341 for OGL*Win32. Still doesn't work for OGL*Xm.
342
3433rd April 2007 John Allison (opengl-V08-02-04 - needs visman-V08-02-03)
344- G4OpenGLStoredSceneHandler:
345 o Re-organised display lists on a per-primitive basis, i.e., one
346 display list per primitive. (This is so that, except for text,
347 the colour - or, rather, intensity - can be brought out of the
348 display list into the TOList (Transient Object List) and
349 controlled for the Display-by-Time feature. Previously, if more
350 than one primitive were drawn between BeginPrimitives and
351 EndPrimitives, it would finish up all in one display list, colour
352 commands included. Rationalises and fixes a rare bug in the
353 Display-by-Time feature - see August 2006.)
354 o Added AddPrimitive(const G4Polymarker&) so that it is treated as
355 one primoitive to fit with the above re-organisation.
356- Implemented picking for OGLIX.
357
35825th March 2007 John Allison (opengl-V08-02-03)
359- Fix compiler warnings.
360
3618th February 2007 John Allison (opengl-V08-02-02)
362- Fixed Windows problem with DBL_MAX. (Introduced G4OPENGL_DBL_MAX.)
363- G4OpenGLXViewer.cc: Small bug fix in print(). (Context was switched
364 .but not switched back. Not serious, because context was always set
365 before normal drawing.)
366
3679th January 2007 John Allison (opengl-V08-02-01)
368- Implemented bitmap markers for MarkerSizeType == screen. (The old
369 polygon implementation remains for MarkerSizeType == world.)
370- Added G4OpenGLBitMapStore to assist the above.
371- G4OpenGLXViewer::CreateGLXContext:
372 o Bug fix: Added missing break in colormap lookup routine.
373
3745th January 2007 John Allison (opengl-V08-02-00)
375- G4OpenGLSceneHandler.cc:
376 o Followed change of signature of GetLineWidth in visman-V08-02-00.
377 o Minor efficiency improvements.
378
37921st November 2006 John Allison (opengl-V08-01-09)
380- Fixed compiler warnings.
381
3821st November 2006 John Allison (opengl-V08-01-08)
383- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command
384 actually initiates a print, rather than set a flag for printing.
385
38624th October 2006 John Allison (opengl-V08-01-07)
387- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
388- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
389
39019th September 2006 John Allison (opengl-V08-01-06)
391- Added time origin for light front.
392- Added /vis/ogl/set/transparency.
393- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
394
3954th September 2006 John Allison (opengl-V08-01-05)
396- Implement cutaways.
397- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
398 primitives (see detector being drawn).
399- /vis/oglx/set/printEPS: change parameter default to true.
400
40130th August 2006 John Allison (opengl-V08-01-04)
402- G4OpenGLSceneHandler:
403 o Implemented line width.
404 o Switched off back face culling when clipping so that the inside of
405 volumes can be seen.
406 o Added CreateSection/CutawayPolyhedron to exploit generic
407 sectioning (DCUT) and cutaways. Currently not activated due to
408 instabilities in BooleanProcessor. Local sectioning still active
409 but broken (at least on Mac) due to apparent change in effect of
410 clipping planes (polyhedron edges not reconstructed).
411 o Rationalised calculation of marker size.
412- G4OpenGLStoredSceneHandler:
413 o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
414 o Pick up time range from G4VisAttributes.
415- G4OpenGLViewer(Messenger):
416 o Added position and colour to /vis/ogl/set/displayHeadTime.
417 o Added /vis/ogl/set/displayLightFront.
418- G4OpenGLStoredViewer.cc:
419 o Rationalised CompareForKernelVisit. (Local sectioning still active.)
420 o Added position and colour to DisplayHeadTime.
421 o Added DisplayLightFront.
422
42316th August 2006 John Allison (opengl-V08-01-03)
424- Corrected Solaris compilation error.
425- Added /vis/ogl/set/fade and displayHeadTime.
426
42714th August 2006 John Allison (opengl-V08-01-02)
428- Needs visman-V08-01-02.
429- G4OpenGLStored: Implemented display-by-time. Only available in
430 stored mode at present. Only implemented for circle, square,
431 polyline and polymarker at present, enough for currently available
432 trajectory models. Time is communicated via G4AttValues.
433- Added G4OpenGLViewerMessenger.
434- Added /vis/ogl/set/startTime and endTime of displayed objects.
435- All factories: Instantiated G4OpenGLViewerMessenger.
436- G4OpenGLViewer: Added fStart/EndTime.
437- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
438 spewPrimitiveEPS and spewSortedFeedback.
439
44017th July John Allison (opengl-V08-01-01)
441- Added /vis/oglx/set/printEPS (prints eps file on every update).
442
4433rd July 2006 John Allison (opengl-V08-01-00)
444- Elimination of redundant variable doublebuffer and implementation of
445 FinishView in all viewers.
446
44730th May 2006 Joseph Perl (opengl-V08-00-08)
448- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
449 variable seems to have random behavior and should be assumed false for
450 this viewer.
451
45229th May 2006 Joseph Perl (opengl-V08-00-07)
453- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
454 Removed common FinishView and instead made separate FinishView for the two different
455 versions of this viewer since each wants a different buffer swapping behaviour.
456
45712th May 2006 John Allison (opengl-V08-00-06)
458- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
459
46028th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14)
461- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
462 recomputing transients.
463
46424th April 2006 John Allison (opengl-V08-00-04)
465- Fixed compilation problem on Windows.
466
46719th April 2006 John Allison (opengl-V08-00-03)
468- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
469 G4OpenGLImmediateSceneHandler:
470 o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
471 greps-V08-00-02).
472 o Migrated to direct access to G4PhysicalVolumeModel.
473- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
474 of display lists in DrawView.
475
47614th March 2006 John Allison (opengl-V08-00-02)
477- Refined display list building and re-drawing algorithm.
478 o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
479 o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
480- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
481 re-use algorithm. In test19 with global culling off, numbers of
482 display lists used are:
483 o 191 No re-use:
484 o 73 Before this change: re-use except replicas (includes parameterised).
485 o 33 After this change: re-use except parameterised and replicas in radius.
486
48726th January 2006 John Allison (opengl-V08-00-01)
488- Coworks with visman-V08-00-04 (removed fModified).
489- Removed references to fModified.
490- Tidying: Removed unnecessary ClearView.
491- G4OpenGLSceneHandler.cc: Added some (commented out) code for
492 possible future implementation of 2D drawing.
493- G4OpenGLXViewer.cc: Improved exception printing.
494
49511th January 2006 John Allison (opengl-V08-00-00)
496- Improved efficiency: all DrawView's:
497 o Don't call ClearView.
498 o Set flag so SetView will not be called in ProcessView.
499 o Leave background colour to ClearView.
500- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
501- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
502 for current viewer.
503
50424th November 2005 John Allison (opengl-V07-01-09)
505- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
506
50722nd November 2005 John Allison (opengl-V07-01-08)
508- Added G4OpenGLXmViewerMessenger.
509- Corrected text position.
510- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
511
51217th November 2005 Gabriele Cosmo
513- Fixed settings of background style for WIN32 viewers.
514
51513th November 2005 John Allison (opengl-V07-01-07)
516- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
517
51813th October 2005 John Allison (opengl-V07-01-06)
519- Allowed any colour background.
520- Implemented non-uniform scaling.
521- Migration to <sstream>.
522
52329th September 2005 John Allison (opengl-V07-01-05)
524- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
525 scene handler.
526- Re-implemented transparency button in OpenGLXm.
527
52813th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02)
529- Implemented white background for all OGL viewers.
530- G4OpenGLSceneHandler.cc:
531 o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
532 o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
533 o Corrected GetTextColour(text).
534 o Corrected GetColour(polyhedron).
535
5365th September 2005 John Allison (opengl-V07-01-03)
537- Bug fix: stored transparent objects were being lost.
538
5392nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01)
540- Bug fix: edgeflags problem introduced with smooth shading in
541 opengl-V07-01-00.
542- Implementation of a "better algorithm" for the rendering of
543 transparent polyhedron objects. It renders all opaque objects
544 first, then renders the transparent objects with the depth buffer in
545 read-only mode (see OpenGL Programming Guide). It uses the new
546 facility in G4VSceneHandler::ProcessScene for an optional second pass
547 of the run-duration models in the scene. Note this algorithm is
548 still only an approximation. It will still give the wrong blended
549 colour if two transparent objects are rendered front first. For
550 nested transparent objects, this is unfortunate, because
551 G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
552 in such a way that mothers come first. Also, there is no guaranteed
553 relationship between the order of rendering and the depth of two
554 transparent objects if they are at the same level or in different
555 branches of the hierarchy. Still, the only error will be an
556 incorrect colour - the objects will still give the appearance of
557 transparency, so it's a pretty good algorithm. (An even better
558 algorithm would be to attempt to render the facets in depth order,
559 deepest first. But how do you calculate the depth - centre of area,
560 deepest corner? One can still imagine pathalogical cases that would
561 sometimes give the wrong colour. Also, for stored mode, the order
562 is fixed in a display list so when the user rotates the view, one
563 would lose the depth ordering. I think we have to accept that
564 blending in OpenGL is only ever an approximation. For accurate
565 blending, use RayTracer.)
566
56728th August 2005 John Allison (opengl-V07-01-01)
568- Half-way implementation of rendering of transparent polyhedron
569 objects. In this implementation, no account is taken of the order
570 of rendering. Transparent objects are rendered with depth testing
571 off so that objects behind can still be seen. But this means that
572 opaque objects in front do not obscure them - and they jolly well
573 should! A better algorithm is to render all opaque objects first,
574 then render the transparent objects with the depth buffer in
575 read-only mode (see OpenGL Programming Guide). This is going to
576 take a little more thought - see opengl-V07-01-02.
577
57820th July 2005 John Allison (opengl-V07-01-00)
579- Introduced smooth shading, taking advantage of hitherto un-noticed
580 feature of HepPolyhedron::GetNextFacet that calculates the normals
581 at each vertex so that curved surfaces are rendered more
582 realistically (Gouraud shading).
583- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
584- G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes
585 the default window size. It used to be 400x400, hardcoded in
586 G4OpenGLXmViewer.cc, but now it picks up the
587 G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
588 The user may change it on the command line, e.g:
589 /vis/open OGLSXm 500
590 or
591 /vis/viewer/create ! ! 500
592
59330th May 2005 John Allison (opengl-V07-00-03)
594- Fixed compilation problem in OpenGL on SUN. (Replaced multimap by
595 map of vectors in G4OpenGLFontBaseStore.)
596
5974th May 2005 John Allison (opengl-V07-00-02)
598- Restored sequence Set/Clear/DrawView in ClearTransientStore. (It
599 was taken out to prevent recursive calling, but that seems to be OK,
600 and it is needed to implement refresh at end of event/run.)
601
60222nd April 2005 John Allison (opengl-V07-00-01)
603- Rationalised work of opengl-V07-00-00. Functionality unchanged.
604 o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
605 o In all concrete viewers, added call to CreateFontLists().
606 o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
607 o There is no longer a need to implement in the XmViewer, since it
608 now inherits. Thus the font code now only appears once for X.
609 o Awaiting implementation for WIN32.
610
61117th April 2005 John Allison (opengl-V07-00-00)
612- Based on vis-V07-00-13.
613- Implemented text for X-Windows viewers. Uses glXUseXFont, which
614 creates display lists for nominated fonts. Simple-minded scheme in
615 which each viewer creates its own font display lists for a variety
616 of sizes, which are accessed by the scene handler through a new
617 class, G4OpenGLFontBaseStore. Affected methods:
618 G4OpenGLXViewer::CreateMainWindow()
619 G4OpenGLXmViewer::CreateMainWindow()
620 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
621
62218th November 2004 John Allison (opengl-V06-02-07)
623- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
624
62515th November 2004 Guy Barrand
626- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
627 to see trajectories (for example with N03). Correct so that
628 ShowView do a FinishView that does : glFlush, wglSwapBuffer
629 and empty the Windows message queue.
630
63122nd September 2004 John Allison (opengl-V06-02-06)
632- doxygen output to tmp area.
633- Trap non-regular polyhedrons.
634
63513th September 2004 Gabriele Cosmo (opengl-V06-02-05)
636- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
637 to allow for porting on CLHEP-1.9.X series.
638
63923rd July 2004 John Allison
640- Draws auxiliary edges if required.
641- Added auxiliary edge button.
642
64316th July 2004 John Allison (opengl-V06-02-04)
644- Refinements to hidden line, hidden surface removal.
645
64614th July 2004 John Allison (opengl-V06-02-03)
647- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
648
64913th July 2004 John Allison (opengl-V06-02-02)
650- Hidden line *and* hidden surface removal now works.
651
6529th July 2004 John Allison (opengl-V06-02-01)
653- Fixed long-standing problem with hidden line removal.
654- Improved messages on failure to get visual.
655- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
656 systems provided by default anyway, so no effect.
657
6581st July 2004 John Allison (opengl-V06-02-00)
659- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
660- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
661
66218th June 2004 Gunter Folger (geant4-06-02)
6639th June 2004 Gabriele Cosmo (vis-V06-01-03)
6647th June 2004 Gabriele Cosmo (vis-V06-01-02)
665- GNUmakefile and disclaimer changes - see visualization/History.
666
6679th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00)
668- Tagged OpenGL as below. Joint with interfaces-V06-01-00.
669
6707th April 2004 Guy Barrand
671- visualization/OpenGL/* : use the G4OpenGL.hh file.
672- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
673 the include of gl/gl.h and gl/glu.h that may be platform dependant.
674 It permits to rm some #ifdef WIN32 spread in the code. It opens also
675 the way to the usage of the Apple OpenGL on a Mac.
676
67717th February 2004 John Allison (opengl-V06-00-00)
678- Fixed bug #581: wrong order of statements in
679 G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
680
6814th October 2003 Gabriele Cosmo (vis-V05-02-01)
682- GNUmakefile:
683 o replaced "digits+hits" with "digits_hits".
684- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
685
68622nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00)
687- Cosmetic change to regularise names:
688 o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
689 o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
690
69123rd June 2003 Guy Barrand (opengl-V05-01-02)
692- Commit a first implementation of G4OpenGLWin32Viewer.
693
69410th June 2003 Gabriele Cosmo (opengl-V05-01-01)
695- More fixes for warnings in viewers classes.
696- Added inclusion of <windows.h> for WIN32 platforms when GL headers
697 are included.
698
69905th June 2003 Gabriele Cosmo (opengl-V05-01-00)
700- Fixes for porting compilation on WIN32:
701 o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
702 o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
703 since declared 'obsolete' in WIN32 platforms.
704
70527th November 2002 John Allison (vis-V04-01-08)
706- Improved algorithm of CompareForKernelVisit.
707
70811th November 2002 John Allison (opengl-V04-01-02)
709- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
710- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
711 call default but there as a marker and encourager.
712- Added tracking and digits+hits/hits to GNUmakefile.
713
71416th October 2002 John Allison (opengl-V04-01-01)
715- Fix for WIN32. Now compiles but viewer not implemented.
716
71724th June 2002 John Allison (opengl-V04-01-00)
718- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
719
72010th June 2002 John Allison (opengl-V04-00-03)
721- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
722
7236th June 2002 John Allison (opengl-V04-00-02)
724- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
725
72623rd February 2002 John Allison (opengl-V04-00-01)
727- Changes to encourage compilation on Windows in preparation for
728 implementation of G4OpenGLWin32Viewer. Removed spurious includes of
729 glx.h, unistd.h and assert.h.
730
73124th August 2001 John Allison (vis-V03-02-13)
732- Limited the printing of warnings in
733 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
734
73514th August 2001 John Allison (vis-V03-02-11)
736- Improved KernelVisitDecision.
737- Fixed a few small bugs in multiple "stored" viewers, but see next item.
738- There's an outstanding bug in OpenGL Stored. If there is more than
739 one viewer controlled by a scene handler, after a ClearStore on the
740 scene handler, e.g., with /vis/scene/notifyHandlers, the first
741 viewer to get refreshed should trigger the display list rebuild, but
742 the second need not. However, when the second viewer's turn comes,
743 the display lists are there, and are called, e.g.,
744 G4OpenGLStoredXViewer::DrawView calls
745 G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
746 nothing appears on the screen. To overcome this there is some
747 temporary code in G4VViewer::NeedKernelVisit which marks *all*
748 viewers to force a rebuild. To see the symptoms, comment out that
749 temporary code and issue these commands:
750 /vis/verbose c
751 /control/verbose 2
752 /vis/scene/create
753 /vis/scene/add/volume
754 /vis/sceneHandler/create OGLSX
755 /vis/viewer/create ! ! 1
756 /run/beamOn
757 /vis/viewer/create ! ! 1
758 /vis/viewer/select viewer-0
759 /vis/viewer/viewpointThetaPhi 20 20
760 /vis/viewer/select viewer-1
761 /vis/viewer/viewpointThetaPhi 40 40
762 /vis/viewer/set/style surface
763 /vis/viewer/refresh
764 /vis/viewer/select viewer-0
765 /vis/viewer/refresh
766 /vis/viewer/select viewer-1
767 /vis/viewer/set/style wireframe
768 /vis/scene/notifyHandlers
769 You may have to do this too:
770 /vis/viewer/select viewer-0
771 /vis/scene/notifyHandlers
772 One of the viewers is empty. Curious!!
773
7749th August 2001 John Allison (vis-V03-02-10-00)
775- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
776- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
777 invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
778 picked up by inheritance anyway.
779- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
780- Corrected order of calling base class functions in
781 G4OpenGLStoredSceneHandler::Begin/EndModeling.
782
78324th July 2001 John Allison (vis-V03-02-06)
784- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
785
78614th July 2001 John Allison (opengl-V03-02-00)
787- Fixed crash in optimised mode: added Initialise() to viewers so
788 that windows are opened after viewers are fully constructed.
789
7902nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
791- Tidied G4OpenGLXmViewer callback code. Removed superfluous header files.
792
7937th March 2001 John Allison
794- Changed char* to const char* in many places and that gave problems in
795 calls to Xt and Xm. Hope all's OK. Differences:
796 cvs diff -r vis-V03-00-06 vis-V03-00-07
797
79825th January 2001 John Allison (opengl-V03-00-00)
799- Implemented running re-calculation of up-vector in the case of "object
800 rotation" (lights move with camera) to prevent "flipping" of view when
801 camera passes through up-vector. Note that the default is "camera
802 rotation" (lights do not move with camera, i.e., remain fixed relative
803 to object) so the default is that this "flipping" can happen. To set
804 "object rotation" (lights move with camera) use
805 /vis/lights/move_with_camera true (soon to be
806 /vis/viewer/set/lights move-with-camera) or click "Object" radio button
807 on Rotation Panel in OpenGLXm mode.
808- Changed some objects to references for efficiency. E.g.:
809 const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
810
81122nd May 2000 John Allison (opengl-V01-01-00)
812- Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug
813 by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
814 static XVisualInfo* vi_single_buffer;
815 static XVisualInfo* vi_double_buffer;
816- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
817 G4OpenGLXViewer.
818- Protected double deletion of window in destructors of G4OpenGLXmViewer
819 and G4OpenGLXViewer (Guy Barrand).
820- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
821- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
822 constructors.
Note: See TracBrowser for help on using the repository browser.