Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 112
Posts: 112   Pages: 12   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 119944 times and has 111 replies Next Thread
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

You can use this plugin:
https://sourceforge.net/p/sweethome3d/plug-ins/39/

Disclaimer: I'm the developer of the plugin.
[Nov 17, 2021, 9:09:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sjb007
Advanced Member




Joined: May 18, 2021
Post Count: 255
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Nov 19, 2021, 12:29:52 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
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.

Thank you and best regards
[Nov 20, 2021, 10:09:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sjb007
Advanced Member




Joined: May 18, 2021
Post Count: 255
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

See https://youtu.be/nq00He4oz_4

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.
[Nov 20, 2021, 2:43:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Nov 21, 2021, 7:47:43 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sjb007
Advanced Member




Joined: May 18, 2021
Post Count: 255
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Nov 21, 2021, 11:15:59 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Works OK, very nice.
Thank you!
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Nov 22, 2021, 8:37:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
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 sad )

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.

Here is a video of the new features in action:
https://youtu.be/wYDrdH8brsw

@hashmex Thank you!
[Nov 27, 2021, 11:41:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sjb007
Advanced Member




Joined: May 18, 2021
Post Count: 255
Status: Offline
Reply to this Post  Reply with Quote 
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.)
[Nov 28, 2021, 12:02:33 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

I'm really sorry for this, maybe you could try to retrieve the console output as described here: http://www.sweethome3d.com/support/forum/view...3213182D743FE532FBDD71C13
[Nov 28, 2021, 12:30:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 112   Pages: 12   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved