Strange behavior of ui.scene because of changing the camera #3249
v479038280
started this conversation in
General
Replies: 2 comments 3 replies
-
what's your expect? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @v479038280, I think there's an ambiguity with your camera orientation. The camera pose is defined by its position, its viewing direction ("look at") and the "up" vector. I don't know Three.js' default values by heart, but I assume your up vector (probably scene.move_camera(x=0, y=0, z=10, up_x=0, up_y=1, up_z=0) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is the code:
The expect result should look like this:
but the default view is this:
when the scene is clicked the view become this:
when refreshed, it becomes this again:
Here is the result:
Beta Was this translation helpful? Give feedback.
All reactions