Re(2): 3D viewer in ROOT 4.02

From: Olivier Couet <couet_at_mail.cern.ch>
Date: Mon, 7 Mar 2005 15:21:55 +0100 (CET)

Hi Ralf,

 Attached you will find a macro which:

  1. creates a simple 3D scene in a Pad.
  2. Displays it in the OpenGL viewer.
  3. Wait a double click in the pad to continue.
  4. Add a few more shapes in the Pad
  5. Update the OpenGL view.

 I hope it helps.

 Cheers, Olivier

On Sun, 6 Mar 2005, Ralf Ehrlich wrote:

> Hello,
> I have been using the TPadOpenGLView class to get the 3D viewer. This
> worked very well till ROOT version 4.00/08.
> Now I'm using ROOT 4.02. This version doesn't have this TPadOpenGLView
> class anymore - it has been replaced by the TViewerOpenGL class.
> Unfortunately this new 3D viewer doesn't seem to be updated anymore when
> the content of its reference TPad changes. This was a feature that worked
> very well for TPadOpenGLView. Is there a method I can call to
> update/redraw/... the 3D display? Or would it be possible to bring the old
> 3D viewer back?
> Thank you very much,
> Ralf
>
>

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300

  • TEXT/PLAIN attachment: bb.C
Received on Mon Mar 07 2005 - 15:22:01 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET