-
Notifications
You must be signed in to change notification settings - Fork 34
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
usdview: Failed to load plugin hdAurora #11
Comments
I had the same issue, I fixed it by adding the bin directory of Aurora build to path env variable (not just the USD one). set USDROOT=<path to your Aurora USD build>
set Path=%Path%;%USDROOT%\bin;%USDROOT%\lib;<path/to/Aurora/Build\bin\Release>
set PYTHONPATH=%PYTHONPATH%;%USDROOT%\lib\python
%USDROOT%/bin/usdview <path/to/AutodeskTelescope.usda> --renderer=Aurora |
So, the official USD GitHub build won't work? |
I haven't really tested with that. Not sure what's exactly different in the fork that's used in |
The fork has support for hardware ray tracing with Vulkan, which we hope to make available in an official USD release eventually. I believe you should be able to build with an official USD release if you are using DirectX / Windows. |
Further clarification and desires: The USD build that Aurora installs does not have Python support, but Python support is needed for Usdview, hence a separate USD installation is required. This is not ideal, because it means you have effectively two USD installations, at 10 GB each, if you want to run with Usdview. We also use the fork (mentioned above and in the README.md) in all situations. So we hope to offer some options here, e.g. allow a single Python-based USD installation, and allow it to be an official release (e.g. 22.08 for now), assuming you are using the DirectX backend. EDIT: Marking this as "enhancement" to track that request. |
Is it possible to add Python support by ourselves? |
This does not work for me. Curious how you make Aurora USD build work. As pixnblox said, "The USD build that Aurora installs does not have Python support". I built Aurora USD manually into \USD-22.08-Aurora-v22.11_Build, setting PYTHONPATH as USD-22.08-Aurora-v22.11_Build\lib\python gives the error of "DLL load failed while importing _tf". |
Could be missing some DLLs: Initially, we had the same issue with Cycles hydra, but resolved by adding some paths for some DLLs, for Aurora hydra we wasn't able to figure out every needed DLLs. |
https://github.com/Autodesk/Aurora/blob/main/Doc/HdAurora.md#deploying-hdaurora
The deployment (to a USD build from official USD GitHub) seemed to be successful.
Then I launched usdview with the .usda file without specifying --renderer.
On the UI, I swithed to Aurora.
The dialog messege is in Chinese but should means: Cannot location program entry point on USD_Build\plugin\usd\hdAurora.dll.
The error in command line:
Error in 'pxrInternal_v0_22__pxrReserved__::PlugPlugin::Load' at line 258 in file E:\dp\Sft\3D\USD\pxr\base\plug\plugin.cpp : 'Failed to load plugin 'hdAurora': ?????????
in 'e:/dp/Sft/3D/USD_Build/plugin/usd/hdAurora.dll''
Error in 'pxrInternal_v0_22__pxrReserved_::HdRendererPluginRegistry::CreateRenderDelegate' at line 100 in file E:\dp\Sft\3D\USD\pxr\imaging\hd\rendererPluginRegistry.cpp : 'Couldn't find plugin for id HdAuroraRendererPlugin'
The text was updated successfully, but these errors were encountered: