Skip to content
Snippets Groups Projects
  1. Dec 18, 2007
  2. Sep 19, 2007
  3. Jun 23, 2007
    • Rene Brun's avatar
      From Matevz: · 2b11eadd
      Rene Brun authored
      1. TGLViewer performs internal loop on pad-primitives.
      2. Timur: generalization of gl-plot-painters to allow external access.
      3. Support usage of gl-plot-painters in gl-viewer.
      4. Provide a default gl-sharing context for resource optimization.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@19153 27541ba8-7e3a-0410-8455-c3a389f83636
      2b11eadd
  4. Jun 11, 2007
    • Rene Brun's avatar
      From Matevz: · 5b2d3af4
      Rene Brun authored
      Major restructuring of GL viewer-scene relationship (Matevz)
      ===================================================
      
      The main idea was to generalize current GL infrustructure so that the
      following features can be done in the future:
      
      1. Full pad rendering via GL including 3D histo/func painters and 2D graphics.
      
      2. Implementation of GL canvas (with independent viewers serving as pads).
      
      3. Multi-view event-visualization front-end.
      
      4. Inclusion of external scenes (non-ROOT-gl) in ROOT viewer.
         Rendering of ROOT scenes in external GL frameworks.
      
      
      Changes on the code level
      -------------------------
      
      0. Extend current scene/viewer classes into a 2-level class hierarchy.
         New classes TGLViewerBase and TGLSceneBase.
      
      1. Allow scenes to be shared among viewers. View-specific scene-cache
         needs to be kept at the viewer side.
      
      2. Viewer now manages a list of scenes. It is possible to put together
         a combination of scenes (e.g. one showing geometry, another one tracks
         and yet another clusters). Each scene can define its own clipping object.
      
      3. Provide API for fine-grained control over rendered object removal,
         creation and update. This allows for efficient scene-updates.
      
      4. Disentangle selection, clipping and other markup objects from
         within viewer-scene singleton.
         New classes TGLClipSet, TGLManipSet.
      
      6. Disentangle selection management.
      
      7. Separate overlay rendering to allow any number of active GL-GUI
         elements (like manipulators are now).
         New classes TGLOverlayElement.
      
      8. Trailing white space has been removed in all files.
      
      
      Restructure low-level interface to OpenGL (Timur)
      =========================================
      
      1. Allow sharing GL resources among viewers.
      
      2. Do not bind GL-output (windowed or offscreen) to ROOT GUI.
      
      New classes TGLContext, TGLFormat, TGLWidget.
      
      This oboletes TGLKernel and TVirtualGL classes.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@19000 27541ba8-7e3a-0410-8455-c3a389f83636
      5b2d3af4
  5. Jun 06, 2007
    • Rene Brun's avatar
      From Timur: · 97cd31ca
      Rene Brun authored
      1. This is experimental slicing for tf3.
      2. Small fix in TGLHistPainter.
      3. Small mods in TLGTH3Slice
      4. small addition in gltf3 tutorial (commented by defualt) - nice "torus" shape instead of Klein.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@18963 27541ba8-7e3a-0410-8455-c3a389f83636
      97cd31ca
  6. Mar 29, 2007
    • Olivier Couet's avatar
      - From Timur: · 66fe8376
      Olivier Couet authored
        First implementation of the 3D iso surfaces with GL. Example:
      
        {
           gStyle->SetCanvasPreferGL(true);
           TCanvas * canvas = new TCanvas("C","C",600,600);
           ntuple->Draw("px:py:pz>>h3");
           h3->SetContour(5);
           h3->Draw("gliso");
        }
      
        (Still needs improvments)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@18426 27541ba8-7e3a-0410-8455-c3a389f83636
      66fe8376
  7. Jan 26, 2007
    • Olivier Couet's avatar
      - From Timur: · da4c284e
      Olivier Couet authored
      1. TGLParametricEquation. New class to define parametric surface. It can be
         defined by a) three equation in a "string form" (mathematical expression,
         the same as TF2) and as a pointer to function.
      2. TGLParametricPlot. Painter to draw parametric surface. It has most of
         features other gl-painters have - box cut, zooming etc. + 21 color
         "schemes": you can change the color of surface (which is under cursor)
         by pressing 's' or 'S' - the same as TGLTF3Painter + wireframe mode ('w' or
         'W' key - temporary solution).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17525 27541ba8-7e3a-0410-8455-c3a389f83636
      da4c284e
  8. Dec 13, 2006
  9. Nov 24, 2006
  10. Nov 22, 2006
    • Olivier Couet's avatar
      - From Timur: · 422b523c
      Olivier Couet authored
        Box cut added for TF3, surface and box painters. To activate it - press c. To
        move this box - select it (it's highligted when selected), press shift and left
        mouse button and move it. Box can move along one of axes - X/Y/Z. Direction is
        shown as a red line. To select direction - press X or Y or Z keys.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16875 27541ba8-7e3a-0410-8455-c3a389f83636
      422b523c
  11. Oct 24, 2006
    • Rene Brun's avatar
      From Timur, · 5befa0b1
      Rene Brun authored
      Extend the TVirtualGL interface to support 16 & 32 bit display mode.
      This is required for the new slicing algorithm (eg to run the tutorial
      glbox.C under Windows in 16 bits display mode)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16607 27541ba8-7e3a-0410-8455-c3a389f83636
      5befa0b1
  12. Oct 02, 2006
  13. Aug 31, 2006
    • Rene Brun's avatar
      Destructors must be virtual for classes with virtual functions. · ca4299d0
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@16188 27541ba8-7e3a-0410-8455-c3a389f83636
      ca4299d0
    • Olivier Couet's avatar
      From Timur: · 519b473c
      Olivier Couet authored
      New classes:
      
      1.
      TGLBoxPainter - implements "glbox" option for TH3, shows bin contents as
      boxes, which sizes are proportional to bin content. "glbox1" is the same,
      as previous, but with spheres instead of boxes. Slices (XOY/YOZ/XOZ)
      are now drawn as sets of rectangles.
      
      2.
      TGLLegoPainter. Changes: removed all stuff, which works with gl
      projections, modelview transformations, textures, etc.
      
      3.
      TGLPlotPainter. Added common parts of different painters:
      generic Paint function, PlotSelected, etc.
      
      4.
      TGLOrthoCamera. Added operations, required by gl hist painters.
      
      5.
      TGLHistPainter. Class completely changed (previously known as
      TGLPadHistPainter).
      
      6.
      TGLPlotBox. New class, draws back box for different kinds of plots,
      highlights planes which are under cursor, makes some sizes calculations
      (converts 3d into 2d coords) etc.
      
      7.
      TGLSurfacePainter. New class, for different surf options.
      Supports cartesian, polar, cylindrical and spherical coords.
      Slices (XOY, YOZ, XOZ), projections.
      
      8.
      TGLTF3. New class, draws TF3. No slices available now.
      
      9.
      TGLUtil. Added new auxilary classes
      TGLLevelPalette, TGL2DArray, functions, required by different plot
      painters,
      TGLEnableGuard and TGLDisableGuard removed from RootGL namespace into
      global namespace.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16183 27541ba8-7e3a-0410-8455-c3a389f83636
      519b473c
  14. Jun 19, 2006
    • Olivier Couet's avatar
      - From Timur: · c39feec8
      Olivier Couet authored
      TGLLegoPainter
         "e" option added for cartesian
         bar width/offset added for cartesian
      TGLPlotPainter
         normals for trapezoids in polar/cylindrical/spherical
         coordinates are better now, so lego is "smoother".
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15467 27541ba8-7e3a-0410-8455-c3a389f83636
      c39feec8
  15. Jun 14, 2006
  16. Jun 13, 2006
    • Olivier Couet's avatar
      From Timur: · bdaa813c
      Olivier Couet authored
      TGLPadHistpainter/TGLAxisPainter/TGLLegoPainter - new hist-painter
      infrastructure.
      
      First version of TGLLegoPainter, the new class to support different types
      of legos:
      gl + lego(1)/lego2 + pol/cyl/sph
      gl + lego3
      
      TGLUtil : Small auxilary classes.
      
      IMPORTANT: this lego painter is still experimantal and works only if
      it's enabled in system.rootrc. By default, TGLHistPainter is used now.
      To enable this new system the line:
      
      Plugin.TGLHistPainter: * TGLHistPainter RGL "TGLHistPainter(TH1*)"
      
      Must be replaced with
      
      Plugin.TGLHistPainter: * TGLPadHistPainter RGL "TGLPadHistPainter(TH1*)"
      
      in $ROOTSYS/etc/system.rootrc
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15406 27541ba8-7e3a-0410-8455-c3a389f83636
      bdaa813c
Loading