Hi again Rene,
> >> In case of pyroot, you can do the same. However after top.Draw you must exit
> >> python to get the mouse control in the GL viewer.
> >>
> > Well, just a few days ago I remember getting the _interactive_ viewer
> > from inside
> > an interactive python shell (no matter if python -i or ipython). I was
> > hit by "display-list registration failed only recently, but, I must
> > admit I do not know what change triggered that...
> > Can I ask what do you mean by "exiting python"? If I really Ctrl-D the
> > python shell I kill all the windows created "from inside" this python
> > session, including the 3D viewer created.
> >
>
> I was assuming that you were executing your python commands following a
> TPython::Prompt();
>
Ok, I understand now.
Actually looking at $ROOTSYS/tutorials/pyroot/shapes.py
I observe the following -
running directly
$python shapes.py (in the mentioned dir)
I see a nice canvas with all the mentioned shapes, and after
View->ViewWith->OpenGL
I get an entirely interactive 3D opengl viewer window, but if I replace
Draw('gl') with Draw('ogl') inside (which I, probably wrong, assume
shall do the same thing
as rawing on the canvas, and then going to view with opengl) I get a
"frozen" view I cannot manipulate. There's obviously some difference I
cound't grasp yet...
Regards
Michal Received on Thu Mar 27 2008 - 17:53:48 CET
This archive was generated by hypermail 2.2.0 : Fri Mar 28 2008 - 23:50:01 CET