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

Last change on this file since 690 was 688, checked in by garnier, 18 years ago

mise a jour par rapport au commit sur cvs de geant4

File size: 26.2 KB
RevLine 
[688]1$Id: History,v 1.106 2008/01/15 11:05:08 lgarnier Exp $
[529]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
[688]2315th Janvier 2007, Laurent Garnier
24 - Fixed some layout problems on export dialog box
25 - Some improvements on exports formats
26 - Fix a bug in the help command : The clic callback on a item was not
27 working on windows
28 - Fix a crash at exit when launched on a MAC.
29 - EPS export format is now ready for Qt3
30 - Add Vectoriel EPS export format
31 - Fix an aspect ratio deformation when resize the widget
32 - Fix a crash at launch with leopard
33 - When selecting the "move" mouse action, this action was set even when
34 mouse button was released. Fixed : Now we should clic to have the move action
35 - GNUmakefile : Added a macro for moc file
36 - Moc files : Suppression of all theses files. They are now autogenerated
37 thanks to config/common.gmk
38
394th January 2008 John Allison (opengl-V09-01-00)
40- Implemented extended 2D interface.
41
[632]4230th November 2007 Laurent Garnier
43- Improvements for Qt3
44- moc files : Adding other versions for QT_MOC_REVISION 28,58 and
45 59, but this is not the right solution..
46
[631]4719th November 2007 Joseph Perl (for Laurent Garnier) (opengl-V09-00-04)
48- Added GEANT4_QT_DEBUG flag to more places
49
[610]5015th November 2007 John Allison (opengl-V09-00-03)
51- Re-introduced Qt files, now properly protected by cpp flags.
52- cpp flags also added to some other files not previously properly protected.
53
[609]5415 Nov 2007, Laurent Garnier
55 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
56 - G4UIQt,G4Qt : Compilation improvements for Qt3
57 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
58
5914 Nov 2007, Laurent Garnier
60 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
61 Qt4
62 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
63 Adding protection for Qt version between 4.0 and 4.2
64
[610]6513th November 2007 John Allison (opengl-V09-00-02)
66- Removed Qt files from tag. File are still at head - need fixing.
67
[609]6813 Nov 2007, Laurent Garnier
69 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
70 including Qt3 and Qt4 moc support
71
[610]7210th November 2007 John Allison (opengl-V09-00-01)
73- Moved WinSize_x, y to base class G4OpenGLViewer.
74- Minor improvement in guidance for /vis/ogl/printEPS.
75
[609]7609 Nov 2007, Laurent Garnier
77 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
78
7908 Nov 2007, Laurent Garnier
80 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
81 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
82
8327 Sept 2007, Laurent Garnier
84 - Adding sur files for G4UIQt driver :
85 - G4OpenGLImmediateQt.cc
86 - G4OpenGLImmediateQtViewer.cc
87 - G4OpenGLQtExportDialog.cc
88 - G4OpenGLQtViewer.cc
89 - G4OpenGLStoredQt.cc
90 - G4OpenGLStoredQtViewer.cc
91 - moc_G4OpenGLQtExportDialog.cc
92 - moc_G4OpenGLQtViewer.cc
93
9428th September 2007 lgarnier
95- first import of G4UI Qt files : Do not try to compil them
96
[593]9721st August 2007 John Allison (opengl-V09-00-00)
98- Removed redundant G4OpenGLXViewerMessenger.
99
10025th May 2007 John Allison (opengl-V08-03-03)
101- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
102 Fixed gcc-4.1.2 compiler warnings.
103
10425th May 2007 John Allison (opengl-V08-03-02)
105- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
106
10724th May 2007 John Allison (opengl-V08-03-01)
108- Fixes for SUN.
109
11016th May 2007 John Allison (opengl-V08-03-00)
111- Fix compiler warnings on SLC4.
112- Bug fixes:
113 o Correct path /vis/ogl/set/printMode.
114 o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
115 and "/vis/ogl/printEPS").
116
1178th May 2007 John Allison (opengl-V08-02-06)
118- Moved vectored PostScript printing to G4OpenGLViewer.
119- /vis/ogl/printEPS should work for all viewers, including Win32.
120- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
121 effective on X windows (and still somewhat buggy).
122
1234th April 2007 John Allison (opengl-V08-02-05 - needs visman-V08-02-04)
124- Implemented picking for OGLSX ( as well as OGLIX). Hopefully works
125 for OGL*Win32. Still doesn't work for OGL*Xm.
126
1273rd April 2007 John Allison (opengl-V08-02-04 - needs visman-V08-02-03)
128- G4OpenGLStoredSceneHandler:
129 o Re-organised display lists on a per-primitive basis, i.e., one
130 display list per primitive. (This is so that, except for text,
131 the colour - or, rather, intensity - can be brought out of the
132 display list into the TOList (Transient Object List) and
133 controlled for the Display-by-Time feature. Previously, if more
134 than one primitive were drawn between BeginPrimitives and
135 EndPrimitives, it would finish up all in one display list, colour
136 commands included. Rationalises and fixes a rare bug in the
137 Display-by-Time feature - see August 2006.)
138 o Added AddPrimitive(const G4Polymarker&) so that it is treated as
139 one primoitive to fit with the above re-organisation.
140- Implemented picking for OGLIX.
141
14225th March 2007 John Allison (opengl-V08-02-03)
143- Fix compiler warnings.
144
1458th February 2007 John Allison (opengl-V08-02-02)
146- Fixed Windows problem with DBL_MAX. (Introduced G4OPENGL_DBL_MAX.)
147- G4OpenGLXViewer.cc: Small bug fix in print(). (Context was switched
148 .but not switched back. Not serious, because context was always set
149 before normal drawing.)
150
1519th January 2007 John Allison (opengl-V08-02-01)
152- Implemented bitmap markers for MarkerSizeType == screen. (The old
153 polygon implementation remains for MarkerSizeType == world.)
154- Added G4OpenGLBitMapStore to assist the above.
155- G4OpenGLXViewer::CreateGLXContext:
156 o Bug fix: Added missing break in colormap lookup routine.
157
1585th January 2007 John Allison (opengl-V08-02-00)
159- G4OpenGLSceneHandler.cc:
160 o Followed change of signature of GetLineWidth in visman-V08-02-00.
161 o Minor efficiency improvements.
162
[529]16321st November 2006 John Allison (opengl-V08-01-09)
164- Fixed compiler warnings.
165
1661st November 2006 John Allison (opengl-V08-01-08)
167- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command
168 actually initiates a print, rather than set a flag for printing.
169
17024th October 2006 John Allison (opengl-V08-01-07)
171- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
172- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
173
17419th September 2006 John Allison (opengl-V08-01-06)
175- Added time origin for light front.
176- Added /vis/ogl/set/transparency.
177- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
178
1794th September 2006 John Allison (opengl-V08-01-05)
180- Implement cutaways.
181- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
182 primitives (see detector being drawn).
183- /vis/oglx/set/printEPS: change parameter default to true.
184
18530th August 2006 John Allison (opengl-V08-01-04)
186- G4OpenGLSceneHandler:
187 o Implemented line width.
188 o Switched off back face culling when clipping so that the inside of
189 volumes can be seen.
190 o Added CreateSection/CutawayPolyhedron to exploit generic
191 sectioning (DCUT) and cutaways. Currently not activated due to
192 instabilities in BooleanProcessor. Local sectioning still active
193 but broken (at least on Mac) due to apparent change in effect of
194 clipping planes (polyhedron edges not reconstructed).
195 o Rationalised calculation of marker size.
196- G4OpenGLStoredSceneHandler:
197 o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
198 o Pick up time range from G4VisAttributes.
199- G4OpenGLViewer(Messenger):
200 o Added position and colour to /vis/ogl/set/displayHeadTime.
201 o Added /vis/ogl/set/displayLightFront.
202- G4OpenGLStoredViewer.cc:
203 o Rationalised CompareForKernelVisit. (Local sectioning still active.)
204 o Added position and colour to DisplayHeadTime.
205 o Added DisplayLightFront.
206
20716th August 2006 John Allison (opengl-V08-01-03)
208- Corrected Solaris compilation error.
209- Added /vis/ogl/set/fade and displayHeadTime.
210
21114th August 2006 John Allison (opengl-V08-01-02)
212- Needs visman-V08-01-02.
213- G4OpenGLStored: Implemented display-by-time. Only available in
214 stored mode at present. Only implemented for circle, square,
215 polyline and polymarker at present, enough for currently available
216 trajectory models. Time is communicated via G4AttValues.
217- Added G4OpenGLViewerMessenger.
218- Added /vis/ogl/set/startTime and endTime of displayed objects.
219- All factories: Instantiated G4OpenGLViewerMessenger.
220- G4OpenGLViewer: Added fStart/EndTime.
221- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
222 spewPrimitiveEPS and spewSortedFeedback.
223
22417th July John Allison (opengl-V08-01-01)
225- Added /vis/oglx/set/printEPS (prints eps file on every update).
226
2273rd July 2006 John Allison (opengl-V08-01-00)
228- Elimination of redundant variable doublebuffer and implementation of
229 FinishView in all viewers.
230
23130th May 2006 Joseph Perl (opengl-V08-00-08)
232- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
233 variable seems to have random behavior and should be assumed false for
234 this viewer.
235
23629th May 2006 Joseph Perl (opengl-V08-00-07)
237- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
238 Removed common FinishView and instead made separate FinishView for the two different
239 versions of this viewer since each wants a different buffer swapping behaviour.
240
24112th May 2006 John Allison (opengl-V08-00-06)
242- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
243
24428th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14)
245- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
246 recomputing transients.
247
24824th April 2006 John Allison (opengl-V08-00-04)
249- Fixed compilation problem on Windows.
250
25119th April 2006 John Allison (opengl-V08-00-03)
252- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
253 G4OpenGLImmediateSceneHandler:
254 o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
255 greps-V08-00-02).
256 o Migrated to direct access to G4PhysicalVolumeModel.
257- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
258 of display lists in DrawView.
259
26014th March 2006 John Allison (opengl-V08-00-02)
261- Refined display list building and re-drawing algorithm.
262 o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
263 o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
264- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
265 re-use algorithm. In test19 with global culling off, numbers of
266 display lists used are:
267 o 191 No re-use:
268 o 73 Before this change: re-use except replicas (includes parameterised).
269 o 33 After this change: re-use except parameterised and replicas in radius.
270
27126th January 2006 John Allison (opengl-V08-00-01)
272- Coworks with visman-V08-00-04 (removed fModified).
273- Removed references to fModified.
274- Tidying: Removed unnecessary ClearView.
275- G4OpenGLSceneHandler.cc: Added some (commented out) code for
276 possible future implementation of 2D drawing.
277- G4OpenGLXViewer.cc: Improved exception printing.
278
27911th January 2006 John Allison (opengl-V08-00-00)
280- Improved efficiency: all DrawView's:
281 o Don't call ClearView.
282 o Set flag so SetView will not be called in ProcessView.
283 o Leave background colour to ClearView.
284- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
285- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
286 for current viewer.
287
28824th November 2005 John Allison (opengl-V07-01-09)
289- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
290
29122nd November 2005 John Allison (opengl-V07-01-08)
292- Added G4OpenGLXmViewerMessenger.
293- Corrected text position.
294- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
295
29617th November 2005 Gabriele Cosmo
297- Fixed settings of background style for WIN32 viewers.
298
29913th November 2005 John Allison (opengl-V07-01-07)
300- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
301
30213th October 2005 John Allison (opengl-V07-01-06)
303- Allowed any colour background.
304- Implemented non-uniform scaling.
305- Migration to <sstream>.
306
30729th September 2005 John Allison (opengl-V07-01-05)
308- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
309 scene handler.
310- Re-implemented transparency button in OpenGLXm.
311
31213th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02)
313- Implemented white background for all OGL viewers.
314- G4OpenGLSceneHandler.cc:
315 o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
316 o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
317 o Corrected GetTextColour(text).
318 o Corrected GetColour(polyhedron).
319
3205th September 2005 John Allison (opengl-V07-01-03)
321- Bug fix: stored transparent objects were being lost.
322
3232nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01)
324- Bug fix: edgeflags problem introduced with smooth shading in
325 opengl-V07-01-00.
326- Implementation of a "better algorithm" for the rendering of
327 transparent polyhedron objects. It renders all opaque objects
328 first, then renders the transparent objects with the depth buffer in
329 read-only mode (see OpenGL Programming Guide). It uses the new
330 facility in G4VSceneHandler::ProcessScene for an optional second pass
331 of the run-duration models in the scene. Note this algorithm is
332 still only an approximation. It will still give the wrong blended
333 colour if two transparent objects are rendered front first. For
334 nested transparent objects, this is unfortunate, because
335 G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
336 in such a way that mothers come first. Also, there is no guaranteed
337 relationship between the order of rendering and the depth of two
338 transparent objects if they are at the same level or in different
339 branches of the hierarchy. Still, the only error will be an
340 incorrect colour - the objects will still give the appearance of
341 transparency, so it's a pretty good algorithm. (An even better
342 algorithm would be to attempt to render the facets in depth order,
343 deepest first. But how do you calculate the depth - centre of area,
344 deepest corner? One can still imagine pathalogical cases that would
345 sometimes give the wrong colour. Also, for stored mode, the order
346 is fixed in a display list so when the user rotates the view, one
347 would lose the depth ordering. I think we have to accept that
348 blending in OpenGL is only ever an approximation. For accurate
349 blending, use RayTracer.)
350
35128th August 2005 John Allison (opengl-V07-01-01)
352- Half-way implementation of rendering of transparent polyhedron
353 objects. In this implementation, no account is taken of the order
354 of rendering. Transparent objects are rendered with depth testing
355 off so that objects behind can still be seen. But this means that
356 opaque objects in front do not obscure them - and they jolly well
357 should! A better algorithm is to render all opaque objects first,
358 then render the transparent objects with the depth buffer in
359 read-only mode (see OpenGL Programming Guide). This is going to
360 take a little more thought - see opengl-V07-01-02.
361
36220th July 2005 John Allison (opengl-V07-01-00)
363- Introduced smooth shading, taking advantage of hitherto un-noticed
364 feature of HepPolyhedron::GetNextFacet that calculates the normals
365 at each vertex so that curved surfaces are rendered more
366 realistically (Gouraud shading).
367- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
368- G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes
369 the default window size. It used to be 400x400, hardcoded in
370 G4OpenGLXmViewer.cc, but now it picks up the
371 G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
372 The user may change it on the command line, e.g:
373 /vis/open OGLSXm 500
374 or
375 /vis/viewer/create ! ! 500
376
37730th May 2005 John Allison (opengl-V07-00-03)
378- Fixed compilation problem in OpenGL on SUN. (Replaced multimap by
379 map of vectors in G4OpenGLFontBaseStore.)
380
3814th May 2005 John Allison (opengl-V07-00-02)
382- Restored sequence Set/Clear/DrawView in ClearTransientStore. (It
383 was taken out to prevent recursive calling, but that seems to be OK,
384 and it is needed to implement refresh at end of event/run.)
385
38622nd April 2005 John Allison (opengl-V07-00-01)
387- Rationalised work of opengl-V07-00-00. Functionality unchanged.
388 o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
389 o In all concrete viewers, added call to CreateFontLists().
390 o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
391 o There is no longer a need to implement in the XmViewer, since it
392 now inherits. Thus the font code now only appears once for X.
393 o Awaiting implementation for WIN32.
394
39517th April 2005 John Allison (opengl-V07-00-00)
396- Based on vis-V07-00-13.
397- Implemented text for X-Windows viewers. Uses glXUseXFont, which
398 creates display lists for nominated fonts. Simple-minded scheme in
399 which each viewer creates its own font display lists for a variety
400 of sizes, which are accessed by the scene handler through a new
401 class, G4OpenGLFontBaseStore. Affected methods:
402 G4OpenGLXViewer::CreateMainWindow()
403 G4OpenGLXmViewer::CreateMainWindow()
404 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
405
40618th November 2004 John Allison (opengl-V06-02-07)
407- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
408
40915th November 2004 Guy Barrand
410- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
411 to see trajectories (for example with N03). Correct so that
412 ShowView do a FinishView that does : glFlush, wglSwapBuffer
413 and empty the Windows message queue.
414
41522nd September 2004 John Allison (opengl-V06-02-06)
416- doxygen output to tmp area.
417- Trap non-regular polyhedrons.
418
41913th September 2004 Gabriele Cosmo (opengl-V06-02-05)
420- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
421 to allow for porting on CLHEP-1.9.X series.
422
42323rd July 2004 John Allison
424- Draws auxiliary edges if required.
425- Added auxiliary edge button.
426
42716th July 2004 John Allison (opengl-V06-02-04)
428- Refinements to hidden line, hidden surface removal.
429
43014th July 2004 John Allison (opengl-V06-02-03)
431- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
432
43313th July 2004 John Allison (opengl-V06-02-02)
434- Hidden line *and* hidden surface removal now works.
435
4369th July 2004 John Allison (opengl-V06-02-01)
437- Fixed long-standing problem with hidden line removal.
438- Improved messages on failure to get visual.
439- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
440 systems provided by default anyway, so no effect.
441
4421st July 2004 John Allison (opengl-V06-02-00)
443- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
444- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
445
44618th June 2004 Gunter Folger (geant4-06-02)
4479th June 2004 Gabriele Cosmo (vis-V06-01-03)
4487th June 2004 Gabriele Cosmo (vis-V06-01-02)
449- GNUmakefile and disclaimer changes - see visualization/History.
450
4519th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00)
452- Tagged OpenGL as below. Joint with interfaces-V06-01-00.
453
4547th April 2004 Guy Barrand
455- visualization/OpenGL/* : use the G4OpenGL.hh file.
456- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
457 the include of gl/gl.h and gl/glu.h that may be platform dependant.
458 It permits to rm some #ifdef WIN32 spread in the code. It opens also
459 the way to the usage of the Apple OpenGL on a Mac.
460
46117th February 2004 John Allison (opengl-V06-00-00)
462- Fixed bug #581: wrong order of statements in
463 G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
464
4654th October 2003 Gabriele Cosmo (vis-V05-02-01)
466- GNUmakefile:
467 o replaced "digits+hits" with "digits_hits".
468- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
469
47022nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00)
471- Cosmetic change to regularise names:
472 o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
473 o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
474
47523rd June 2003 Guy Barrand (opengl-V05-01-02)
476- Commit a first implementation of G4OpenGLWin32Viewer.
477
47810th June 2003 Gabriele Cosmo (opengl-V05-01-01)
479- More fixes for warnings in viewers classes.
480- Added inclusion of <windows.h> for WIN32 platforms when GL headers
481 are included.
482
48305th June 2003 Gabriele Cosmo (opengl-V05-01-00)
484- Fixes for porting compilation on WIN32:
485 o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
486 o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
487 since declared 'obsolete' in WIN32 platforms.
488
48927th November 2002 John Allison (vis-V04-01-08)
490- Improved algorithm of CompareForKernelVisit.
491
49211th November 2002 John Allison (opengl-V04-01-02)
493- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
494- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
495 call default but there as a marker and encourager.
496- Added tracking and digits+hits/hits to GNUmakefile.
497
49816th October 2002 John Allison (opengl-V04-01-01)
499- Fix for WIN32. Now compiles but viewer not implemented.
500
50124th June 2002 John Allison (opengl-V04-01-00)
502- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
503
50410th June 2002 John Allison (opengl-V04-00-03)
505- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
506
5076th June 2002 John Allison (opengl-V04-00-02)
508- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
509
51023rd February 2002 John Allison (opengl-V04-00-01)
511- Changes to encourage compilation on Windows in preparation for
512 implementation of G4OpenGLWin32Viewer. Removed spurious includes of
513 glx.h, unistd.h and assert.h.
514
51524th August 2001 John Allison (vis-V03-02-13)
516- Limited the printing of warnings in
517 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
518
51914th August 2001 John Allison (vis-V03-02-11)
520- Improved KernelVisitDecision.
521- Fixed a few small bugs in multiple "stored" viewers, but see next item.
522- There's an outstanding bug in OpenGL Stored. If there is more than
523 one viewer controlled by a scene handler, after a ClearStore on the
524 scene handler, e.g., with /vis/scene/notifyHandlers, the first
525 viewer to get refreshed should trigger the display list rebuild, but
526 the second need not. However, when the second viewer's turn comes,
527 the display lists are there, and are called, e.g.,
528 G4OpenGLStoredXViewer::DrawView calls
529 G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
530 nothing appears on the screen. To overcome this there is some
531 temporary code in G4VViewer::NeedKernelVisit which marks *all*
532 viewers to force a rebuild. To see the symptoms, comment out that
533 temporary code and issue these commands:
534 /vis/verbose c
535 /control/verbose 2
536 /vis/scene/create
537 /vis/scene/add/volume
538 /vis/sceneHandler/create OGLSX
539 /vis/viewer/create ! ! 1
540 /run/beamOn
541 /vis/viewer/create ! ! 1
542 /vis/viewer/select viewer-0
543 /vis/viewer/viewpointThetaPhi 20 20
544 /vis/viewer/select viewer-1
545 /vis/viewer/viewpointThetaPhi 40 40
546 /vis/viewer/set/style surface
547 /vis/viewer/refresh
548 /vis/viewer/select viewer-0
549 /vis/viewer/refresh
550 /vis/viewer/select viewer-1
551 /vis/viewer/set/style wireframe
552 /vis/scene/notifyHandlers
553 You may have to do this too:
554 /vis/viewer/select viewer-0
555 /vis/scene/notifyHandlers
556 One of the viewers is empty. Curious!!
557
5589th August 2001 John Allison (vis-V03-02-10-00)
559- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
560- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
561 invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
562 picked up by inheritance anyway.
563- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
564- Corrected order of calling base class functions in
565 G4OpenGLStoredSceneHandler::Begin/EndModeling.
566
56724th July 2001 John Allison (vis-V03-02-06)
568- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
569
57014th July 2001 John Allison (opengl-V03-02-00)
571- Fixed crash in optimised mode: added Initialise() to viewers so
572 that windows are opened after viewers are fully constructed.
573
5742nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
575- Tidied G4OpenGLXmViewer callback code. Removed superfluous header files.
576
5777th March 2001 John Allison
578- Changed char* to const char* in many places and that gave problems in
579 calls to Xt and Xm. Hope all's OK. Differences:
580 cvs diff -r vis-V03-00-06 vis-V03-00-07
581
58225th January 2001 John Allison (opengl-V03-00-00)
583- Implemented running re-calculation of up-vector in the case of "object
584 rotation" (lights move with camera) to prevent "flipping" of view when
585 camera passes through up-vector. Note that the default is "camera
586 rotation" (lights do not move with camera, i.e., remain fixed relative
587 to object) so the default is that this "flipping" can happen. To set
588 "object rotation" (lights move with camera) use
589 /vis/lights/move_with_camera true (soon to be
590 /vis/viewer/set/lights move-with-camera) or click "Object" radio button
591 on Rotation Panel in OpenGLXm mode.
592- Changed some objects to references for efficiency. E.g.:
593 const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
594
59522nd May 2000 John Allison (opengl-V01-01-00)
596- Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug
597 by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
598 static XVisualInfo* vi_single_buffer;
599 static XVisualInfo* vi_double_buffer;
600- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
601 G4OpenGLXViewer.
602- Protected double deletion of window in destructors of G4OpenGLXmViewer
603 and G4OpenGLXViewer (Guy Barrand).
604- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
605- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
606 constructors.
Note: See TracBrowser for help on using the repository browser.