PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
6k stars 1.18k forks source link

usdview superslow viewport update if not playing #1638

Open BSalem opened 2 years ago

BSalem commented 2 years ago

Description of Issue

Trying to move the camera of the viewport, the viewport will render superslow although if the play button is pressed and the animation is playing, you can smoothly turn around the objects and the viewport behaves as expected

Steps to Reproduce

  1. load any usd or alembic in usdview
  2. alt+left drag to turn the camera around the primitives (even if this is just a simple cube).
  3. Now, you should be seeing the camera moves around the object super slowly.
  4. click the play button, and do the same thing as step (2).
  5. Now, the viewport updates smoothly and you can move around the objects efficiently.

System Information (OS, Hardware)

CentOS 7.x

Package Versions

currnet Dev branch.

Build Flags

--usd-imaging --python --usdview --prman --prman-location /opt/pixar/RenderManProServer-24.1 --openimageio --opencolorio --alembic --hdf5 --materialx

spiffmon commented 2 years ago

Hi @BSalem , I am seeing no difference in behavior in usdview tumbling going back multiple years. Which is to say, my tumbling experience is horrible due to VNC (though Maya viewport is just as bad), but by "tossing" in a particular direction, I can see fast updates happening. Has anyone else seen a difference?

BSalem commented 2 years ago

actually I'm seeing this for a while now, but I was always ignoring it, what's making me sure that this is not something with the display driver or whatever are two things:

  1. I already have an older compiled version of USD where usdview works normally (unfortunately I don't know its version, and most probably it was compiled on from a dev master branch, but it was before the applications plugins of maya and katana to get separated).
  2. The same current version of usdview that I have this issue with, has the camera tumbles problem only when showing static view, while it tumbles smoothly and as expected during a playback of animated cache (which is supposed to be harder, but in spite of this it's working smooth).
spiffmon commented 2 years ago

OK, that's really interesting. I'm unable to investigate while WFH (which will be a good while longer). Curious if anyone else is seeing this on Linux? Any investigation you can do, @BSalem , would be much appreciated!

jilliene commented 2 years ago

Filed as internal issue #USD-6942

BSalem commented 2 years ago

Does anybody facing this issue! I have an old build of USD which didn't have! https://we.tl/t-bcgw8GtzL6