PixarAnimationStudios / OpenUSD

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

Cannot Switch Renderer from GL to Embree #2451

Open dinelanthony opened 1 year ago

dinelanthony commented 1 year ago

Description of Issue

I can open up a stage just fine however when I try to switch my renderer from GL to Embree, nothing happens even though the drop-down menu shows Embree as selected. There are no error codes in the console to tell me of any issues, and everything is as responsive as usual.

I found that by running usdview with -r Embree, I can load the Embree renderer and can swap to GL from there using the renderer tab, however if I do this I cannot switch back to Embree again.

Steps to Reproduce

(Opening normally)

  1. build USD
  2. usdview C:\Users\DinelAnthony\RenderingProj.venv\USD\Objects\testingusda.usda
  3. Go to "renderer" tab
  4. Select Embree

(Opening with Embree as default)

  1. build USD
  2. usdview -r Embree C:\Users\DinelAnthony\RenderingProj.venv\USD\Objects\testingusda.usda
  3. Go to "renderer" tab
  4. Select GL
  5. Select Embree

    System Information (OS, Hardware)

Windows 10

Package Versions

USD 23.05 Python 3.9.13 PySide6 6.5.1 PyOpenGL 3.1.7 Embree 3.2.2

Build Flags

--build-monolithic --tests --docs --python-docs --debug-python --ptex --openvdb --embree --no-prman --openimageio --alembic --hdf5 --no-draco --materialx --no-examples --opencolorio

Pictures

(Using Embree)

image

(Using GL)

image

(Selecting Embree after selecting GL)

image

Any help would be appreciated!

sunyab commented 1 year ago

Filed as internal issue #USD-8367