Re: [ROOT] ROOT and OpenGL

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Sep 06 2002 - 16:38:41 MEST


Five or six years ago Maarten Ballintijn produced a LinkDef.h that exported
the complete OpenGL API. With this he could run the standard OpenGL demos
(like gears) from the interpreter. Maybe Maarten has this code still somewhere.

Cheers, Fons.


On Fri, Sep 06, 2002 at 04:00:37PM +0200, Rene Brun wrote:
> Hi Glen,
> 
> Your question is not clear. Do you want to call OpenGl interactively
> from CINT or from the compiled code only.
> You should be able already to call OpenGL from the compiled code
> and add GL primitives to a GL window.
> To call GL from CINT, you must process the GL includes corresponding
> to the GL functions you want to call via rootcint.
> 
> Rene Brun
> 
> On Wed, 4 Sep 2002, Glen R. Salo wrote:
> 
> > Hi,
> > 
> > I would like use to OpenGL commands within the ROOT framework.  Since ROOT
> > uses OpenGL for 3D visualization, I believe this should be possible.  My
> > goal is to create an OpenGL window and render objects with textures,
> > transparencies, etc., using gl* commands.  Is this possible using the ROOT
> > OpenGL window?  If so, I would greatly appreciate pointers on how to get
> > started.  If not, are there any suggestions on how to use the advanced
> > features of OpenGL within ROOT?
> > 
> > Thanks,
> > 
> > Glen
> > 

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:08 MET