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

Last change on this file since 595 was 593, checked in by garnier, 18 years ago

r627@mac-90108: laurentgarnier | 2007-11-09 07:57:42 +0100
modif dans les includes directives

File size: 23.4 KB
Line 
1$Id: History,v 1.94 2007/08/21 14:05:50 allison 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
2321st August 2007 John Allison (opengl-V09-00-00)
24- Removed redundant G4OpenGLXViewerMessenger.
25
2625th May 2007 John Allison (opengl-V08-03-03)
27- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
28 Fixed gcc-4.1.2 compiler warnings.
29
30G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
31
3225th May 2007 John Allison (opengl-V08-03-02)
33- G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
34
3524th May 2007 John Allison (opengl-V08-03-01)
36- Fixes for SUN.
37
3816th May 2007 John Allison (opengl-V08-03-00)
39- Fix compiler warnings on SLC4.
40- Bug fixes:
41 o Correct path /vis/ogl/set/printMode.
42 o Add SetView to pixmap screen dump ("/vis/ogl/set/printMode pixmap"
43 and "/vis/ogl/printEPS").
44
458th May 2007 John Allison (opengl-V08-02-06)
46- Moved vectored PostScript printing to G4OpenGLViewer.
47- /vis/ogl/printEPS should work for all viewers, including Win32.
48- Introduced /vis/ogl/set/printMode vectored|pixmap, currently only
49 effective on X windows (and still somewhat buggy).
50
514th April 2007 John Allison (opengl-V08-02-05 - needs visman-V08-02-04)
52- Implemented picking for OGLSX ( as well as OGLIX). Hopefully works
53 for OGL*Win32. Still doesn't work for OGL*Xm.
54
553rd April 2007 John Allison (opengl-V08-02-04 - needs visman-V08-02-03)
56- G4OpenGLStoredSceneHandler:
57 o Re-organised display lists on a per-primitive basis, i.e., one
58 display list per primitive. (This is so that, except for text,
59 the colour - or, rather, intensity - can be brought out of the
60 display list into the TOList (Transient Object List) and
61 controlled for the Display-by-Time feature. Previously, if more
62 than one primitive were drawn between BeginPrimitives and
63 EndPrimitives, it would finish up all in one display list, colour
64 commands included. Rationalises and fixes a rare bug in the
65 Display-by-Time feature - see August 2006.)
66 o Added AddPrimitive(const G4Polymarker&) so that it is treated as
67 one primoitive to fit with the above re-organisation.
68- Implemented picking for OGLIX.
69
7025th March 2007 John Allison (opengl-V08-02-03)
71- Fix compiler warnings.
72
738th February 2007 John Allison (opengl-V08-02-02)
74- Fixed Windows problem with DBL_MAX. (Introduced G4OPENGL_DBL_MAX.)
75- G4OpenGLXViewer.cc: Small bug fix in print(). (Context was switched
76 .but not switched back. Not serious, because context was always set
77 before normal drawing.)
78
799th January 2007 John Allison (opengl-V08-02-01)
80- Implemented bitmap markers for MarkerSizeType == screen. (The old
81 polygon implementation remains for MarkerSizeType == world.)
82- Added G4OpenGLBitMapStore to assist the above.
83- G4OpenGLXViewer::CreateGLXContext:
84 o Bug fix: Added missing break in colormap lookup routine.
85
865th January 2007 John Allison (opengl-V08-02-00)
87- G4OpenGLSceneHandler.cc:
88 o Followed change of signature of GetLineWidth in visman-V08-02-00.
89 o Minor efficiency improvements.
90
9121st November 2006 John Allison (opengl-V08-01-09)
92- Fixed compiler warnings.
93
941st November 2006 John Allison (opengl-V08-01-08)
95- Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command
96 actually initiates a print, rather than set a flag for printing.
97
9824th October 2006 John Allison (opengl-V08-01-07)
99- G4OpenGLStoredViewer.cc: Calculate light front horizon properly.
100- G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh.
101
10219th September 2006 John Allison (opengl-V08-01-06)
103- Added time origin for light front.
104- Added /vis/ogl/set/transparency.
105- G4OpenGLStoredViewer.cc: Bug fix in time range acceptance.
106
1074th September 2006 John Allison (opengl-V08-01-05)
108- Implement cutaways.
109- Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all
110 primitives (see detector being drawn).
111- /vis/oglx/set/printEPS: change parameter default to true.
112
11330th August 2006 John Allison (opengl-V08-01-04)
114- G4OpenGLSceneHandler:
115 o Implemented line width.
116 o Switched off back face culling when clipping so that the inside of
117 volumes can be seen.
118 o Added CreateSection/CutawayPolyhedron to exploit generic
119 sectioning (DCUT) and cutaways. Currently not activated due to
120 instabilities in BooleanProcessor. Local sectioning still active
121 but broken (at least on Mac) due to apparent change in effect of
122 clipping planes (polyhedron edges not reconstructed).
123 o Rationalised calculation of marker size.
124- G4OpenGLStoredSceneHandler:
125 o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers).
126 o Pick up time range from G4VisAttributes.
127- G4OpenGLViewer(Messenger):
128 o Added position and colour to /vis/ogl/set/displayHeadTime.
129 o Added /vis/ogl/set/displayLightFront.
130- G4OpenGLStoredViewer.cc:
131 o Rationalised CompareForKernelVisit. (Local sectioning still active.)
132 o Added position and colour to DisplayHeadTime.
133 o Added DisplayLightFront.
134
13516th August 2006 John Allison (opengl-V08-01-03)
136- Corrected Solaris compilation error.
137- Added /vis/ogl/set/fade and displayHeadTime.
138
13914th August 2006 John Allison (opengl-V08-01-02)
140- Needs visman-V08-01-02.
141- G4OpenGLStored: Implemented display-by-time. Only available in
142 stored mode at present. Only implemented for circle, square,
143 polyline and polymarker at present, enough for currently available
144 trajectory models. Time is communicated via G4AttValues.
145- Added G4OpenGLViewerMessenger.
146- Added /vis/ogl/set/startTime and endTime of displayed objects.
147- All factories: Instantiated G4OpenGLViewerMessenger.
148- G4OpenGLViewer: Added fStart/EndTime.
149- G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in
150 spewPrimitiveEPS and spewSortedFeedback.
151
15217th July John Allison (opengl-V08-01-01)
153- Added /vis/oglx/set/printEPS (prints eps file on every update).
154
1553rd July 2006 John Allison (opengl-V08-01-00)
156- Elimination of redundant variable doublebuffer and implementation of
157 FinishView in all viewers.
158
15930th May 2006 Joseph Perl (opengl-V08-00-08)
160- G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that
161 variable seems to have random behavior and should be assumed false for
162 this viewer.
163
16429th May 2006 Joseph Perl (opengl-V08-00-07)
165- G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer:
166 Removed common FinishView and instead made separate FinishView for the two different
167 versions of this viewer since each wants a different buffer swapping behaviour.
168
16912th May 2006 John Allison (opengl-V08-00-06)
170- G4OpenGLWin32Viewer: Fixed buffer swapping behaviour.
171
17228th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14)
173- G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when
174 recomputing transients.
175
17624th April 2006 John Allison (opengl-V08-00-04)
177- Fixed compilation problem on Windows.
178
17919th April 2006 John Allison (opengl-V08-00-03)
180- G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and
181 G4OpenGLImmediateSceneHandler:
182 o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and
183 greps-V08-00-02).
184 o Migrated to direct access to G4PhysicalVolumeModel.
185- G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing
186 of display lists in DrawView.
187
18814th March 2006 John Allison (opengl-V08-00-02)
189- Refined display list building and re-drawing algorithm.
190 o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE.
191 o Avoided unnecessary re-execution in DrawView (X, Xm and Win32).
192- G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list
193 re-use algorithm. In test19 with global culling off, numbers of
194 display lists used are:
195 o 191 No re-use:
196 o 73 Before this change: re-use except replicas (includes parameterised).
197 o 33 After this change: re-use except parameterised and replicas in radius.
198
19926th January 2006 John Allison (opengl-V08-00-01)
200- Coworks with visman-V08-00-04 (removed fModified).
201- Removed references to fModified.
202- Tidying: Removed unnecessary ClearView.
203- G4OpenGLSceneHandler.cc: Added some (commented out) code for
204 possible future implementation of 2D drawing.
205- G4OpenGLXViewer.cc: Improved exception printing.
206
20711th January 2006 John Allison (opengl-V08-00-00)
208- Improved efficiency: all DrawView's:
209 o Don't call ClearView.
210 o Set flag so SetView will not be called in ProcessView.
211 o Leave background colour to ClearView.
212- Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore.
213- G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager
214 for current viewer.
215
21624th November 2005 John Allison (opengl-V07-01-09)
217- Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER.
218
21922nd November 2005 John Allison (opengl-V07-01-08)
220- Added G4OpenGLXmViewerMessenger.
221- Corrected text position.
222- Made depth test for polyhedron GL_LEQUAL (slightly dominant).
223
22417th November 2005 Gabriele Cosmo
225- Fixed settings of background style for WIN32 viewers.
226
22713th November 2005 John Allison (opengl-V07-01-07)
228- Implemented X-Window-style geometry hints in G4OpenGLXViewer.
229
23013th October 2005 John Allison (opengl-V07-01-06)
231- Allowed any colour background.
232- Implemented non-uniform scaling.
233- Migration to <sstream>.
234
23529th September 2005 John Allison (opengl-V07-01-05)
236- Added G4OpenGLViewerDataStore to facilitate access of viewer data by
237 scene handler.
238- Re-implemented transparency button in OpenGLXm.
239
24013th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02)
241- Implemented white background for all OGL viewers.
242- G4OpenGLSceneHandler.cc:
243 o Fixed hidden line removal (bug introduced in opengl-V07-01-02).
244 o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines.
245 o Corrected GetTextColour(text).
246 o Corrected GetColour(polyhedron).
247
2485th September 2005 John Allison (opengl-V07-01-03)
249- Bug fix: stored transparent objects were being lost.
250
2512nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01)
252- Bug fix: edgeflags problem introduced with smooth shading in
253 opengl-V07-01-00.
254- Implementation of a "better algorithm" for the rendering of
255 transparent polyhedron objects. It renders all opaque objects
256 first, then renders the transparent objects with the depth buffer in
257 read-only mode (see OpenGL Programming Guide). It uses the new
258 facility in G4VSceneHandler::ProcessScene for an optional second pass
259 of the run-duration models in the scene. Note this algorithm is
260 still only an approximation. It will still give the wrong blended
261 colour if two transparent objects are rendered front first. For
262 nested transparent objects, this is unfortunate, because
263 G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy
264 in such a way that mothers come first. Also, there is no guaranteed
265 relationship between the order of rendering and the depth of two
266 transparent objects if they are at the same level or in different
267 branches of the hierarchy. Still, the only error will be an
268 incorrect colour - the objects will still give the appearance of
269 transparency, so it's a pretty good algorithm. (An even better
270 algorithm would be to attempt to render the facets in depth order,
271 deepest first. But how do you calculate the depth - centre of area,
272 deepest corner? One can still imagine pathalogical cases that would
273 sometimes give the wrong colour. Also, for stored mode, the order
274 is fixed in a display list so when the user rotates the view, one
275 would lose the depth ordering. I think we have to accept that
276 blending in OpenGL is only ever an approximation. For accurate
277 blending, use RayTracer.)
278
27928th August 2005 John Allison (opengl-V07-01-01)
280- Half-way implementation of rendering of transparent polyhedron
281 objects. In this implementation, no account is taken of the order
282 of rendering. Transparent objects are rendered with depth testing
283 off so that objects behind can still be seen. But this means that
284 opaque objects in front do not obscure them - and they jolly well
285 should! A better algorithm is to render all opaque objects first,
286 then render the transparent objects with the depth buffer in
287 read-only mode (see OpenGL Programming Guide). This is going to
288 take a little more thought - see opengl-V07-01-02.
289
29020th July 2005 John Allison (opengl-V07-01-00)
291- Introduced smooth shading, taking advantage of hitherto un-noticed
292 feature of HepPolyhedron::GetNextFacet that calculates the normals
293 at each vertex so that curved surfaces are rendered more
294 realistically (Gouraud shading).
295- G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's.
296- G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes
297 the default window size. It used to be 400x400, hardcoded in
298 G4OpenGLXmViewer.cc, but now it picks up the
299 G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600.
300 The user may change it on the command line, e.g:
301 /vis/open OGLSXm 500
302 or
303 /vis/viewer/create ! ! 500
304
30530th May 2005 John Allison (opengl-V07-00-03)
306- Fixed compilation problem in OpenGL on SUN. (Replaced multimap by
307 map of vectors in G4OpenGLFontBaseStore.)
308
3094th May 2005 John Allison (opengl-V07-00-02)
310- Restored sequence Set/Clear/DrawView in ClearTransientStore. (It
311 was taken out to prevent recursive calling, but that seems to be OK,
312 and it is needed to implement refresh at end of event/run.)
313
31422nd April 2005 John Allison (opengl-V07-00-01)
315- Rationalised work of opengl-V07-00-00. Functionality unchanged.
316 o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}.
317 o In all concrete viewers, added call to CreateFontLists().
318 o Moved font code for X to G4OpenGLXViewer::CreateFontLists().
319 o There is no longer a need to implement in the XmViewer, since it
320 now inherits. Thus the font code now only appears once for X.
321 o Awaiting implementation for WIN32.
322
32317th April 2005 John Allison (opengl-V07-00-00)
324- Based on vis-V07-00-13.
325- Implemented text for X-Windows viewers. Uses glXUseXFont, which
326 creates display lists for nominated fonts. Simple-minded scheme in
327 which each viewer creates its own font display lists for a variety
328 of sizes, which are accessed by the scene handler through a new
329 class, G4OpenGLFontBaseStore. Affected methods:
330 G4OpenGLXViewer::CreateMainWindow()
331 G4OpenGLXmViewer::CreateMainWindow()
332 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text)
333
33418th November 2004 John Allison (opengl-V06-02-07)
335- Removed redundant fLastVP from G4OpenGLStoredSceneHandler.
336
33715th November 2004 Guy Barrand
338- G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient
339 to see trajectories (for example with N03). Correct so that
340 ShowView do a FinishView that does : glFlush, wglSwapBuffer
341 and empty the Windows message queue.
342
34322nd September 2004 John Allison (opengl-V06-02-06)
344- doxygen output to tmp area.
345- Trap non-regular polyhedrons.
346
34713th September 2004 Gabriele Cosmo (opengl-V06-02-05)
348- G4OpenGLTransform3D.cc: simplified implementation for GetMatrix()
349 to allow for porting on CLHEP-1.9.X series.
350
35123rd July 2004 John Allison
352- Draws auxiliary edges if required.
353- Added auxiliary edge button.
354
35516th July 2004 John Allison (opengl-V06-02-04)
356- Refinements to hidden line, hidden surface removal.
357
35814th July 2004 John Allison (opengl-V06-02-03)
359- Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc.
360
36113th July 2004 John Allison (opengl-V06-02-02)
362- Hidden line *and* hidden surface removal now works.
363
3649th July 2004 John Allison (opengl-V06-02-01)
365- Fixed long-standing problem with hidden line removal.
366- Improved messages on failure to get visual.
367- Added GLX_STENCIL_SIZE explicit request to visual attributes - most
368 systems provided by default anyway, so no effect.
369
3701st July 2004 John Allison (opengl-V06-02-00)
371- Rationalised G4OpenGLSceneHandler ready for hidden line removal.
372- Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control.
373
37418th June 2004 Gunter Folger (geant4-06-02)
3759th June 2004 Gabriele Cosmo (vis-V06-01-03)
3767th June 2004 Gabriele Cosmo (vis-V06-01-02)
377- GNUmakefile and disclaimer changes - see visualization/History.
378
3799th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00)
380- Tagged OpenGL as below. Joint with interfaces-V06-01-00.
381
3827th April 2004 Guy Barrand
383- visualization/OpenGL/* : use the G4OpenGL.hh file.
384- Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate
385 the include of gl/gl.h and gl/glu.h that may be platform dependant.
386 It permits to rm some #ifdef WIN32 spread in the code. It opens also
387 the way to the usage of the Apple OpenGL on a Mac.
388
38917th February 2004 John Allison (opengl-V06-00-00)
390- Fixed bug #581: wrong order of statements in
391 G4OpenGLXViewer::~G4OpenGLXViewer (see bug report).
392
3934th October 2003 Gabriele Cosmo (vis-V05-02-01)
394- GNUmakefile:
395 o replaced "digits+hits" with "digits_hits".
396- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
397
39822nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00)
399- Cosmetic change to regularise names:
400 o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor.
401 o changed _DepthIndex to G4OpenGLXViewerDepthIndex.
402
40323rd June 2003 Guy Barrand (opengl-V05-01-02)
404- Commit a first implementation of G4OpenGLWin32Viewer.
405
40610th June 2003 Gabriele Cosmo (opengl-V05-01-01)
407- More fixes for warnings in viewers classes.
408- Added inclusion of <windows.h> for WIN32 platforms when GL headers
409 are included.
410
41105th June 2003 Gabriele Cosmo (opengl-V05-01-00)
412- Fixes for porting compilation on WIN32:
413 o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>.
414 o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar
415 since declared 'obsolete' in WIN32 platforms.
416
41727th November 2002 John Allison (vis-V04-01-08)
418- Improved algorithm of CompareForKernelVisit.
419
42011th November 2002 John Allison (opengl-V04-01-02)
421- Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER.
422- Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply
423 call default but there as a marker and encourager.
424- Added tracking and digits+hits/hits to GNUmakefile.
425
42616th October 2002 John Allison (opengl-V04-01-01)
427- Fix for WIN32. Now compiles but viewer not implemented.
428
42924th June 2002 John Allison (opengl-V04-01-00)
430- Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler.
431
43210th June 2002 John Allison (opengl-V04-00-03)
433- Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc.
434
4356th June 2002 John Allison (opengl-V04-00-02)
436- Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc.
437
43823rd February 2002 John Allison (opengl-V04-00-01)
439- Changes to encourage compilation on Windows in preparation for
440 implementation of G4OpenGLWin32Viewer. Removed spurious includes of
441 glx.h, unistd.h and assert.h.
442
44324th August 2001 John Allison (vis-V03-02-13)
444- Limited the printing of warnings in
445 G4OpenGLSceneHandler::AddPrimitive (const G4Text& text).
446
44714th August 2001 John Allison (vis-V03-02-11)
448- Improved KernelVisitDecision.
449- Fixed a few small bugs in multiple "stored" viewers, but see next item.
450- There's an outstanding bug in OpenGL Stored. If there is more than
451 one viewer controlled by a scene handler, after a ClearStore on the
452 scene handler, e.g., with /vis/scene/notifyHandlers, the first
453 viewer to get refreshed should trigger the display list rebuild, but
454 the second need not. However, when the second viewer's turn comes,
455 the display lists are there, and are called, e.g.,
456 G4OpenGLStoredXViewer::DrawView calls
457 G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but
458 nothing appears on the screen. To overcome this there is some
459 temporary code in G4VViewer::NeedKernelVisit which marks *all*
460 viewers to force a rebuild. To see the symptoms, comment out that
461 temporary code and issue these commands:
462 /vis/verbose c
463 /control/verbose 2
464 /vis/scene/create
465 /vis/scene/add/volume
466 /vis/sceneHandler/create OGLSX
467 /vis/viewer/create ! ! 1
468 /run/beamOn
469 /vis/viewer/create ! ! 1
470 /vis/viewer/select viewer-0
471 /vis/viewer/viewpointThetaPhi 20 20
472 /vis/viewer/select viewer-1
473 /vis/viewer/viewpointThetaPhi 40 40
474 /vis/viewer/set/style surface
475 /vis/viewer/refresh
476 /vis/viewer/select viewer-0
477 /vis/viewer/refresh
478 /vis/viewer/select viewer-1
479 /vis/viewer/set/style wireframe
480 /vis/scene/notifyHandlers
481 You may have to do this too:
482 /vis/viewer/select viewer-0
483 /vis/scene/notifyHandlers
484 One of the viewers is empty. Curious!!
485
4869th August 2001 John Allison (vis-V03-02-10-00)
487- Implemented G4OpenGLStoredSceneHandler::ClearTransientStore()
488- Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only
489 invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is
490 picked up by inheritance anyway.
491- Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc.
492- Corrected order of calling base class functions in
493 G4OpenGLStoredSceneHandler::Begin/EndModeling.
494
49524th July 2001 John Allison (vis-V03-02-06)
496- G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation.
497
49814th July 2001 John Allison (opengl-V03-02-00)
499- Fixed crash in optimised mode: added Initialise() to viewers so
500 that windows are opened after viewers are fully constructed.
501
5022nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09)
503- Tidied G4OpenGLXmViewer callback code. Removed superfluous header files.
504
5057th March 2001 John Allison
506- Changed char* to const char* in many places and that gave problems in
507 calls to Xt and Xm. Hope all's OK. Differences:
508 cvs diff -r vis-V03-00-06 vis-V03-00-07
509
51025th January 2001 John Allison (opengl-V03-00-00)
511- Implemented running re-calculation of up-vector in the case of "object
512 rotation" (lights move with camera) to prevent "flipping" of view when
513 camera passes through up-vector. Note that the default is "camera
514 rotation" (lights do not move with camera, i.e., remain fixed relative
515 to object) so the default is that this "flipping" can happen. To set
516 "object rotation" (lights move with camera) use
517 /vis/lights/move_with_camera true (soon to be
518 /vis/viewer/set/lights move-with-camera) or click "Object" radio button
519 on Rotation Panel in OpenGLXm mode.
520- Changed some objects to references for efficiency. E.g.:
521 const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit ();
522
52322nd May 2000 John Allison (opengl-V01-01-00)
524- Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug
525 by sharing static visuals in G4OpenGLXViewer (Guy Barrand):
526 static XVisualInfo* vi_single_buffer;
527 static XVisualInfo* vi_double_buffer;
528- Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class
529 G4OpenGLXViewer.
530- Protected double deletion of window in destructors of G4OpenGLXmViewer
531 and G4OpenGLXViewer (Guy Barrand).
532- Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc.
533- Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer
534 constructors.
Note: See TracBrowser for help on using the repository browser.