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

Last change on this file since 631 was 631, checked in by garnier, 17 years ago

maj a jour par rapport au repository de geant4

File size: 25.2 KB
Line 
1$Id: History,v 1.103 2007/11/19 19:45:39 perl 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
2319th November 2007  Joseph Perl (for Laurent Garnier) (opengl-V09-00-04)
24- Added GEANT4_QT_DEBUG flag to more places
25
2615th November 2007  John Allison  (opengl-V09-00-03)
27- Re-introduced Qt files, now properly protected by cpp flags.
28- cpp flags also added to some other files not previously properly protected.
29
3015 Nov 2007, Laurent Garnier
31 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
32 - G4UIQt,G4Qt : Compilation improvements for Qt3
33 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
34
3514 Nov 2007, Laurent Garnier
36 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
37     Qt4
38 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
39     Adding protection for Qt version between 4.0 and 4.2
40
4113th November 2007  John Allison  (opengl-V09-00-02)
42- Removed Qt files from tag.  File are still at head - need fixing.
43
4413 Nov 2007, Laurent Garnier
45 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
46   including Qt3 and Qt4 moc support
47
4810th November 2007  John Allison  (opengl-V09-00-01)
49- Moved WinSize_x, y to base class G4OpenGLViewer.
50- Minor improvement in guidance for /vis/ogl/printEPS.
51
5209 Nov 2007, Laurent Garnier
53 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
54
5508 Nov 2007, Laurent Garnier
56 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
57 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
58
5927 Sept 2007, Laurent Garnier
60 - Adding sur files for G4UIQt driver :
61   - G4OpenGLImmediateQt.cc
62   - G4OpenGLImmediateQtViewer.cc
63   - G4OpenGLQtExportDialog.cc
64   - G4OpenGLQtViewer.cc
65   - G4OpenGLStoredQt.cc
66   - G4OpenGLStoredQtViewer.cc
67   - moc_G4OpenGLQtExportDialog.cc
68   - moc_G4OpenGLQtViewer.cc
69
7028th September 2007  lgarnier
71- first import of G4UI Qt files : Do not try to compil them
72
7321st August 2007  John Allison  (opengl-V09-00-00)
74- Removed redundant G4OpenGLXViewerMessenger.
75
7625th May 2007  John Allison  (opengl-V08-03-03)
77- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
78  Fixed gcc-4.1.2 compiler warnings.
79
8025th May 2007  John Allison  (opengl-V08-03-02)
81- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
82
8324th May 2007  John Allison  (opengl-V08-03-01)
84- Fixes for SUN.
85
8616th May 2007  John Allison  (opengl-V08-03-00)
87- Fix compiler warnings on SLC4.
88- Bug fixes:
89  o Correct path /vis/ogl/set/printMode.
90  o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
91    and "/vis/ogl/printEPS").
92
938th May 2007  John Allison  (opengl-V08-02-06)
94- Moved vectored PostScript printing to G4OpenGLViewer.
95- /vis/ogl/printEPS should work for all viewers, including Win32.
96- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
97  effective on X windows (and still somewhat buggy).
98
994th April 2007  John Allison  (opengl-V08-02-05 - needs visman-V08-02-04)
100- Implemented picking for OGLSX ( as well as OGLIX).  Hopefully works
101  for OGL*Win32.  Still doesn't work for OGL*Xm.
102
1033rd April 2007  John Allison  (opengl-V08-02-04 - needs visman-V08-02-03)
104- G4OpenGLStoredSceneHandler:
105  o Re-organised display lists on a per-primitive basis, i.e., one
106    display list per primitive.  (This is so that, except for text,
107    the colour - or, rather, intensity - can be brought out of the
108    display list into the TOList (Transient Object List) and
109    controlled for the Display-by-Time feature.  Previously, if more
110    than one primitive were drawn between BeginPrimitives and
111    EndPrimitives, it would finish up all in one display list, colour
112    commands included. Rationalises and fixes a rare bug in the
113    Display-by-Time feature - see August 2006.)
114  o Added AddPrimitive(const G4Polymarker&) so that it is treated as
115    one primoitive to fit with the above re-organisation.
116- Implemented picking for OGLIX.
117
11825th March 2007  John Allison  (opengl-V08-02-03)
119- Fix compiler warnings.
120
1218th February 2007  John Allison  (opengl-V08-02-02)
122- Fixed Windows problem with DBL_MAX.  (Introduced G4OPENGL_DBL_MAX.)
123- G4OpenGLXViewer.cc: Small bug fix in print().  (Context was switched
124  .but not switched back.  Not serious, because context was always set
125  before normal drawing.)
126
1279th January 2007  John Allison  (opengl-V08-02-01)
128- Implemented bitmap markers for MarkerSizeType == screen.  (The old
129  polygon implementation remains for MarkerSizeType == world.)
130- Added G4OpenGLBitMapStore to assist the above.
131- G4OpenGLXViewer::CreateGLXContext:
132  o Bug fix: Added missing break in colormap lookup routine.
133
1345th January 2007  John Allison  (opengl-V08-02-00)
135- G4OpenGLSceneHandler.cc:
136  o Followed change of signature of GetLineWidth in visman-V08-02-00.
137  o Minor efficiency improvements.
138
13921st November 2006  John Allison  (opengl-V08-01-09)
140- Fixed compiler warnings.
141
1421st November 2006  John Allison  (opengl-V08-01-08)
143- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS.  The new command
144  actually initiates a print, rather than set a flag for printing.
145
14624th October 2006  John Allison  (opengl-V08-01-07)
147- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
148- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
149
15019th September 2006  John Allison  (opengl-V08-01-06)
151- Added time origin for light front.
152- Added /vis/ogl/set/transparency.
153- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
154
1554th September 2006  John Allison  (opengl-V08-01-05)
156- Implement cutaways.
157- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
158  primitives (see detector being drawn).
159- /vis/oglx/set/printEPS: change parameter default to true.
160
16130th August 2006  John Allison  (opengl-V08-01-04)
162- G4OpenGLSceneHandler:
163  o Implemented line width.
164  o Switched off back face culling when clipping so that the inside of
165    volumes can be seen.
166  o Added CreateSection/CutawayPolyhedron to exploit generic
167    sectioning (DCUT) and cutaways.  Currently not activated due to
168    instabilities in BooleanProcessor.  Local sectioning still active
169    but broken (at least on Mac) due to apparent change in effect of
170    clipping planes (polyhedron edges not reconstructed).
171  o Rationalised calculation of marker size.
172- G4OpenGLStoredSceneHandler:
173  o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
174  o Pick up time range from G4VisAttributes.
175- G4OpenGLViewer(Messenger):
176  o Added position and colour to /vis/ogl/set/displayHeadTime.
177  o Added /vis/ogl/set/displayLightFront.
178- G4OpenGLStoredViewer.cc:
179  o Rationalised CompareForKernelVisit.  (Local sectioning still active.)
180  o Added position and colour to DisplayHeadTime.
181  o Added DisplayLightFront.
182 
18316th August 2006  John Allison  (opengl-V08-01-03)
184- Corrected Solaris compilation error.
185- Added /vis/ogl/set/fade and displayHeadTime.
186
18714th August 2006  John Allison  (opengl-V08-01-02)
188- Needs visman-V08-01-02.
189- G4OpenGLStored: Implemented display-by-time.  Only available in
190  stored mode at present.  Only implemented for circle, square,
191  polyline and polymarker at present, enough for currently available
192  trajectory models.  Time is communicated via G4AttValues.
193- Added G4OpenGLViewerMessenger.
194- Added /vis/ogl/set/startTime and endTime of displayed objects.
195- All factories: Instantiated G4OpenGLViewerMessenger.
196- G4OpenGLViewer: Added fStart/EndTime.
197- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
198  spewPrimitiveEPS and spewSortedFeedback.
199
20017th July  John Allison  (opengl-V08-01-01)
201- Added /vis/oglx/set/printEPS (prints eps file on every update).
202
2033rd July 2006  John Allison  (opengl-V08-01-00)
204- Elimination of redundant variable doublebuffer and implementation of
205  FinishView in all viewers.
206
20730th May 2006  Joseph Perl  (opengl-V08-00-08)
208- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
209  variable seems to have random behavior and should be assumed false for
210  this viewer.
211
21229th May 2006  Joseph Perl  (opengl-V08-00-07)
213- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
214  Removed common FinishView and instead made separate FinishView for the two different
215  versions of this viewer since each wants a different buffer swapping behaviour.
216
21712th May 2006  John Allison  (opengl-V08-00-06)
218- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
219
22028th April 2006  John Allison  (opengl-V08-00-05 - needs visman-V08-00-14)
221- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
222  recomputing transients.
223
22424th April 2006  John Allison  (opengl-V08-00-04)
225- Fixed compilation problem on Windows.
226
22719th April 2006  John Allison  (opengl-V08-00-03)
228- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
229  G4OpenGLImmediateSceneHandler:
230  o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
231    greps-V08-00-02).
232  o Migrated to direct access to G4PhysicalVolumeModel.
233- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
234  of display lists in DrawView.
235
23614th March 2006  John Allison  (opengl-V08-00-02)
237- Refined display list building and re-drawing algorithm.
238  o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
239  o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
240- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
241  re-use algorithm.  In test19 with global culling off, numbers of
242  display lists used are:
243  o 191  No re-use:
244  o  73  Before this change: re-use except replicas (includes parameterised).
245  o  33  After this change: re-use except parameterised and replicas in radius.
246
24726th January 2006  John Allison  (opengl-V08-00-01)
248- Coworks with visman-V08-00-04 (removed fModified).
249- Removed references to fModified.
250- Tidying: Removed unnecessary ClearView.
251- G4OpenGLSceneHandler.cc: Added some (commented out) code for
252  possible future implementation of 2D drawing.
253- G4OpenGLXViewer.cc: Improved exception printing.
254
25511th January 2006  John Allison  (opengl-V08-00-00)
256- Improved efficiency: all DrawView's:
257  o Don't call ClearView.
258  o Set flag so SetView will not be called in ProcessView.
259  o Leave background colour to ClearView.
260- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
261- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
262  for current viewer.
263
26424th November 2005  John Allison  (opengl-V07-01-09)
265- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
266
26722nd November 2005  John Allison  (opengl-V07-01-08)
268- Added G4OpenGLXmViewerMessenger.
269- Corrected text position.
270- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
271
27217th November 2005  Gabriele Cosmo
273- Fixed settings of background style for WIN32 viewers.
274
27513th November 2005  John Allison  (opengl-V07-01-07)
276- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
277
27813th October 2005  John Allison  (opengl-V07-01-06)
279- Allowed any colour background.
280- Implemented non-uniform scaling.
281- Migration to <sstream>.
282
28329th September 2005  John Allison  (opengl-V07-01-05)
284- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
285  scene handler.
286- Re-implemented transparency button in OpenGLXm.
287
28813th September 2005  John Allison  (opengl-V07-01-04 - needs visman-V07-01-02)
289- Implemented white background for all OGL viewers.
290- G4OpenGLSceneHandler.cc:
291  o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
292  o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
293  o Corrected GetTextColour(text).
294  o Corrected GetColour(polyhedron).
295
2965th September 2005  John Allison  (opengl-V07-01-03)
297- Bug fix: stored transparent objects were being lost.
298
2992nd September 2005  John Allison  (opengl-V07-01-02 - needs visman-V07-01-01)
300- Bug fix: edgeflags problem introduced with smooth shading in
301  opengl-V07-01-00.
302- Implementation of a "better algorithm" for the rendering of
303  transparent polyhedron objects.  It renders all opaque objects
304  first, then renders the transparent objects with the depth buffer in
305  read-only mode (see OpenGL Programming Guide).  It uses the new
306  facility in G4VSceneHandler::ProcessScene for an optional second pass
307  of the run-duration models in the scene.  Note this algorithm is
308  still only an approximation.  It will still give the wrong blended
309  colour if two transparent objects are rendered front first.  For
310  nested transparent objects, this is unfortunate, because
311  G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
312  in such a way that mothers come first.  Also, there is no guaranteed
313  relationship between the order of rendering and the depth of two
314  transparent objects if they are at the same level or in different
315  branches of the hierarchy.  Still, the only error will be an
316  incorrect colour - the objects will still give the appearance of
317  transparency, so it's a pretty good algorithm.  (An even better
318  algorithm would be to attempt to render the facets in depth order,
319  deepest first.  But how do you calculate the depth - centre of area,
320  deepest corner?  One can still imagine pathalogical cases that would
321  sometimes give the wrong colour.  Also, for stored mode, the order
322  is fixed in a display list so when the user rotates the view, one
323  would lose the depth ordering.  I think we have to accept that
324  blending in OpenGL is only ever an approximation.  For accurate
325  blending, use RayTracer.)
326
32728th August 2005  John Allison  (opengl-V07-01-01)
328- Half-way implementation of rendering of transparent polyhedron
329  objects.  In this implementation, no account is taken of the order
330  of rendering.  Transparent objects are rendered with depth testing
331  off so that objects behind can still be seen.  But this means that
332  opaque objects in front do not obscure them - and they jolly well
333  should!  A better algorithm is to render all opaque objects first,
334  then render the transparent objects with the depth buffer in
335  read-only mode (see OpenGL Programming Guide).  This is going to
336  take a little more thought - see opengl-V07-01-02.
337
33820th July 2005  John Allison  (opengl-V07-01-00)
339- Introduced smooth shading, taking advantage of hitherto un-noticed
340  feature of HepPolyhedron::GetNextFacet that calculates the normals
341  at each vertex so that curved surfaces are rendered more
342  realistically (Gouraud shading).
343- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
344- G4OpenGLXmViewer.cc: Fixed to use window size hints.  This changes
345  the default window size.  It used to be 400x400, hardcoded in
346  G4OpenGLXmViewer.cc, but now it picks up the
347  G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
348  The user may change it on the command line, e.g:
349    /vis/open OGLSXm 500
350  or
351    /vis/viewer/create ! ! 500
352
35330th May 2005  John Allison  (opengl-V07-00-03)
354- Fixed compilation problem in OpenGL on SUN.  (Replaced multimap by
355  map of vectors in G4OpenGLFontBaseStore.)
356
3574th May 2005  John Allison  (opengl-V07-00-02)
358- Restored sequence Set/Clear/DrawView in ClearTransientStore.  (It
359  was taken out to prevent recursive calling, but that seems to be OK,
360  and it is needed to implement refresh at end of event/run.)
361
36222nd April 2005  John Allison  (opengl-V07-00-01)
363- Rationalised work of opengl-V07-00-00.  Functionality unchanged.
364  o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
365  o In all concrete viewers, added call to CreateFontLists().
366  o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
367  o There is no longer a need to implement in the XmViewer, since it
368    now inherits.  Thus the font code now only appears once for X.
369  o Awaiting implementation for WIN32.
370
37117th April 2005  John Allison  (opengl-V07-00-00)
372- Based on vis-V07-00-13.
373- Implemented text for X-Windows viewers.  Uses glXUseXFont, which
374  creates display lists for nominated fonts.  Simple-minded scheme in
375  which each viewer creates its own font display lists for a variety
376  of sizes, which are accessed by the scene handler through a new
377  class, G4OpenGLFontBaseStore.  Affected methods:
378    G4OpenGLXViewer::CreateMainWindow()
379    G4OpenGLXmViewer::CreateMainWindow()
380    G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
381
38218th November 2004  John Allison  (opengl-V06-02-07)
383- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
384
38515th November 2004  Guy Barrand
386- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
387  to see trajectories (for example with N03). Correct so that
388  ShowView do a FinishView that does : glFlush, wglSwapBuffer
389  and empty the Windows message queue.
390
39122nd September 2004  John Allison  (opengl-V06-02-06)
392- doxygen output to tmp area.
393- Trap non-regular polyhedrons.
394
39513th September 2004  Gabriele Cosmo  (opengl-V06-02-05)
396- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
397  to allow for porting on CLHEP-1.9.X series.
398
39923rd July 2004  John Allison
400- Draws auxiliary edges if required.
401- Added auxiliary edge button.
402
40316th July 2004  John Allison  (opengl-V06-02-04)
404- Refinements to hidden line, hidden surface removal.
405
40614th July 2004  John Allison  (opengl-V06-02-03)
407- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
408
40913th July 2004  John Allison  (opengl-V06-02-02)
410- Hidden line *and* hidden surface removal now works.
411
4129th July 2004  John Allison  (opengl-V06-02-01)
413- Fixed long-standing problem with hidden line removal.
414- Improved messages on failure to get visual.
415- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
416  systems provided by default anyway, so no effect.
417
4181st July 2004  John Allison  (opengl-V06-02-00)
419- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
420- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
421
42218th June 2004  Gunter Folger (geant4-06-02)
4239th June 2004  Gabriele Cosmo  (vis-V06-01-03)
4247th June 2004  Gabriele Cosmo  (vis-V06-01-02)
425- GNUmakefile and disclaimer changes - see visualization/History.
426
4279th April 2004  John Allison  (vis-V06-01-01 + interfaces-V06-01-00)
428- Tagged OpenGL as below.  Joint with interfaces-V06-01-00.
429
4307th April 2004  Guy Barrand
431- visualization/OpenGL/* : use the G4OpenGL.hh file.
432- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
433  the include of gl/gl.h and gl/glu.h that may be platform dependant.
434  It permits to rm some #ifdef WIN32 spread in the code. It opens also
435  the way to the usage of the Apple OpenGL on a Mac.
436
43717th February 2004  John Allison  (opengl-V06-00-00)
438- Fixed bug #581: wrong order of statements in
439  G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
440
4414th October 2003  Gabriele Cosmo  (vis-V05-02-01)
442- GNUmakefile:
443  o replaced "digits+hits" with "digits_hits".
444- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
445
44622nd September 2003  John Allison  (vis-V05-02-00, greps-V05-02-00)
447- Cosmetic change to regularise names:
448  o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
449  o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
450
45123rd June 2003  Guy Barrand  (opengl-V05-01-02)
452- Commit a first implementation of G4OpenGLWin32Viewer.
453
45410th June 2003  Gabriele Cosmo  (opengl-V05-01-01)
455- More fixes for warnings in viewers classes.
456- Added inclusion of <windows.h> for WIN32 platforms when GL headers
457  are included.
458
45905th June 2003  Gabriele Cosmo  (opengl-V05-01-00)
460- Fixes for porting compilation on WIN32:
461  o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
462  o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
463    since declared 'obsolete' in WIN32 platforms.
464
46527th November 2002  John Allison  (vis-V04-01-08)
466- Improved algorithm of CompareForKernelVisit.
467
46811th November 2002  John Allison  (opengl-V04-01-02)
469- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
470- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
471  call default but there as a marker and encourager.
472- Added tracking and digits+hits/hits to GNUmakefile.
473
47416th October 2002  John Allison  (opengl-V04-01-01)
475- Fix for WIN32.  Now compiles but viewer not implemented.
476
47724th June 2002  John Allison  (opengl-V04-01-00)
478- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
479
48010th June 2002  John Allison  (opengl-V04-00-03)
481- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
482
4836th June 2002  John Allison  (opengl-V04-00-02)
484- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
485
48623rd February 2002  John Allison  (opengl-V04-00-01)
487- Changes to encourage compilation on Windows in preparation for
488  implementation of G4OpenGLWin32Viewer.  Removed spurious includes of
489  glx.h, unistd.h and assert.h.
490
49124th August 2001  John Allison  (vis-V03-02-13)
492- Limited the printing of warnings in
493  G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
494
49514th August 2001  John Allison  (vis-V03-02-11)
496- Improved KernelVisitDecision.
497- Fixed a few small bugs in multiple "stored" viewers, but see next item.
498- There's an outstanding bug in OpenGL Stored.  If there is more than
499  one viewer controlled by a scene handler, after a ClearStore on the
500  scene handler, e.g., with /vis/scene/notifyHandlers, the first
501  viewer to get refreshed should trigger the display list rebuild, but
502  the second need not.  However, when the second viewer's turn comes,
503  the display lists are there, and are called, e.g.,
504  G4OpenGLStoredXViewer::DrawView calls
505  G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
506  nothing appears on the screen.  To overcome this there is some
507  temporary code in G4VViewer::NeedKernelVisit which marks *all*
508  viewers to force a rebuild.  To see the symptoms, comment out that
509  temporary code and issue these commands:
510    /vis/verbose c
511    /control/verbose 2
512    /vis/scene/create
513    /vis/scene/add/volume
514    /vis/sceneHandler/create OGLSX
515    /vis/viewer/create ! ! 1
516    /run/beamOn
517    /vis/viewer/create ! ! 1
518    /vis/viewer/select viewer-0
519    /vis/viewer/viewpointThetaPhi 20 20
520    /vis/viewer/select viewer-1
521    /vis/viewer/viewpointThetaPhi 40 40
522    /vis/viewer/set/style surface
523    /vis/viewer/refresh
524    /vis/viewer/select viewer-0
525    /vis/viewer/refresh
526    /vis/viewer/select viewer-1
527    /vis/viewer/set/style wireframe
528    /vis/scene/notifyHandlers
529  You may have to do this too:
530    /vis/viewer/select viewer-0
531    /vis/scene/notifyHandlers
532  One of the viewers is empty.  Curious!!
533
5349th August 2001  John Allison  (vis-V03-02-10-00)
535- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
536- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
537  invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
538  picked up by inheritance anyway.
539- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
540- Corrected order of calling base class functions in
541  G4OpenGLStoredSceneHandler::Begin/EndModeling.
542
54324th July 2001  John Allison  (vis-V03-02-06)
544- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
545
54614th July 2001  John Allison (opengl-V03-02-00)
547- Fixed crash in optimised mode: added Initialise() to viewers so
548  that windows are opened after viewers are fully constructed.
549
5502nd April 2001  John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
551- Tidied G4OpenGLXmViewer callback code.  Removed superfluous header files.
552
5537th March 2001  John Allison
554- Changed char* to const char* in many places and that gave problems in
555  calls to Xt and Xm.  Hope all's OK.  Differences:
556    cvs diff -r vis-V03-00-06 vis-V03-00-07
557
55825th January 2001  John Allison  (opengl-V03-00-00)
559- Implemented running re-calculation of up-vector in the case of "object
560  rotation" (lights move with camera) to prevent "flipping" of view when
561  camera passes through up-vector.  Note that the default is "camera
562  rotation" (lights do not move with camera, i.e., remain fixed relative
563  to object) so the default is that this "flipping" can happen.  To set
564  "object rotation" (lights move with camera) use
565  /vis/lights/move_with_camera true (soon to be
566  /vis/viewer/set/lights move-with-camera) or click "Object" radio button
567  on Rotation Panel in OpenGLXm mode.
568- Changed some objects to references for efficiency.  E.g.:
569  const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
570
57122nd May 2000  John Allison  (opengl-V01-01-00)
572- Fixed slow response of 2nd window of OpenGLXm.  Worked around Mesa bug
573  by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
574    static XVisualInfo* vi_single_buffer;
575    static XVisualInfo* vi_double_buffer;
576- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
577  G4OpenGLXViewer.
578- Protected double deletion of window in destructors of G4OpenGLXmViewer
579  and G4OpenGLXViewer (Guy Barrand).
580- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
581- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
582  constructors.
Note: See TracBrowser for help on using the repository browser.