sampsapursiainen / zeffiro_interface

Interface for using finite elements in inverse problems with complex domains
GNU General Public License v3.0
23 stars 15 forks source link

3D model gets corrupted when Zoomed-in #211

Open mshavliuk opened 1 year ago

mshavliuk commented 1 year ago

Description

When I zoom-in the 3D model in Figure tool, it gets corrupted so different parts of it get cut off.

Steps to reproduce

  1. Load the model
  2. Visualize Surfaces
  3. Use Zoom-in tool

See the issue.

Expected behavior

I would suggest not to use zoom-in tools if it causes so much troubles and leave the users to manipulate only the distance parameter.

Screenshots

See the demo on both Linux (via VNC) and MacOS

https://user-images.githubusercontent.com/6589665/237007302-731d2daf-1aa4-4a46-bd73-1db23fb69182.mp4

Context

Name Value
Version 6cb2537c zef_import_parcellation_colortable: load fields from color table file order-agnostically
OS MacOS and Linux
Shell N/A
JoonasJL commented 1 year ago

I feel this is more of an issue from Matlab's side: the faces of surface elements that have nodes outside of the view of the camera are not drawn, and somehow, the set of visible faces is not updated when the object is rotated.

If you want to zoom, you can use the "Distance" slider instead of the zoom.

mshavliuk commented 1 year ago

If you want to zoom, you can use the "Distance" slider instead of the zoom.

That is exactly the solution I proposed in the issue description: "I would suggest not to use zoom-in tools". Does Matlab allow to disable them?