RE: Setting perspective in TGeo Object?

From: Bertrand Bellenot <>
Date: Tue, 5 Jul 2011 10:42:30 +0000


Here is you modified script to show how to solve 1) and 2), but maybe Matevz has a better way of doing it, or a better suggestion...

Concerning your third question, maybe Matevz or Andrei know how to do it...

Cheers, Bertrand.

-----Original Message-----
From: [] On Behalf Of Georg Troska Sent: 04 July 2011 14:20
To: roottalk (Mailing list discussing all aspects of the ROOT system.) Subject: [ROOT] Setting perspective in TGeo Object?


I have simple script drawing two TGeoBoxes (see attachment).

1st question:
When I use the Draw("ogl") method the I see the fixed camera position looking along the x-axis. How can I change the perspective? I would like to look from one corner on the objects.

2nd question:
Is there a way to hide the menu on the left? I would like to only show the GL-picture

3rd question:
How can rotate one of the two TGeoBoxes?

Thank you very much


Received on Tue Jul 05 2011 - 12:42:39 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 05 2011 - 17:50:02 CEST