RE: [fluka-discuss]: geoview 3D navigation

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Mon, 30 Oct 2017 09:24:05 +0000

Hi Zhiyi,

It is a bit different than the CAD programs, since here we have to combine
 both the 2D (cross section) and 3D display.
When you are displaying something in 3D the program needs the position of the
viewer/camera and also a pivot point or "look at" point on where to orbit around.

In 2D the position of the camera and the pivot point are the same.
So when you are in 2D what you see is a cross section of your geometry
at the position of the camera at the origin/center of the viewport.
When you orbit you rotate around the same point.

In 3D there are 3 different types of representation.
Orthographic, Perspective and Combo

Orthographic: The image starts from a plane which is perpendicular to the viewer
at the viewer/pivot point. This is done to to be compatible with the 2D display
where the camera and pivot points are the same. So the default orbit will behave like
in 2D and you always see behind the viewing plane (which behaves like a clipping plane).
To view the whole object it is recommended to pan the display backward,
towards the viewer, which can be done by rotating the Mouse wheel holding Ctrl.
For easing the orbit as in several CADs you can define the orbit point to be different than the
center of the viewport by clicking once with the Middle mouse button at any location in the screen.

Perspective: The camera point is behind (towards the viewer) wrt to the pivot point.
The distance is calculated based on the FOV (Field of view setting) and the width of the display.
The pivot point can be set again with clicking the Middle Mouse button.
The "rays" start from the camera, so if you are inside tunnels or detectors you need to manually
put clipping body to see the interior

Combo: Is a mixture of the two Ortho + Perspective. The rays don't start from the camera but
from the screen like in the Ortho, however they follow a perspective direction.


In summary:
- Pan backward the viewport with Ctrl-Wheel
- Set the pivot point with Middle-Mouse-button
- Orbit...

Cheers
Vasilis



________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Zhiyi Liu [zhiyil_at_triumf.ca]
Sent: Friday, October 27, 2017 20:02
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: geoview 3D navigation

Hi,
I am a bit confused about 3D navigation in geoview of flair. For example, if using 'orbit' function to rotate a geometric body, yes, the body can be rotated to what you want, however, the planes (defined by four lines, red/blue/mag/green) are NOT rotated with the body. As a result, bodies look very weird most time. I am curious if geometry can be rotated fixing with its four planes? Just like a regular CAD software.

Thanks,
Zhiyi.
--
Zhiyi Liu
Tel: (778)875-7880 Email: zhiyil_at_triumf.ca<mailto:zhiyil_at_triumf.ca>
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Oct 30 2017 - 11:49:13 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 30 2017 - 11:49:14 CET