Hi Kerry, ZoomMove requires the conversion from normalized coordinate system to world CS, which is currently not implemented in perspective view. Currently the conversion is however done but using the parallel view transformation matrix, which of course gives wrong results when in perspective (default option for new geometry). Until I will implement this, you have a few ways of doing what you want : One is to switch to parallel view in the context menu of TView, do the ZoomMove and then switch back to perspective - this however requires few extra mouse operations. The other way applies if you want to zoom a given object in your geometry : move the mouse to one of its vertices until it becomes selected (red) and then double-click. Meanwhile you can use the same keys as in x3d directly in the pad view to zoom in/out or move the center of view. I hope this helps for a while. Andrei. LEE, KERRY T. (JSC-SR) (UHCL) wrote: > Dear ROOT team, > > I am using ROOT v3.05.05 on RedHat 9.0 gcc3.2.2-5. > > When I draw my geometry and I would like to center different locations in > the geometry and then zoom up on the new center. In previous ROOT versions > I was able to right-click on the canvas and select ZoomMove in the TView > popup menu and then click on the canvas to center the geometry where I > clicked. In v3.05, (The CVS version from July 8th does the same thing) when > I select ZoomMove and then click on the canvas the geometry becomes centered > at (0,0,0). Is there another method of doing what I want, or can this > method be made to do what it used to do? > > I am attaching my geometry file, and below is the way I draw it. > > root [0] .x transit.cxx > ===> Geometry, default geometry created > Top volume is MOTH. Master volume is MOTH > List of materials : > Fixing runtime shapes... > Counting nodes... > Voxelizing... > Building caches for nodes and matrices... > ### 43 nodes/ 31 volume UID's in default geometry > ----------------modeler ready---------------- > root [1] gGeoManager->GetTopVolume()->Draw() > <TCanvas::MakeDefCanvas>: created default TCanvas with name c1 > --- number of nodes on screen : 42 > root [2] > > Thanks > Kerry >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET