buildinginstructions.js icon indicating copy to clipboard operation
buildinginstructions.js copied to clipboard

camera will be reset when click Next Step

Open WentianBu opened this issue 4 years ago • 4 comments

Persons may change the camera position and scale when viewing a step, but the camera will be reset in the next step. Is it possible to keep the current camera status when switching steps?

WentianBu avatar Feb 08 '22 07:02 WentianBu

Hi there. In my first versions of the building instructions viewer I had the camera stay when going between steps. This was undesired, since ROTSTEP instructions should be used to ensure that the correct angle is shown.

Does ROTSTEP solve the issue that you are facing?

LasseD avatar Mar 07 '22 15:03 LasseD

In my opinion, the camera should stay when going between steps, and if a ROTSTEP instruction occurs, camera will be reset to the correct angle. I think users may have a better experience if camera could keep its status - users may rotate and zoom in the camera to see an area of the model clearly, and the next step usually adds some bricks to the same area, so if the camera could stay, users don't need to rotate and zoom in again, and could have a fluent visual experience while switching steps.

WentianBu avatar Apr 14 '22 02:04 WentianBu

Then I think a good solution would be one that combines both: Maybe have two modes of the camera: "Restricted" and "Free". Click to toggle between the modes and go into "Free" mode by moving the model around.

I just need to make sure that it is clear and easy for users to get back into Restricted mode and not feel lost if they mistakenly enable free mode. This is not an issue that I have a good solution for yet.

LasseD avatar May 03 '22 11:05 LasseD

Maybe you can refer to this:https://my-instruction.maic.fun/instructions?address=56ee679f112a08904d587670222c5f92sxk202208310025001_3r

anuo2019 avatar Oct 17 '23 09:10 anuo2019