Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict Camera movment within a angle range and along an axis #36

Open
udaydutta opened this issue Dec 8, 2017 · 0 comments
Open

Restrict Camera movment within a angle range and along an axis #36

udaydutta opened this issue Dec 8, 2017 · 0 comments

Comments

@udaydutta
Copy link

Victor, I am working on a smart rendering project using JSModeler library. I want to restrict the rotation of my model ( By camera positioning) along an axis and within a angle range. Could you please give me any tips or suggest any example code? Also I am using a skybox to add a background to the scene. The problem is, whenever I am changing the viewing angle the zooming is getting reset and skybox cube is being shown on the screen. How I can persist the zooming level on the scene even though I change the viewing angle?
Any clue or code example will be really appreciated. Thanks and regards.

UCD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant