Hello, I’m completely new to vtk.js and I’m trying to model an industrial robot. I have added sliders with eventlisteners so that each link of the robot can rotate by dragging the slider. It works for most links, while some just disappear when trying to move them. I understand that this is a poor problem description but I’ll just shoot my shot - has anyone ever encountered this issue? Has something crashed? Does anyone have an idea of what the problem could be or how to fix it? (I’m not sure if they actually disappear or if they mysteriously become translucent.)
Any advice would be highly appreciated.
Have you considered resetting the camera ? e.g.vtkRenderer.resetCamera()
or vtkRenderer.resetCameraClippingRange()
Some screenshots would be useful to “see” what happens.
Hth
Thanks for the reply Julien. I tried resetting the camera but nothing changed.
Here are some screenshots from when I’m moving one part that works, and then when I’m trying to move the part that disappears.
How do you apply the “rotation” to your part ? Through the UserMatrix ?
What happens if your transforms are very small ?
I have the same problem.
when i use transform->RotateX()
for the actor. sometimes, the actor disappears.
Who knows the cause of the problem. Any heip would be appreciated.