1 | $Id: History,v 1.82 2006/11/21 16:24:58 allison Exp $ |
---|
2 | ------------------------------------------------------------------- |
---|
3 | |
---|
4 | ========================================================= |
---|
5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
6 | ========================================================= |
---|
7 | |
---|
8 | Category History file |
---|
9 | --------------------- |
---|
10 | This file should be used by G4 developers and category coordinators |
---|
11 | to briefly summarize all major modifications introduced in the code |
---|
12 | and keep track of all category-tags. |
---|
13 | It DOES NOT substitute the CVS log-message one should put at every |
---|
14 | committal in the CVS repository ! |
---|
15 | |
---|
16 | ---------------------------------------------------------- |
---|
17 | * Reverse chronological order (last date on top), please * |
---|
18 | ---------------------------------------------------------- |
---|
19 | |
---|
20 | History file for visualization/OpenGL |
---|
21 | ------------------------------------- |
---|
22 | |
---|
23 | 21st November 2006 John Allison (opengl-V08-01-09) |
---|
24 | - Fixed compiler warnings. |
---|
25 | |
---|
26 | 1st November 2006 John Allison (opengl-V08-01-08) |
---|
27 | - Replace /vis/oglx/set/printEPS by /vis/oglx/printEPS. The new command |
---|
28 | actually initiates a print, rather than set a flag for printing. |
---|
29 | |
---|
30 | 24th October 2006 John Allison (opengl-V08-01-07) |
---|
31 | - G4OpenGLStoredViewer.cc: Calculate light front horizon properly. |
---|
32 | - G4OpenGLViewerMessenger.cc: Make refresh depend on auto-refresh. |
---|
33 | |
---|
34 | 19th September 2006 John Allison (opengl-V08-01-06) |
---|
35 | - Added time origin for light front. |
---|
36 | - Added /vis/ogl/set/transparency. |
---|
37 | - G4OpenGLStoredViewer.cc: Bug fix in time range acceptance. |
---|
38 | |
---|
39 | 4th September 2006 John Allison (opengl-V08-01-05) |
---|
40 | - Implement cutaways. |
---|
41 | - Immediate mode: G4OpenGLImmediateSceneHandler.cc: Flush all |
---|
42 | primitives (see detector being drawn). |
---|
43 | - /vis/oglx/set/printEPS: change parameter default to true. |
---|
44 | |
---|
45 | 30th August 2006 John Allison (opengl-V08-01-04) |
---|
46 | - G4OpenGLSceneHandler: |
---|
47 | o Implemented line width. |
---|
48 | o Switched off back face culling when clipping so that the inside of |
---|
49 | volumes can be seen. |
---|
50 | o Added CreateSection/CutawayPolyhedron to exploit generic |
---|
51 | sectioning (DCUT) and cutaways. Currently not activated due to |
---|
52 | instabilities in BooleanProcessor. Local sectioning still active |
---|
53 | but broken (at least on Mac) due to apparent change in effect of |
---|
54 | clipping planes (polyhedron edges not reconstructed). |
---|
55 | o Rationalised calculation of marker size. |
---|
56 | - G4OpenGLStoredSceneHandler: |
---|
57 | o Fixed bug due to recursive calls of AddPrimitive (polymarkers -> markers). |
---|
58 | o Pick up time range from G4VisAttributes. |
---|
59 | - G4OpenGLViewer(Messenger): |
---|
60 | o Added position and colour to /vis/ogl/set/displayHeadTime. |
---|
61 | o Added /vis/ogl/set/displayLightFront. |
---|
62 | - G4OpenGLStoredViewer.cc: |
---|
63 | o Rationalised CompareForKernelVisit. (Local sectioning still active.) |
---|
64 | o Added position and colour to DisplayHeadTime. |
---|
65 | o Added DisplayLightFront. |
---|
66 | |
---|
67 | 16th August 2006 John Allison (opengl-V08-01-03) |
---|
68 | - Corrected Solaris compilation error. |
---|
69 | - Added /vis/ogl/set/fade and displayHeadTime. |
---|
70 | |
---|
71 | 14th August 2006 John Allison (opengl-V08-01-02) |
---|
72 | - Needs visman-V08-01-02. |
---|
73 | - G4OpenGLStored: Implemented display-by-time. Only available in |
---|
74 | stored mode at present. Only implemented for circle, square, |
---|
75 | polyline and polymarker at present, enough for currently available |
---|
76 | trajectory models. Time is communicated via G4AttValues. |
---|
77 | - Added G4OpenGLViewerMessenger. |
---|
78 | - Added /vis/ogl/set/startTime and endTime of displayed objects. |
---|
79 | - All factories: Instantiated G4OpenGLViewerMessenger. |
---|
80 | - G4OpenGLViewer: Added fStart/EndTime. |
---|
81 | - G4OpenGLXViewer.cc: Graceful recovery from unexpected tokens in |
---|
82 | spewPrimitiveEPS and spewSortedFeedback. |
---|
83 | |
---|
84 | 17th July John Allison (opengl-V08-01-01) |
---|
85 | - Added /vis/oglx/set/printEPS (prints eps file on every update). |
---|
86 | |
---|
87 | 3rd July 2006 John Allison (opengl-V08-01-00) |
---|
88 | - Elimination of redundant variable doublebuffer and implementation of |
---|
89 | FinishView in all viewers. |
---|
90 | |
---|
91 | 30th May 2006 Joseph Perl (opengl-V08-00-08) |
---|
92 | - G4OpenGLImmediateWin32Viewer: Removed tests on doublebuffer since that |
---|
93 | variable seems to have random behavior and should be assumed false for |
---|
94 | this viewer. |
---|
95 | |
---|
96 | 29th May 2006 Joseph Perl (opengl-V08-00-07) |
---|
97 | - G4OpenGLWin32Viewer, G4OpenGLImmediateWin32Viewer, G4OpenGLStoredWin32Viewer: |
---|
98 | Removed common FinishView and instead made separate FinishView for the two different |
---|
99 | versions of this viewer since each wants a different buffer swapping behaviour. |
---|
100 | |
---|
101 | 12th May 2006 John Allison (opengl-V08-00-06) |
---|
102 | - G4OpenGLWin32Viewer: Fixed buffer swapping behaviour. |
---|
103 | |
---|
104 | 28th April 2006 John Allison (opengl-V08-00-05 - needs visman-V08-00-14) |
---|
105 | - G4OpenGLStoredX/Xm/Win32Viewer.cc: Fixed buffer swapping problem when |
---|
106 | recomputing transients. |
---|
107 | |
---|
108 | 24th April 2006 John Allison (opengl-V08-00-04) |
---|
109 | - Fixed compilation problem on Windows. |
---|
110 | |
---|
111 | 19th April 2006 John Allison (opengl-V08-00-03) |
---|
112 | - G4OpenGLSceneHandler, G4OpenGLStoredSceneHandler and |
---|
113 | G4OpenGLImmediateSceneHandler: |
---|
114 | o Implemented Begin/EndPrimitives2D (needs visman-V08-00-12 and |
---|
115 | greps-V08-00-02). |
---|
116 | o Migrated to direct access to G4PhysicalVolumeModel. |
---|
117 | - G4OpenGLStoredX/Xm/Win32Viewer.cc: bug fix for conditional drawing |
---|
118 | of display lists in DrawView. |
---|
119 | |
---|
120 | 14th March 2006 John Allison (opengl-V08-00-02) |
---|
121 | - Refined display list building and re-drawing algorithm. |
---|
122 | o G4OpenGLStoredSceneHandler::EndModeling: Changed to GL_COMPILE_AND_EXECUTE. |
---|
123 | o Avoided unnecessary re-execution in DrawView (X, Xm and Win32). |
---|
124 | - G4OpenGLStoredSceneHandler::RequestPrimitives: Refined display list |
---|
125 | re-use algorithm. In test19 with global culling off, numbers of |
---|
126 | display lists used are: |
---|
127 | o 191 No re-use: |
---|
128 | o 73 Before this change: re-use except replicas (includes parameterised). |
---|
129 | o 33 After this change: re-use except parameterised and replicas in radius. |
---|
130 | |
---|
131 | 26th January 2006 John Allison (opengl-V08-00-01) |
---|
132 | - Coworks with visman-V08-00-04 (removed fModified). |
---|
133 | - Removed references to fModified. |
---|
134 | - Tidying: Removed unnecessary ClearView. |
---|
135 | - G4OpenGLSceneHandler.cc: Added some (commented out) code for |
---|
136 | possible future implementation of 2D drawing. |
---|
137 | - G4OpenGLXViewer.cc: Improved exception printing. |
---|
138 | |
---|
139 | 11th January 2006 John Allison (opengl-V08-00-00) |
---|
140 | - Improved efficiency: all DrawView's: |
---|
141 | o Don't call ClearView. |
---|
142 | o Set flag so SetView will not be called in ProcessView. |
---|
143 | o Leave background colour to ClearView. |
---|
144 | - Used dynamic_cast<G4OpenGLViewer*>, no need for G4OpenGLViewerDataStore. |
---|
145 | - G4OpenGLXmViewerMessenger: Made a smart singleton; interrogates vis manager |
---|
146 | for current viewer. |
---|
147 | |
---|
148 | 24th November 2005 John Allison (opengl-V07-01-09) |
---|
149 | - Protected G4OpenGLXmViewerMessenger with #ifdef G4VIS_BUILD_OPENGLXM_DRIVER. |
---|
150 | |
---|
151 | 22nd November 2005 John Allison (opengl-V07-01-08) |
---|
152 | - Added G4OpenGLXmViewerMessenger. |
---|
153 | - Corrected text position. |
---|
154 | - Made depth test for polyhedron GL_LEQUAL (slightly dominant). |
---|
155 | |
---|
156 | 17th November 2005 Gabriele Cosmo |
---|
157 | - Fixed settings of background style for WIN32 viewers. |
---|
158 | |
---|
159 | 13th November 2005 John Allison (opengl-V07-01-07) |
---|
160 | - Implemented X-Window-style geometry hints in G4OpenGLXViewer. |
---|
161 | |
---|
162 | 13th October 2005 John Allison (opengl-V07-01-06) |
---|
163 | - Allowed any colour background. |
---|
164 | - Implemented non-uniform scaling. |
---|
165 | - Migration to <sstream>. |
---|
166 | |
---|
167 | 29th September 2005 John Allison (opengl-V07-01-05) |
---|
168 | - Added G4OpenGLViewerDataStore to facilitate access of viewer data by |
---|
169 | scene handler. |
---|
170 | - Re-implemented transparency button in OpenGLXm. |
---|
171 | |
---|
172 | 13th September 2005 John Allison (opengl-V07-01-04 - needs visman-V07-01-02) |
---|
173 | - Implemented white background for all OGL viewers. |
---|
174 | - G4OpenGLSceneHandler.cc: |
---|
175 | o Fixed hidden line removal (bug introduced in opengl-V07-01-02). |
---|
176 | o Fixed treatment of triangular polygons for drawing of auxiliary/soft lines. |
---|
177 | o Corrected GetTextColour(text). |
---|
178 | o Corrected GetColour(polyhedron). |
---|
179 | |
---|
180 | 5th September 2005 John Allison (opengl-V07-01-03) |
---|
181 | - Bug fix: stored transparent objects were being lost. |
---|
182 | |
---|
183 | 2nd September 2005 John Allison (opengl-V07-01-02 - needs visman-V07-01-01) |
---|
184 | - Bug fix: edgeflags problem introduced with smooth shading in |
---|
185 | opengl-V07-01-00. |
---|
186 | - Implementation of a "better algorithm" for the rendering of |
---|
187 | transparent polyhedron objects. It renders all opaque objects |
---|
188 | first, then renders the transparent objects with the depth buffer in |
---|
189 | read-only mode (see OpenGL Programming Guide). It uses the new |
---|
190 | facility in G4VSceneHandler::ProcessScene for an optional second pass |
---|
191 | of the run-duration models in the scene. Note this algorithm is |
---|
192 | still only an approximation. It will still give the wrong blended |
---|
193 | colour if two transparent objects are rendered front first. For |
---|
194 | nested transparent objects, this is unfortunate, because |
---|
195 | G4PhysicalVolumeModel traverses Geant4's mother-daughter hierarchy |
---|
196 | in such a way that mothers come first. Also, there is no guaranteed |
---|
197 | relationship between the order of rendering and the depth of two |
---|
198 | transparent objects if they are at the same level or in different |
---|
199 | branches of the hierarchy. Still, the only error will be an |
---|
200 | incorrect colour - the objects will still give the appearance of |
---|
201 | transparency, so it's a pretty good algorithm. (An even better |
---|
202 | algorithm would be to attempt to render the facets in depth order, |
---|
203 | deepest first. But how do you calculate the depth - centre of area, |
---|
204 | deepest corner? One can still imagine pathalogical cases that would |
---|
205 | sometimes give the wrong colour. Also, for stored mode, the order |
---|
206 | is fixed in a display list so when the user rotates the view, one |
---|
207 | would lose the depth ordering. I think we have to accept that |
---|
208 | blending in OpenGL is only ever an approximation. For accurate |
---|
209 | blending, use RayTracer.) |
---|
210 | |
---|
211 | 28th August 2005 John Allison (opengl-V07-01-01) |
---|
212 | - Half-way implementation of rendering of transparent polyhedron |
---|
213 | objects. In this implementation, no account is taken of the order |
---|
214 | of rendering. Transparent objects are rendered with depth testing |
---|
215 | off so that objects behind can still be seen. But this means that |
---|
216 | opaque objects in front do not obscure them - and they jolly well |
---|
217 | should! A better algorithm is to render all opaque objects first, |
---|
218 | then render the transparent objects with the depth buffer in |
---|
219 | read-only mode (see OpenGL Programming Guide). This is going to |
---|
220 | take a little more thought - see opengl-V07-01-02. |
---|
221 | |
---|
222 | 20th July 2005 John Allison (opengl-V07-01-00) |
---|
223 | - Introduced smooth shading, taking advantage of hitherto un-noticed |
---|
224 | feature of HepPolyhedron::GetNextFacet that calculates the normals |
---|
225 | at each vertex so that curved surfaces are rendered more |
---|
226 | realistically (Gouraud shading). |
---|
227 | - G4OpenGLImmediateSceneHandler.cc: Removed unnecessary #include's. |
---|
228 | - G4OpenGLXmViewer.cc: Fixed to use window size hints. This changes |
---|
229 | the default window size. It used to be 400x400, hardcoded in |
---|
230 | G4OpenGLXmViewer.cc, but now it picks up the |
---|
231 | G4ViewParameters::GetWindowSizeHintX/Y, which defaults to 600x600. |
---|
232 | The user may change it on the command line, e.g: |
---|
233 | /vis/open OGLSXm 500 |
---|
234 | or |
---|
235 | /vis/viewer/create ! ! 500 |
---|
236 | |
---|
237 | 30th May 2005 John Allison (opengl-V07-00-03) |
---|
238 | - Fixed compilation problem in OpenGL on SUN. (Replaced multimap by |
---|
239 | map of vectors in G4OpenGLFontBaseStore.) |
---|
240 | |
---|
241 | 4th May 2005 John Allison (opengl-V07-00-02) |
---|
242 | - Restored sequence Set/Clear/DrawView in ClearTransientStore. (It |
---|
243 | was taken out to prevent recursive calling, but that seems to be OK, |
---|
244 | and it is needed to implement refresh at end of event/run.) |
---|
245 | |
---|
246 | 22nd April 2005 John Allison (opengl-V07-00-01) |
---|
247 | - Rationalised work of opengl-V07-00-00. Functionality unchanged. |
---|
248 | o G4OpenGLViewer.hh: Created virtual void CreateFontLists(){}. |
---|
249 | o In all concrete viewers, added call to CreateFontLists(). |
---|
250 | o Moved font code for X to G4OpenGLXViewer::CreateFontLists(). |
---|
251 | o There is no longer a need to implement in the XmViewer, since it |
---|
252 | now inherits. Thus the font code now only appears once for X. |
---|
253 | o Awaiting implementation for WIN32. |
---|
254 | |
---|
255 | 17th April 2005 John Allison (opengl-V07-00-00) |
---|
256 | - Based on vis-V07-00-13. |
---|
257 | - Implemented text for X-Windows viewers. Uses glXUseXFont, which |
---|
258 | creates display lists for nominated fonts. Simple-minded scheme in |
---|
259 | which each viewer creates its own font display lists for a variety |
---|
260 | of sizes, which are accessed by the scene handler through a new |
---|
261 | class, G4OpenGLFontBaseStore. Affected methods: |
---|
262 | G4OpenGLXViewer::CreateMainWindow() |
---|
263 | G4OpenGLXmViewer::CreateMainWindow() |
---|
264 | G4OpenGLSceneHandler::AddPrimitive (const G4Text& text) |
---|
265 | |
---|
266 | 18th November 2004 John Allison (opengl-V06-02-07) |
---|
267 | - Removed redundant fLastVP from G4OpenGLStoredSceneHandler. |
---|
268 | |
---|
269 | 15th November 2004 Guy Barrand |
---|
270 | - G4OpenGLWin32Viewer::ShowView : glFlush was not sufficient |
---|
271 | to see trajectories (for example with N03). Correct so that |
---|
272 | ShowView do a FinishView that does : glFlush, wglSwapBuffer |
---|
273 | and empty the Windows message queue. |
---|
274 | |
---|
275 | 22nd September 2004 John Allison (opengl-V06-02-06) |
---|
276 | - doxygen output to tmp area. |
---|
277 | - Trap non-regular polyhedrons. |
---|
278 | |
---|
279 | 13th September 2004 Gabriele Cosmo (opengl-V06-02-05) |
---|
280 | - G4OpenGLTransform3D.cc: simplified implementation for GetMatrix() |
---|
281 | to allow for porting on CLHEP-1.9.X series. |
---|
282 | |
---|
283 | 23rd July 2004 John Allison |
---|
284 | - Draws auxiliary edges if required. |
---|
285 | - Added auxiliary edge button. |
---|
286 | |
---|
287 | 16th July 2004 John Allison (opengl-V06-02-04) |
---|
288 | - Refinements to hidden line, hidden surface removal. |
---|
289 | |
---|
290 | 14th July 2004 John Allison (opengl-V06-02-03) |
---|
291 | - Removed superfluous #include "G4VisManager.hh" from G4OpenGLXmViewer.cc. |
---|
292 | |
---|
293 | 13th July 2004 John Allison (opengl-V06-02-02) |
---|
294 | - Hidden line *and* hidden surface removal now works. |
---|
295 | |
---|
296 | 9th July 2004 John Allison (opengl-V06-02-01) |
---|
297 | - Fixed long-standing problem with hidden line removal. |
---|
298 | - Improved messages on failure to get visual. |
---|
299 | - Added GLX_STENCIL_SIZE explicit request to visual attributes - most |
---|
300 | systems provided by default anyway, so no effect. |
---|
301 | |
---|
302 | 1st July 2004 John Allison (opengl-V06-02-00) |
---|
303 | - Rationalised G4OpenGLSceneHandler ready for hidden line removal. |
---|
304 | - Bug fix in G4OpenGLXmPanningCallbacks.cc for dolly control. |
---|
305 | |
---|
306 | 18th June 2004 Gunter Folger (geant4-06-02) |
---|
307 | 9th June 2004 Gabriele Cosmo (vis-V06-01-03) |
---|
308 | 7th June 2004 Gabriele Cosmo (vis-V06-01-02) |
---|
309 | - GNUmakefile and disclaimer changes - see visualization/History. |
---|
310 | |
---|
311 | 9th April 2004 John Allison (vis-V06-01-01 + interfaces-V06-01-00) |
---|
312 | - Tagged OpenGL as below. Joint with interfaces-V06-01-00. |
---|
313 | |
---|
314 | 7th April 2004 Guy Barrand |
---|
315 | - visualization/OpenGL/* : use the G4OpenGL.hh file. |
---|
316 | - Added : visualization/OpenGL/include/G4OpenGL.hh to encapsulate |
---|
317 | the include of gl/gl.h and gl/glu.h that may be platform dependant. |
---|
318 | It permits to rm some #ifdef WIN32 spread in the code. It opens also |
---|
319 | the way to the usage of the Apple OpenGL on a Mac. |
---|
320 | |
---|
321 | 17th February 2004 John Allison (opengl-V06-00-00) |
---|
322 | - Fixed bug #581: wrong order of statements in |
---|
323 | G4OpenGLXViewer::~G4OpenGLXViewer (see bug report). |
---|
324 | |
---|
325 | 4th October 2003 Gabriele Cosmo (vis-V05-02-01) |
---|
326 | - GNUmakefile: |
---|
327 | o replaced "digits+hits" with "digits_hits". |
---|
328 | - Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00". |
---|
329 | |
---|
330 | 22nd September 2003 John Allison (vis-V05-02-00, greps-V05-02-00) |
---|
331 | - Cosmetic change to regularise names: |
---|
332 | o changed _Feedback3Dcolo to G4OpenGLXViewerFeedback3Dcolor. |
---|
333 | o changed _DepthIndex to G4OpenGLXViewerDepthIndex. |
---|
334 | |
---|
335 | 23rd June 2003 Guy Barrand (opengl-V05-01-02) |
---|
336 | - Commit a first implementation of G4OpenGLWin32Viewer. |
---|
337 | |
---|
338 | 10th June 2003 Gabriele Cosmo (opengl-V05-01-01) |
---|
339 | - More fixes for warnings in viewers classes. |
---|
340 | - Added inclusion of <windows.h> for WIN32 platforms when GL headers |
---|
341 | are included. |
---|
342 | |
---|
343 | 05th June 2003 Gabriele Cosmo (opengl-V05-01-00) |
---|
344 | - Fixes for porting compilation on WIN32: |
---|
345 | o G4OpenGLWin32Viewer[.hh.cc]: removed inclusion of <GL/glx.h>. |
---|
346 | o G4OpenGLViewer.cc: replaced local variables near/far with pnear/pfar |
---|
347 | since declared 'obsolete' in WIN32 platforms. |
---|
348 | |
---|
349 | 27th November 2002 John Allison (vis-V04-01-08) |
---|
350 | - Improved algorithm of CompareForKernelVisit. |
---|
351 | |
---|
352 | 11th November 2002 John Allison (opengl-V04-01-02) |
---|
353 | - Corrected inclusion of G4OpenGLXViewer #ifdef X_DRIVER. |
---|
354 | - Added G4OpenGLSceneHandler::AddThis for trajectories and hits - simply |
---|
355 | call default but there as a marker and encourager. |
---|
356 | - Added tracking and digits+hits/hits to GNUmakefile. |
---|
357 | |
---|
358 | 16th October 2002 John Allison (opengl-V04-01-01) |
---|
359 | - Fix for WIN32. Now compiles but viewer not implemented. |
---|
360 | |
---|
361 | 24th June 2002 John Allison (opengl-V04-01-00) |
---|
362 | - Further cosmetic changes in G4OpenGLXViewer.cc for DEC compiler. |
---|
363 | |
---|
364 | 10th June 2002 John Allison (opengl-V04-00-03) |
---|
365 | - Cosmetic changes for SUN-CC in G4OpenGLXmConvenienceRoutines.cc. |
---|
366 | |
---|
367 | 6th June 2002 John Allison (opengl-V04-00-02) |
---|
368 | - Cosmetic changes for GNU compiler in G4OpenGLXViewer.cc. |
---|
369 | |
---|
370 | 23rd February 2002 John Allison (opengl-V04-00-01) |
---|
371 | - Changes to encourage compilation on Windows in preparation for |
---|
372 | implementation of G4OpenGLWin32Viewer. Removed spurious includes of |
---|
373 | glx.h, unistd.h and assert.h. |
---|
374 | |
---|
375 | 24th August 2001 John Allison (vis-V03-02-13) |
---|
376 | - Limited the printing of warnings in |
---|
377 | G4OpenGLSceneHandler::AddPrimitive (const G4Text& text). |
---|
378 | |
---|
379 | 14th August 2001 John Allison (vis-V03-02-11) |
---|
380 | - Improved KernelVisitDecision. |
---|
381 | - Fixed a few small bugs in multiple "stored" viewers, but see next item. |
---|
382 | - There's an outstanding bug in OpenGL Stored. If there is more than |
---|
383 | one viewer controlled by a scene handler, after a ClearStore on the |
---|
384 | scene handler, e.g., with /vis/scene/notifyHandlers, the first |
---|
385 | viewer to get refreshed should trigger the display list rebuild, but |
---|
386 | the second need not. However, when the second viewer's turn comes, |
---|
387 | the display lists are there, and are called, e.g., |
---|
388 | G4OpenGLStoredXViewer::DrawView calls |
---|
389 | G4OpenGLStoredViewer::DrawDisplayLists that calls glCallList, but |
---|
390 | nothing appears on the screen. To overcome this there is some |
---|
391 | temporary code in G4VViewer::NeedKernelVisit which marks *all* |
---|
392 | viewers to force a rebuild. To see the symptoms, comment out that |
---|
393 | temporary code and issue these commands: |
---|
394 | /vis/verbose c |
---|
395 | /control/verbose 2 |
---|
396 | /vis/scene/create |
---|
397 | /vis/scene/add/volume |
---|
398 | /vis/sceneHandler/create OGLSX |
---|
399 | /vis/viewer/create ! ! 1 |
---|
400 | /run/beamOn |
---|
401 | /vis/viewer/create ! ! 1 |
---|
402 | /vis/viewer/select viewer-0 |
---|
403 | /vis/viewer/viewpointThetaPhi 20 20 |
---|
404 | /vis/viewer/select viewer-1 |
---|
405 | /vis/viewer/viewpointThetaPhi 40 40 |
---|
406 | /vis/viewer/set/style surface |
---|
407 | /vis/viewer/refresh |
---|
408 | /vis/viewer/select viewer-0 |
---|
409 | /vis/viewer/refresh |
---|
410 | /vis/viewer/select viewer-1 |
---|
411 | /vis/viewer/set/style wireframe |
---|
412 | /vis/scene/notifyHandlers |
---|
413 | You may have to do this too: |
---|
414 | /vis/viewer/select viewer-0 |
---|
415 | /vis/scene/notifyHandlers |
---|
416 | One of the viewers is empty. Curious!! |
---|
417 | |
---|
418 | 9th August 2001 John Allison (vis-V03-02-10-00) |
---|
419 | - Implemented G4OpenGLStoredSceneHandler::ClearTransientStore() |
---|
420 | - Removed G4OpenGLSceneHandler::AddPrimitive (const G4Polymarker&) (it only |
---|
421 | invoked G4VSceneHandler::AddPrimitive (const G4Polymarker&) which is |
---|
422 | picked up by inheritance anyway. |
---|
423 | - Removed lots of unnecessary header files from G4OpenGLStoredSceneHandler.cc. |
---|
424 | - Corrected order of calling base class functions in |
---|
425 | G4OpenGLStoredSceneHandler::Begin/EndModeling. |
---|
426 | |
---|
427 | 24th July 2001 John Allison (vis-V03-02-06) |
---|
428 | - G4OpenGLSceneHandler::AddPrimitive (const G4Text&) handles transformation. |
---|
429 | |
---|
430 | 14th July 2001 John Allison (opengl-V03-02-00) |
---|
431 | - Fixed crash in optimised mode: added Initialise() to viewers so |
---|
432 | that windows are opened after viewers are fully constructed. |
---|
433 | |
---|
434 | 2nd April 2001 John Allison (opengl-V03-00-01 wrt vis-V03-00-09) |
---|
435 | - Tidied G4OpenGLXmViewer callback code. Removed superfluous header files. |
---|
436 | |
---|
437 | 7th March 2001 John Allison |
---|
438 | - Changed char* to const char* in many places and that gave problems in |
---|
439 | calls to Xt and Xm. Hope all's OK. Differences: |
---|
440 | cvs diff -r vis-V03-00-06 vis-V03-00-07 |
---|
441 | |
---|
442 | 25th January 2001 John Allison (opengl-V03-00-00) |
---|
443 | - Implemented running re-calculation of up-vector in the case of "object |
---|
444 | rotation" (lights move with camera) to prevent "flipping" of view when |
---|
445 | camera passes through up-vector. Note that the default is "camera |
---|
446 | rotation" (lights do not move with camera, i.e., remain fixed relative |
---|
447 | to object) so the default is that this "flipping" can happen. To set |
---|
448 | "object rotation" (lights move with camera) use |
---|
449 | /vis/lights/move_with_camera true (soon to be |
---|
450 | /vis/viewer/set/lights move-with-camera) or click "Object" radio button |
---|
451 | on Rotation Panel in OpenGLXm mode. |
---|
452 | - Changed some objects to references for efficiency. E.g.: |
---|
453 | const G4Vector3D& vp = pView->fVP.GetViewpointDirection ().unit (); |
---|
454 | |
---|
455 | 22nd May 2000 John Allison (opengl-V01-01-00) |
---|
456 | - Fixed slow response of 2nd window of OpenGLXm. Worked around Mesa bug |
---|
457 | by sharing static visuals in G4OpenGLXViewer (Guy Barrand): |
---|
458 | static XVisualInfo* vi_single_buffer; |
---|
459 | static XVisualInfo* vi_double_buffer; |
---|
460 | - Removed ChooseVisual from G4OpenGLXmViewer.cc - done in base class |
---|
461 | G4OpenGLXViewer. |
---|
462 | - Protected double deletion of window in destructors of G4OpenGLXmViewer |
---|
463 | and G4OpenGLXViewer (Guy Barrand). |
---|
464 | - Changed requested bits per colour to r,g,b = 1,1,1 in G4OpenGLViewer.cc. |
---|
465 | - Corrected order of CreateMainWindow() and InitializeGLView() in X*Viewer |
---|
466 | constructors. |
---|