Problem with camera changing target by itself

It seems to happen mostly when the camera is set at a wide angle and when there are long objects; some views that are saved as “NamedViews”, when recalled, will have the target move really close to the camera when I desactivate/activate the viewport and we see the z-clip limit or objects disapear. An example:
When set:


After clicking in another viewport:

Hi Marc,

I could be related to this setting:

Try turning it off; does that help?

-Willem

Thanks Willem, I’ll check next time I get into this trouble.

It’s happening again today and this setting doesn’t help…

Hi Mark - thanks, I’ll see if I can make this happen. If you could send me a file with the named view that should help eliminate some guesswork.

-Pascal

The problem is that if I close and open the file, it won’t happen anymore, in most cases.
I prepared a file for you but the problem isn’t showing up…

Hi Marc - the effect may depend upon some object quite far behind the camera. Just a guess…

-Pascal

Yes, it is most surely. But even when they’re hidden they may induce this behaviour…

Hi,

is there maybe some solution to this behavior?

When I set Camera Location and Target manually, as soon as I assign that named view to few details on a layout, camera jumps around at some other location

test_Box.3dm (89.0 KB)

Hi Faruk -

I opened your file, put the location and target of that named view back to where I think they are supposed to be, and then created a new layout and a few details that I set that named view to. This didn’t cause the named view widget to jump to a different location here.

Please run the Rhino SystemInfo command and copy-paste its output here.
If you have more detailed steps on how to reproduce this issue, please let us know.
-wim

Hi,

thanks for the info. Yes it is still happening.

For example if I create details on different layouts and I double click on the detail and do the pan. After I want to set the view again sometimes it works but sometime it jumps away

Rhino 8 SR17 2025-3-7 (Rhino 8, 8.17.25066.07001, Git hash:master @ b14fcd901289f8715631debb308bc919a4988e07)
License type: Commercial, build 2025-03-07
License details: LAN Zoo Network Node

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 32GB)
.NET Framework 4.8.9290.0

Computer platform: LAPTOP  - Plugged in [97% battery remaining]

Hybrid graphics configuration.
  Primary display: Intel(R) UHD Graphics (Intel) Memory: 128MB, Driver date: 4-2-2024 (M-D-Y).
    > Integrated graphics device with 4 adapter port(s)
        - Windows Main Display is laptop's integrated screen or built-in port
  Primary OpenGL: NVIDIA RTX A3000 Laptop GPU (NVidia) Memory: 6GB, Driver date: 6-10-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 538.78
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Secondary monitor is laptop's integrated screen or built-in port

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: On
  GPU Tessellation is: On
  Redraw scene when viewports are exposed: On
  Graphics level being used: OpenGL 4.6 (primary GPU's maximum)
  
  Anti-alias mode: 4x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 6-10-2024
  Driver Version: 31.0.15.3878
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Karamba\License\Karamba3D_LicensePlugin_Rhino7.rhp	"Karamba3DLicense"	

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\Commands.rhp	"Commands"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp	"WebBrowser"	
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp	"RhinoScript"	
  C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp	"IdleProcessor"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp	"Legacy Rhino Render"	
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp	"MeshCommands"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp	"Grasshopper"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.17.25066.7001
  C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp	"SectionTools"	


Hi -
Can you post a 3dm file in which everything is as it should be and then provide steps to trigger the behavior where the widget moves?
-wim