Joined: May 18, 2021
Post Count: 255
Status:
Offline
Re: Pan tool in 3D and 2D view?
THIS IS AWESOME!!!!!
Thank-you, thank-you, thank-you.
Just one small niggle: If I pan, then orbit, the new point of rotation sticks and it works as hoped. If I pan, then zoom (mouse scroll wheel), the view jumps back to the previous point of rotation, whether that is the center of everything, or the center of the current selection.
Italy
Joined: Nov 17, 2021
Post Count: 465
Status:
Offline
Re: Pan tool in 3D and 2D view?
I really appreciate your enthusiasm :D
I tried to reproduce the problem but without success, however I have found the behaviour you described happening when the selection changes, so I have updated the plugin to correctly handle this case in 2 different ways, based on the the option "view centered on selection". Try the new version, if you still experience the same problem you may record a small video to let me understand the exact steps to reproduce.
I did notice that navigation keypresses in the 3D view also "reset" the panning. It may be that the mouse scroll wheel up/down action are treated more like keypresses than mouse button actions.
Italy
Joined: Nov 17, 2021
Post Count: 465
Status:
Offline
Re: Pan tool in 3D and 2D view?
Thank you for the video, it is very well done :)
However this behaviour doesn't happen for me using the scroll wheel, it only happens using key navigation (WASD). I think it could be due to a different underlaying software (i.e. operating system, java version, etc...).
If it isn't too much effort for you, please report the following: - Operating system; - Type of SH3D installation (installer/java web start/ runnable jar); - SH3D version; - Java version (only needed if you aren't using the installer version).
Little anticipation I'm currently working on a new feature to automatically hide any wall between the camera and the center of rotation, I think to release it as an optional feature.
Joined: May 18, 2021
Post Count: 255
Status:
Offline
Re: Pan tool in 3D and 2D view?
OS: Windows 10 (legit, up-to-date) Type: Windows .exe installer SH3D version: 6.6a Java: 1.8.0_202 (I think this is the included one)
I'm using a wireless Logitech MX Master 2S mouse, but without any specific Logitech software.
Your feature sounds interesting. I did something very similar in Blender using shaders to make walls invisible to the camera depending on the direction the camera was looking at them from. Allowed me to do 3D isometric renders of a room while keeping the lighting correct.
Italy
Joined: Nov 17, 2021
Post Count: 465
Status:
Offline
Re: Pan tool in 3D and 2D view?
@sjb007 unfortunately I cannot reproduce the problem so I am unable to find a fix (tried even on Linux, without success )
In the meanwhile I have released the version 1.3 which adds the following capabilities: - hides obstacles which obstructs the view, either automatically or using a polyline as threshold; - pan vertically when the camera points towards the horizon.
Joined: May 18, 2021
Post Count: 255
Status:
Offline
Re: Pan tool in 3D and 2D view?
@Daniels118 Damn, that is a pity.
Your new version however causes SH3D to fail to start for me. I just get the splash panel, and it never opens the main window. Only way to get rid of it is to go into task manager and kill the underlying java process. I've switched between 1.2 and 1.3 repeatedly, and tried cleaning out all other plugins in case there was conflict, but 1.3 still didn't work. (I also checked if removing other plugins fixed the zoom issue, and that didn't help there either.)