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

Vedo only render the change when I move my mouse on the screen #1148

Open
OhmPuchiss opened this issue Jun 27, 2024 · 6 comments
Open

Vedo only render the change when I move my mouse on the screen #1148

OhmPuchiss opened this issue Jun 27, 2024 · 6 comments

Comments

@OhmPuchiss
Copy link

it happens to me that the scene only change when I hover my mouse on the screen which does not make it smooth. Can you help to solve this issue ?

@OhmPuchiss
Copy link
Author

I am trying to display an image which only occurs when I scroll the mouse

@marcomusy
Copy link
Owner

Try adding a call to .render() in your callback function.

@OhmPuchiss
Copy link
Author

image

marco,

Can you help recreate the reset_camera function but on different plane like xz, yz?

@OhmPuchiss
Copy link
Author

i.e. reset_camera on xz and yz plane function

@andrefpf
Copy link

I am not very familiar with vedo (yet), but I faced problems related to this in the vtk library.

If .render() not works, as @marcomusy sugested, try to call self.camera.Modified().

@OhmPuchiss
Copy link
Author

Oh it works !

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

3 participants