Logo ROOT  
Reference Guide
OpenGL tutorials

Various examples showing the OpenGL graphics in ROOT.

Files

file  glbox.C
 Display a 3D histogram using GL (box option).
 
file  gldemos.C
 Menu for running GL demos.
 
file  glh3c.C
 Display a 3D histogram using GL (box option).
 
file  glparametric.C
 Show rendering of parametric surfaces.
 
file  glparametrics2.C
 Show rendering of parametric surfaces.
 
file  glrose.C
 Render a TF2 looking like a rose.
 
file  glsurfaces.C
 Various surfaces rendered with GL.
 
file  gltf3.C
 Draws the Klein bottle.
 
file  glViewerExercise.C
 Script showing how to use the GL viewer API to animate a picture.
 
file  glViewerLOD.C
 To set the Level Of Details when rendering geometry shapes.
 
file  glvox1.C
 This macro demonstrates how to use "glcol" option for TH3.
 
file  glvox2.C
 This macro demonstrates how to use "glcol" option for TH3 and how to create user defined TRANSFER FUNCTION: transfer function maps bin value to voxel's opacity.
 
file  grad.C
 This macro demonstrates how to create and use linear gradients to fill a histogram or a pad.
 
file  grad2.C
 Gradient fill with transparency and the "SAME" option.
 
file  gradients.C
 This macro requires OpenGL, you can:
 
file  gviz3d.C
 Simple TStructViewer tutorial.
 
file  nucleus.C
 Model of a nucleus built from TGeo classes.
 
file  parallelcoordtrans.C
 Script illustrating the use of transparency with ||-Coord.
 
file  radialgradients.C
 This tutorial demonstrates how to use radial gradients, custom colors, transparency.
 
file  transp.C
 This demo shows how to use transparency.
 
file  transp_text.C
 This macro is based on labels1.C by Rene Brun.
 
file  transparentpad.C
 This macro demonstrates semi-transparent pads.
 
file  viewer3DLocal.C
 Demonstrates 3D viewer architecture TVirtualViewer3D and TBuffer3D in the local frame.
 
file  viewer3DMaster.C
 Demonstrates 3D viewer architecture TVirtualViewer3D and TBuffer3D in the master frame.