source: trunk/geant4/visualization/OpenGL/History@ 777

Last change on this file since 777 was 776, checked in by garnier, 18 years ago

r785@wl-72126: garnier | 2008-04-17 11:30:37 +0200
une version qui marche avec les moc

File size: 27.0 KB
Line 
1$Id: History,v 1.111 2008/03/11 16:05:56 lgarnier Exp $
2-------------------------------------------------------------------
3
4 =========================================================
5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6 =========================================================
7
8 Category History file
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
20History file for visualization/OpenGL
21-------------------------------------
22
2311th March 2008, Laurent Garnier
24 - Resolve QT3 compilation errors
25
2610th March 2008, Laurent Garnier
27 - Add a dialog panel to make movies (Right button->Actions->Movie parameters)
28 - Add ability to "auto rotate" volume launched with quick mouse move
29 - Lots of improvments for Qt3
30 - Improvments on moving steps with shortcuts
31 - Could now select between orthogonal/perspective view mode
32
331st February 2008 John Allison
34 - G4OpenGLQtViewer.cc: Fix #ifdef QT protection.
35 - G4OpenGLSceneHandler.cc: Small improvement to logic of setting GL_LIGHTING.
36
3730th January 2008, Laurent Garnier
38 - Add moving camera on left/right/up/down arrown, going forward/backward
39 on SHIFT+up/down, zoom in with +/- keys
40 - Add a context menu entry for projection perspective/orthographic
41 - Fix some bugs on windows in export dialog
42
4315th January 2008, Laurent Garnier
44 - Fixed some layout problems on export dialog box
45 - Some improvements on exports formats
46 - Fix a bug in the help command : The clic callback on a item was not
47 working on windows
48 - Fix a crash at exit when launched on a MAC.
49 - EPS export format is now ready for Qt3
50 - Add Vectoriel EPS export format
51 - Fix an aspect ratio deformation when resize the widget
52 - Fix a crash at launch with leopard
53 - When selecting the "move" mouse action, this action was set even when
54 mouse button was released. Fixed : Now we should clic to have the move action
55 - GNUmakefile : Added a macro for moc file
56 - Moc files : Suppression of all theses files. They are now autogenerated
57 thanks to config/common.gmk
58
594th January 2008 John Allison (opengl-V09-01-00)
60- Implemented extended 2D interface.
61
6230th November 2007 Laurent Garnier
63- Improvements for Qt3
64- moc files : Adding other versions for QT_MOC_REVISION 28,58 and
65 59, but this is not the right solution..
66
6719th November 2007 Joseph Perl (for Laurent Garnier) (opengl-V09-00-04)
68- Added GEANT4_QT_DEBUG flag to more places
69
7015th November 2007 John Allison (opengl-V09-00-03)
71- Re-introduced Qt files, now properly protected by cpp flags.
72- cpp flags also added to some other files not previously properly protected.
73
7415 Nov 2007, Laurent Garnier
75 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
76 - G4UIQt,G4Qt : Compilation improvements for Qt3
77 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
78
7914 Nov 2007, Laurent Garnier
80 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
81 Qt4
82 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
83 Adding protection for Qt version between 4.0 and 4.2
84
8513th November 2007 John Allison (opengl-V09-00-02)
86- Removed Qt files from tag. File are still at head - need fixing.
87
8813 Nov 2007, Laurent Garnier
89 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
90 including Qt3 and Qt4 moc support
91
9210th November 2007 John Allison (opengl-V09-00-01)
93- Moved WinSize_x, y to base class G4OpenGLViewer.
94- Minor improvement in guidance for /vis/ogl/printEPS.
95
9609 Nov 2007, Laurent Garnier
97 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
98
9908 Nov 2007, Laurent Garnier
100 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
101 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
102
10327 Sept 2007, Laurent Garnier
104 - Adding sur files for G4UIQt driver :
105 - G4OpenGLImmediateQt.cc
106 - G4OpenGLImmediateQtViewer.cc
107 - G4OpenGLQtExportDialog.cc
108 - G4OpenGLQtViewer.cc
109 - G4OpenGLStoredQt.cc
110 - G4OpenGLStoredQtViewer.cc
111 - moc_G4OpenGLQtExportDialog.cc
112 - moc_G4OpenGLQtViewer.cc
113
11428th September 2007 lgarnier
115- first import of G4UI Qt files : Do not try to compil them
116
11721st August 2007 John Allison (opengl-V09-00-00)
118- Removed redundant G4OpenGLXViewerMessenger.
119
12025th May 2007 John Allison (opengl-V08-03-03)
121- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
122 Fixed gcc-4.1.2 compiler warnings.
123
12425th May 2007 John Allison (opengl-V08-03-02)
125- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
126
12724th May 2007 John Allison (opengl-V08-03-01)
128- Fixes for SUN.
129
13016th May 2007 John Allison (opengl-V08-03-00)
131- Fix compiler warnings on SLC4.
132- Bug fixes:
133 o Correct path /vis/ogl/set/printMode.
134 o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
135 and "/vis/ogl/printEPS").
136
1378th May 2007 John Allison (opengl-V08-02-06)
138- Moved vectored PostScript printing to G4OpenGLViewer.
139- /vis/ogl/printEPS should work for all viewers, including Win32.
140- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
141 effective on X windows (and still somewhat buggy).
142
1434th April 2007 John Allison (opengl-V08-02-05 - needs visman-V08-02-04)
144- Implemented picking for OGLSX ( as well as OGLIX). Hopefully works
145 for OGL*Win32. Still doesn't work for OGL*Xm.
146
1473rd April 2007 John Allison (opengl-V08-02-04 - needs visman-V08-02-03)
148- G4OpenGLStoredSceneHandler:
149 o Re-organised display lists on a per-primitive basis, i.e., one
150 display list per primitive. (This is so that, except for text,
151 the colour - or, rather, intensity - can be brought out of the
152 display list into the TOList (Transient Object List) and
153 controlled for the Display-by-Time feature. Previously, if more
154 than one primitive were drawn between BeginPrimitives and
155 EndPrimitives, it would finish up all in one display list, colour
156 commands included. Rationalises and fixes a rare bug in the
157 Display-by-Time feature - see August 2006.)
158 o Added AddPrimitive(const G4Polymarker&) so that it is treated as
159 one primoitive to fit with the above re-organisation.
160- Implemented picking for OGLIX.
161
16225th March 2007 John Allison (opengl-V08-02-03)
163- Fix compiler warnings.
164
1658th February 2007 John Allison (opengl-V08-02-02)
166- Fixed Windows problem with DBL_MAX. (Introduced G4OPENGL_DBL_MAX.)
167- G4OpenGLXViewer.cc: Small bug fix in print(). (Context was switched
168 .but not switched back. Not serious, because context was always set
169 before normal drawing.)
170
1719th January 2007 John Allison (opengl-V08-02-01)
172- Implemented bitmap markers for MarkerSizeType == screen. (The old
173 polygon implementation remains for MarkerSizeType == world.)
174- Added G4OpenGLBitMapStore to assist the above.
175- G4OpenGLXViewer::CreateGLXContext:
176 o Bug fix: Added missing break in colormap lookup routine.
177
1785th January 2007 John Allison (opengl-V08-02-00)
179- G4OpenGLSceneHandler.cc:
180 o Followed change of signature of GetLineWidth in visman-V08-02-00.
181 o Minor efficiency improvements.
182
18321st November 2006 John Allison (opengl-V08-01-09)
184- Fixed compiler warnings.
185
1861st November 2006 John Allison (opengl-V08-01-08)
187- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command
188 actually initiates a print, rather than set a flag for printing.
189
19024th October 2006 John Allison (opengl-V08-01-07)
191- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
192- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
193
19419th September 2006 John Allison (opengl-V08-01-06)
195- Added time origin for light front.
196- Added /vis/ogl/set/transparency.
197- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
198
1994th September 2006 John Allison (opengl-V08-01-05)
200- Implement cutaways.
201- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
202 primitives (see detector being drawn).
203- /vis/oglx/set/printEPS: change parameter default to true.
204
20530th August 2006 John Allison (opengl-V08-01-04)
206- G4OpenGLSceneHandler:
207 o Implemented line width.
208 o Switched off back face culling when clipping so that the inside of
209 volumes can be seen.
210 o Added CreateSection/CutawayPolyhedron to exploit generic
211 sectioning (DCUT) and cutaways. Currently not activated due to
212 instabilities in BooleanProcessor. Local sectioning still active
213 but broken (at least on Mac) due to apparent change in effect of
214 clipping planes (polyhedron edges not reconstructed).
215 o Rationalised calculation of marker size.
216- G4OpenGLStoredSceneHandler:
217 o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
218 o Pick up time range from G4VisAttributes.
219- G4OpenGLViewer(Messenger):
220 o Added position and colour to /vis/ogl/set/displayHeadTime.
221 o Added /vis/ogl/set/displayLightFront.
222- G4OpenGLStoredViewer.cc:
223 o Rationalised CompareForKernelVisit. (Local sectioning still active.)
224 o Added position and colour to DisplayHeadTime.
225 o Added DisplayLightFront.
226
22716th August 2006 John Allison (opengl-V08-01-03)
228- Corrected Solaris compilation error.
229- Added /vis/ogl/set/fade and displayHeadTime.
230
23114th August 2006 John Allison (opengl-V08-01-02)
232- Needs visman-V08-01-02.
233- G4OpenGLStored: Implemented display-by-time. Only available in
234 stored mode at present. Only implemented for circle, square,
235 polyline and polymarker at present, enough for currently available
236 trajectory models. Time is communicated via G4AttValues.
237- Added G4OpenGLViewerMessenger.
238- Added /vis/ogl/set/startTime and endTime of displayed objects.
239- All factories: Instantiated G4OpenGLViewerMessenger.
240- G4OpenGLViewer: Added fStart/EndTime.
241- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
242 spewPrimitiveEPS and spewSortedFeedback.
243
24417th July John Allison (opengl-V08-01-01)
245- Added /vis/oglx/set/printEPS (prints eps file on every update).
246
2473rd July 2006 John Allison (opengl-V08-01-00)
248- Elimination of redundant variable doublebuffer and implementation of
249 FinishView in all viewers.
250
25130th May 2006 Joseph Perl (opengl-V08-00-08)
252- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
253 variable seems to have random behavior and should be assumed false for
254 this viewer.
255
25629th May 2006 Joseph Perl (opengl-V08-00-07)
257- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
258 Removed common FinishView and instead made separate FinishView for the two different
259 versions of this viewer since each wants a different buffer swapping behaviour.
260
26112th May 2006 John Allison (opengl-V08-00-06)
262- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
263
26428th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14)
265- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
266 recomputing transients.
267
26824th April 2006 John Allison (opengl-V08-00-04)
269- Fixed compilation problem on Windows.
270
27119th April 2006 John Allison (opengl-V08-00-03)
272- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
273 G4OpenGLImmediateSceneHandler:
274 o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
275 greps-V08-00-02).
276 o Migrated to direct access to G4PhysicalVolumeModel.
277- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
278 of display lists in DrawView.
279
28014th March 2006 John Allison (opengl-V08-00-02)
281- Refined display list building and re-drawing algorithm.
282 o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
283 o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
284- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
285 re-use algorithm. In test19 with global culling off, numbers of
286 display lists used are:
287 o 191 No re-use:
288 o 73 Before this change: re-use except replicas (includes parameterised).
289 o 33 After this change: re-use except parameterised and replicas in radius.
290
29126th January 2006 John Allison (opengl-V08-00-01)
292- Coworks with visman-V08-00-04 (removed fModified).
293- Removed references to fModified.
294- Tidying: Removed unnecessary ClearView.
295- G4OpenGLSceneHandler.cc: Added some (commented out) code for
296 possible future implementation of 2D drawing.
297- G4OpenGLXViewer.cc: Improved exception printing.
298
29911th January 2006 John Allison (opengl-V08-00-00)
300- Improved efficiency: all DrawView's:
301 o Don't call ClearView.
302 o Set flag so SetView will not be called in ProcessView.
303 o Leave background colour to ClearView.
304- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
305- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
306 for current viewer.
307
30824th November 2005 John Allison (opengl-V07-01-09)
309- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
310
31122nd November 2005 John Allison (opengl-V07-01-08)
312- Added G4OpenGLXmViewerMessenger.
313- Corrected text position.
314- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
315
31617th November 2005 Gabriele Cosmo
317- Fixed settings of background style for WIN32 viewers.
318
31913th November 2005 John Allison (opengl-V07-01-07)
320- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
321
32213th October 2005 John Allison (opengl-V07-01-06)
323- Allowed any colour background.
324- Implemented non-uniform scaling.
325- Migration to <sstream>.
326
32729th September 2005 John Allison (opengl-V07-01-05)
328- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
329 scene handler.
330- Re-implemented transparency button in OpenGLXm.
331
33213th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02)
333- Implemented white background for all OGL viewers.
334- G4OpenGLSceneHandler.cc:
335 o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
336 o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
337 o Corrected GetTextColour(text).
338 o Corrected GetColour(polyhedron).
339
3405th September 2005 John Allison (opengl-V07-01-03)
341- Bug fix: stored transparent objects were being lost.
342
3432nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01)
344- Bug fix: edgeflags problem introduced with smooth shading in
345 opengl-V07-01-00.
346- Implementation of a "better algorithm" for the rendering of
347 transparent polyhedron objects. It renders all opaque objects
348 first, then renders the transparent objects with the depth buffer in
349 read-only mode (see OpenGL Programming Guide). It uses the new
350 facility in G4VSceneHandler::ProcessScene for an optional second pass
351 of the run-duration models in the scene. Note this algorithm is
352 still only an approximation. It will still give the wrong blended
353 colour if two transparent objects are rendered front first. For
354 nested transparent objects, this is unfortunate, because
355 G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
356 in such a way that mothers come first. Also, there is no guaranteed
357 relationship between the order of rendering and the depth of two
358 transparent objects if they are at the same level or in different
359 branches of the hierarchy. Still, the only error will be an
360 incorrect colour - the objects will still give the appearance of
361 transparency, so it's a pretty good algorithm. (An even better
362 algorithm would be to attempt to render the facets in depth order,
363 deepest first. But how do you calculate the depth - centre of area,
364 deepest corner? One can still imagine pathalogical cases that would
365 sometimes give the wrong colour. Also, for stored mode, the order
366 is fixed in a display list so when the user rotates the view, one
367 would lose the depth ordering. I think we have to accept that
368 blending in OpenGL is only ever an approximation. For accurate
369 blending, use RayTracer.)
370
37128th August 2005 John Allison (opengl-V07-01-01)
372- Half-way implementation of rendering of transparent polyhedron
373 objects. In this implementation, no account is taken of the order
374 of rendering. Transparent objects are rendered with depth testing
375 off so that objects behind can still be seen. But this means that
376 opaque objects in front do not obscure them - and they jolly well
377 should! A better algorithm is to render all opaque objects first,
378 then render the transparent objects with the depth buffer in
379 read-only mode (see OpenGL Programming Guide). This is going to
380 take a little more thought - see opengl-V07-01-02.
381
38220th July 2005 John Allison (opengl-V07-01-00)
383- Introduced smooth shading, taking advantage of hitherto un-noticed
384 feature of HepPolyhedron::GetNextFacet that calculates the normals
385 at each vertex so that curved surfaces are rendered more
386 realistically (Gouraud shading).
387- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
388- G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes
389 the default window size. It used to be 400x400, hardcoded in
390 G4OpenGLXmViewer.cc, but now it picks up the
391 G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
392 The user may change it on the command line, e.g:
393 /vis/open OGLSXm 500
394 or
395 /vis/viewer/create ! ! 500
396
39730th May 2005 John Allison (opengl-V07-00-03)
398- Fixed compilation problem in OpenGL on SUN. (Replaced multimap by
399 map of vectors in G4OpenGLFontBaseStore.)
400
4014th May 2005 John Allison (opengl-V07-00-02)
402- Restored sequence Set/Clear/DrawView in ClearTransientStore. (It
403 was taken out to prevent recursive calling, but that seems to be OK,
404 and it is needed to implement refresh at end of event/run.)
405
40622nd April 2005 John Allison (opengl-V07-00-01)
407- Rationalised work of opengl-V07-00-00. Functionality unchanged.
408 o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
409 o In all concrete viewers, added call to CreateFontLists().
410 o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
411 o There is no longer a need to implement in the XmViewer, since it
412 now inherits. Thus the font code now only appears once for X.
413 o Awaiting implementation for WIN32.
414
41517th April 2005 John Allison (opengl-V07-00-00)
416- Based on vis-V07-00-13.
417- Implemented text for X-Windows viewers. Uses glXUseXFont, which
418 creates display lists for nominated fonts. Simple-minded scheme in
419 which each viewer creates its own font display lists for a variety
420 of sizes, which are accessed by the scene handler through a new
421 class, G4OpenGLFontBaseStore. Affected methods:
422 G4OpenGLXViewer::CreateMainWindow()
423 G4OpenGLXmViewer::CreateMainWindow()
424 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
425
42618th November 2004 John Allison (opengl-V06-02-07)
427- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
428
42915th November 2004 Guy Barrand
430- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
431 to see trajectories (for example with N03). Correct so that
432 ShowView do a FinishView that does : glFlush, wglSwapBuffer
433 and empty the Windows message queue.
434
43522nd September 2004 John Allison (opengl-V06-02-06)
436- doxygen output to tmp area.
437- Trap non-regular polyhedrons.
438
43913th September 2004 Gabriele Cosmo (opengl-V06-02-05)
440- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
441 to allow for porting on CLHEP-1.9.X series.
442
44323rd July 2004 John Allison
444- Draws auxiliary edges if required.
445- Added auxiliary edge button.
446
44716th July 2004 John Allison (opengl-V06-02-04)
448- Refinements to hidden line, hidden surface removal.
449
45014th July 2004 John Allison (opengl-V06-02-03)
451- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
452
45313th July 2004 John Allison (opengl-V06-02-02)
454- Hidden line *and* hidden surface removal now works.
455
4569th July 2004 John Allison (opengl-V06-02-01)
457- Fixed long-standing problem with hidden line removal.
458- Improved messages on failure to get visual.
459- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
460 systems provided by default anyway, so no effect.
461
4621st July 2004 John Allison (opengl-V06-02-00)
463- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
464- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
465
46618th June 2004 Gunter Folger (geant4-06-02)
4679th June 2004 Gabriele Cosmo (vis-V06-01-03)
4687th June 2004 Gabriele Cosmo (vis-V06-01-02)
469- GNUmakefile and disclaimer changes - see visualization/History.
470
4719th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00)
472- Tagged OpenGL as below. Joint with interfaces-V06-01-00.
473
4747th April 2004 Guy Barrand
475- visualization/OpenGL/* : use the G4OpenGL.hh file.
476- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
477 the include of gl/gl.h and gl/glu.h that may be platform dependant.
478 It permits to rm some #ifdef WIN32 spread in the code. It opens also
479 the way to the usage of the Apple OpenGL on a Mac.
480
48117th February 2004 John Allison (opengl-V06-00-00)
482- Fixed bug #581: wrong order of statements in
483 G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
484
4854th October 2003 Gabriele Cosmo (vis-V05-02-01)
486- GNUmakefile:
487 o replaced "digits+hits" with "digits_hits".
488- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
489
49022nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00)
491- Cosmetic change to regularise names:
492 o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
493 o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
494
49523rd June 2003 Guy Barrand (opengl-V05-01-02)
496- Commit a first implementation of G4OpenGLWin32Viewer.
497
49810th June 2003 Gabriele Cosmo (opengl-V05-01-01)
499- More fixes for warnings in viewers classes.
500- Added inclusion of <windows.h> for WIN32 platforms when GL headers
501 are included.
502
50305th June 2003 Gabriele Cosmo (opengl-V05-01-00)
504- Fixes for porting compilation on WIN32:
505 o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
506 o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
507 since declared 'obsolete' in WIN32 platforms.
508
50927th November 2002 John Allison (vis-V04-01-08)
510- Improved algorithm of CompareForKernelVisit.
511
51211th November 2002 John Allison (opengl-V04-01-02)
513- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
514- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
515 call default but there as a marker and encourager.
516- Added tracking and digits+hits/hits to GNUmakefile.
517
51816th October 2002 John Allison (opengl-V04-01-01)
519- Fix for WIN32. Now compiles but viewer not implemented.
520
52124th June 2002 John Allison (opengl-V04-01-00)
522- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
523
52410th June 2002 John Allison (opengl-V04-00-03)
525- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
526
5276th June 2002 John Allison (opengl-V04-00-02)
528- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
529
53023rd February 2002 John Allison (opengl-V04-00-01)
531- Changes to encourage compilation on Windows in preparation for
532 implementation of G4OpenGLWin32Viewer. Removed spurious includes of
533 glx.h, unistd.h and assert.h.
534
53524th August 2001 John Allison (vis-V03-02-13)
536- Limited the printing of warnings in
537 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
538
53914th August 2001 John Allison (vis-V03-02-11)
540- Improved KernelVisitDecision.
541- Fixed a few small bugs in multiple "stored" viewers, but see next item.
542- There's an outstanding bug in OpenGL Stored. If there is more than
543 one viewer controlled by a scene handler, after a ClearStore on the
544 scene handler, e.g., with /vis/scene/notifyHandlers, the first
545 viewer to get refreshed should trigger the display list rebuild, but
546 the second need not. However, when the second viewer's turn comes,
547 the display lists are there, and are called, e.g.,
548 G4OpenGLStoredXViewer::DrawView calls
549 G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
550 nothing appears on the screen. To overcome this there is some
551 temporary code in G4VViewer::NeedKernelVisit which marks *all*
552 viewers to force a rebuild. To see the symptoms, comment out that
553 temporary code and issue these commands:
554 /vis/verbose c
555 /control/verbose 2
556 /vis/scene/create
557 /vis/scene/add/volume
558 /vis/sceneHandler/create OGLSX
559 /vis/viewer/create ! ! 1
560 /run/beamOn
561 /vis/viewer/create ! ! 1
562 /vis/viewer/select viewer-0
563 /vis/viewer/viewpointThetaPhi 20 20
564 /vis/viewer/select viewer-1
565 /vis/viewer/viewpointThetaPhi 40 40
566 /vis/viewer/set/style surface
567 /vis/viewer/refresh
568 /vis/viewer/select viewer-0
569 /vis/viewer/refresh
570 /vis/viewer/select viewer-1
571 /vis/viewer/set/style wireframe
572 /vis/scene/notifyHandlers
573 You may have to do this too:
574 /vis/viewer/select viewer-0
575 /vis/scene/notifyHandlers
576 One of the viewers is empty. Curious!!
577
5789th August 2001 John Allison (vis-V03-02-10-00)
579- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
580- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
581 invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
582 picked up by inheritance anyway.
583- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
584- Corrected order of calling base class functions in
585 G4OpenGLStoredSceneHandler::Begin/EndModeling.
586
58724th July 2001 John Allison (vis-V03-02-06)
588- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
589
59014th July 2001 John Allison (opengl-V03-02-00)
591- Fixed crash in optimised mode: added Initialise() to viewers so
592 that windows are opened after viewers are fully constructed.
593
5942nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
595- Tidied G4OpenGLXmViewer callback code. Removed superfluous header files.
596
5977th March 2001 John Allison
598- Changed char* to const char* in many places and that gave problems in
599 calls to Xt and Xm. Hope all's OK. Differences:
600 cvs diff -r vis-V03-00-06 vis-V03-00-07
601
60225th January 2001 John Allison (opengl-V03-00-00)
603- Implemented running re-calculation of up-vector in the case of "object
604 rotation" (lights move with camera) to prevent "flipping" of view when
605 camera passes through up-vector. Note that the default is "camera
606 rotation" (lights do not move with camera, i.e., remain fixed relative
607 to object) so the default is that this "flipping" can happen. To set
608 "object rotation" (lights move with camera) use
609 /vis/lights/move_with_camera true (soon to be
610 /vis/viewer/set/lights move-with-camera) or click "Object" radio button
611 on Rotation Panel in OpenGLXm mode.
612- Changed some objects to references for efficiency. E.g.:
613 const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
614
61522nd May 2000 John Allison (opengl-V01-01-00)
616- Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug
617 by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
618 static XVisualInfo* vi_single_buffer;
619 static XVisualInfo* vi_double_buffer;
620- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
621 G4OpenGLXViewer.
622- Protected double deletion of window in destructors of G4OpenGLXmViewer
623 and G4OpenGLXViewer (Guy Barrand).
624- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
625- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
626 constructors.
Note: See TracBrowser for help on using the repository browser.