----- Original Message ----- From: Thomas Eberl <teberl@physik.tu-muenchen.de> To: <roottalk@pcroot.cern.ch> Sent: 31 марта 2000 г. 8:26 Subject: OpenGL revisited > Dear rooters, > > I apologize that I come with the same subject again. > I have tried to change the color of a TShape object by using the dialog > canvas that pops up, when one clicks on SetLineAttributes in the > corresponding right mouse button menu for the node. This change is also > visible in the OpenGL view (unfortunately I have to zoom out to the > maximum each time to see the whole object which is cut seemingly at the > border of the volume of the first node -- how to change this minor > nuisance ??). There are two ways: 1. Switch from orthographic to perspective projection by clicking "P" letter 2. Change the size of the 3D viewpoint by clicking "a" / "s" (here we imitate the X3D interface) 3. Apply both approaches above. You can do the same things via API. > In the next step I have tried to change the Line color via the CINT by > saying: > trap[0] -> SetLineColor(9); > then I have tried various combinations of > c1->Modified(); > c1->Update(); > > but the change does not become visible. > > Could somebody give me a hint ?? > > regards Thomas > -- > Thomas Eberl Phone: (+49 89) 289 1 2425 > Physik-Department E12, Technische Universitaet Muenchen > James-Franck-Strasse *** D-85748 Garching b. Muenchen > Email: Thomas.Eberl@physik.tu-muenchen.de >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET