-
Notifications
You must be signed in to change notification settings - Fork 216
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
First two THREE.js objects added to scene change shape after camera movement #598
Comments
@Sevilaa I will drop your code in a simple example and run it later today. |
@Sevilaa I was able to reproduce the issue. I think the issue is in the viewer/scene. I think the arrow shapes come from the axis frame. I need some time to debug the issue. It could be fast, it could be complex. When you have time, you can take a look in the source code of the viewer/scene. |
I just had a quick look. I think the problem might be in Three itself or in the combination of Viewer, OrbitsControls, Axis. But the viewer itself looks fine. |
I think the problem lies within Three. As I don't see an issue in the OrbitControls and Axes. @Sevilaa could you take a look at the code? |
Thank you for the quick response. I will have a look at the code. Currently I get around the bug by simply removing the first two objects from the scene. |
I am in the process of migrating to newer Three version. I am not sure from what version exactly this problem was solved, as I didn't run the test with each release. but definitely from r110, this was fixed. |
This comment was marked as spam.
This comment was marked as spam.
@myli-xdu as I mentioned. The issue was in Three library. Adding code to compiled code is NEVER a good idea. |
@myli-xdu As your suggestion is very very very wrong. And it will not fix the issues at all. I am deleting it, to prevent other people from doing it. |
Description
When I try to add multiple THREE.js objects to the scene, it first looks fine, but as soon as I move the camera, the first two objects take the shape of arrow components (see image). Currently my only solution is to remove them and add new objects.
Steps To Reproduce
Expected Behavior
Objects don't change shape after camera movement. The above code should work as in #149
Actual Behavior
The first two object change shape to arrow components. This behavior is also described in #291.
The text was updated successfully, but these errors were encountered: