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

Last change on this file since 682 was 632, checked in by garnier, 18 years ago

commit sur geant4

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