autodesk / aurora Goto Github PK
View Code? Open in Web Editor NEWReal-time GPU path tracing with an OpenUSD Hydra render delegate
License: Apache License 2.0
Real-time GPU path tracing with an OpenUSD Hydra render delegate
License: Apache License 2.0
Hello there,
I'm trying to build Aurora v23.03 in Windows 11, currently failing on Installing externals
This is the log:
Building with settings:
Aurora source directory c:\Aurora
Externals source directory c:\AuroraExternals\src
Externals install directory c:\AuroraExternals
Build directory c:\AuroraExternals\build
CMake generator Default
CMake toolset Default
Variant Release
Dependencies stb, tinygltf, tinyobjloader, boost, tbb, OpenEXR, OpenImageIO, MaterialX, OpenSubdiv, USD, Slang, glew, GLFW, cxxopts, gtest
STATUS: Installing stb...
INFO: Running "git clone --recurse-submodules https://github.com/nothings/stb.git stb-5736b15f7ea0ffb08dd38af21067c314d6a3aae9"
Traceback (most recent call last):
File "c:\Aurora\Scripts\installExternals.py", line 609, in GitCloneSHA
Run("git clone --recurse-submodules {url} {folder}".format(url=url, folder=cloneDir))
File "c:\Aurora\Scripts\installExternals.py", line 250, in Run
p = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE,
File "C:\Program Files\Python39\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] System can not find specified file.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Aurora\Scripts\installExternals.py", line 1721, in <module>
dep.installer(context,
File "c:\Aurora\Scripts\installExternals.py", line 967, in InstallSTB
with CurrentWorkingDirectory(GitCloneSHA(STB_URL, STB_SHA, STB_FOLDER, context)):
File "c:\Aurora\Scripts\installExternals.py", line 618, in GitCloneSHA
url=url, tag=tag, err=e))
NameError: name 'tag' is not defined
ERROR: name 'tag' is not defined
Is there anything wrong in code or just my fault?
Hello,
I quickly Build and testing HdAuroraPlugin for USDView and i getting this below warnings and errors
im using the AutodeskTelescope usd file
usdview H:\Demo\USD\AutodeskTelescope\AutodeskTelescope.usd
Coding Error (secondary thread): in _FailGet at line 562 of D:\Dev\AuroraExternals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec3f>' from empty VtValue.
Hey,
Thanks a lot for opening up the code 😄 I'm very grateful as it a very useful reference on how one can implement the Autodesk Standard Surface model. Such an implement of a multi-lobed BSDF model is hard to find online.
Looking through the code, it appears Aurora's implementation of the Standard Surface model diverges from the specification as well as Arnold in some key places like:
The readme says "..new features and enhancements to performance and quality planned" so my questions would be:
Thank you.
Hello there,
thx for publishing this awesome renderer.
Since I want to use USD and Hydra mostly on Linux I gave it a try to run HdAurora on Linux.
Several steps were necessary to build and deploy hdAurora:
First of all, the deployHdAurora.py
does not support linux for now.
I've made (quick) adjustments here:
https://github.com/lindemeier/Aurora/blob/73809a1291b107742ad7c0571606c40242083835/Scripts/deployHdAurora.py
The lib in pluginInfo.json
needs to be named accordingly:
https://github.com/lindemeier/Aurora/blob/73809a1291b107742ad7c0571606c40242083835/Libraries/HdAurora/resources/linux/plugInfo.json
Upgrade boost to 1.78 due to compilation errors.
After executing these steps I was able to run usdview in a conda environment setup with all python dependencies.
After starting usdview
directly with Aurora
as renderer and the USD "Kitchen_Set" as input scene, I get the following output:
The terminal is spammed with:
v22.11/pxr/base/vt/value.cpp : 'Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.'
Error in '*pxrInternal_v0_22__pxrReserved__::VtValue::_FailGet' at line 562 in file /home/zotlinde/dev/Aurora/externals/src/USD-22.08-Aurora-v22.11/pxr/base/vt/value.cpp : 'Attempted to get value of type 'VtArray<GfVec3f>' from empty VtValue.'
I tried to run it on the following operating systems:
Both showed the exact same behavior.
Further information:
I tried gcc
and clang-12
. No difference.
Has anyone tried a MacOS build of HDAurora? I am curious if any progress has been made on a MacOS build?
Either a Apple Silicon Build or something that uses Rosetta 2 for Intel emulation?
CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Slang (missing: Slang_INCLUDE_DIRS Slang_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
Scripts/cmake/modules/FindSlang.cmake:51 (find_package_handle_standard_args)
Libraries/Aurora/CMakeLists.txt:37 (find_package)
I'm using this command to make the build
cmake -G "Visual Studio 16 2019" -A x64 . -S . -B Build -D EXTERNALS_ROOT=E:\AuroraExternals
The script deployHdAurora.py
fails at the step where it tries to build USD, it throws the error :
- Building USD.
Traceback (most recent call last):
File "Scripts/deployHdAurora.py", line 82, in <module>
if(subprocess.run(["python", "./build_scripts/build_usd.py", "--python", args.usd_root], cwd=usd_repo_root).returncode != 0):
File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
NotADirectoryError: [WinError 267] The directory name is invalid
When looking at all the paths provided to the subprocess
function, I found that the issue is with the USD repo, in my case the repo directory is named this way (with all the build steps I followed initially) : C:\dev\AuroraExternals\src\USD-22.08-Aurora-v22.11
, while the line 64 in deployHdAurora.py has this :
usd_repo_root = os.path.join(externals_folder, "src", "USD")
Which produces a path like this : C:\dev\AuroraExternals\src\USD
. So I had to change that line this way for the script to work for me :
usd_repo_root = os.path.join(externals_folder, "src", "USD-22.08-Aurora-v22.11")
Is there a way to better generalize this in the script as opposed to hard coding the USD version ? or maybe it's not an issue I should've faced? I'll gladly submit a PR too if needed.
Hello,
Is this render suitable to create a CAD like application as main renderer? I mean for editing 3D geometry, modifying materials,... In real time, my concerns aren't just about the FPS but also about eventual latency due to temporal algorithms used by the renderer or if the API allow to change the content of the rendered scene without loading.
I will also need the ability to draw some primitives without lighting like gizmo,...
Hi, thanks for this project.
I am wondering if there are plans to make it easier to produce a USD render delegate that is compatible with a Houdini Solaris viewport.
In order to do this, I am pretty sure you just need to link against the USD libs that ships with a given Houdini version.
Why Aurora 23.03 uses USD 22.08?
Can I to replace variable USD_URL= "https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v23.05.zip" ???
What version of maya will automatically load this tool, is there a chance for maya2024
There seems to be a config issue with when running the deploy script for hdAurora. It expects the source of USD to be in src/USD but it is actually the name of the zip file which is downloaded with the installDependencies script. And therefore the path is src/USD-22.08-Aurora-v22.11
Python traceback:
Traceback (most recent call last): File "Scripts\deployHdAurora.py", line 77, in <module> if(subprocess.run(["python","build_scripts/build_usd.py","--python",args.usd_root],cwd=usd_repo_root).returncode!=0): File "C:\Users\bjoern\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 493, in run with Popen(*popenargs, **kwargs) as process: File "C:\Users\bjoern\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 858, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\bjoern\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1311, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, NotADirectoryError: [WinError 267] The directory name is invalid
Modifying the deploy script to the correct path fixes this issue.
Hi,
i just gave compiling Aurora a first try on Windows using VS2022. I followed the step by step tutorial and building went fine. I can also load Plasma fine.
Now i wanted to try usdview with the delegate. I also followed the steps outlined in the docs. But when trying to load a usd with usdview i get the following error:
Traceback (most recent call last):
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\usdview", line 35, in <module>
Usdviewq.Launcher().Run()
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\__init__.py", line 85, in Run
self.__LaunchProcess(arg_parse_result)
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\__init__.py", line 353, in __LaunchProcess
(app, appController) = self.LaunchPreamble(arg_parse_result)
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\__init__.py", line 343, in LaunchPreamble
appController = AppController(arg_parse_result, contextCreator)
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\appController.py", line 449, in __init__
stage = self._openStage(
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\appController.py", line 1217, in _openStage
if not Ar.GetResolver().Resolve(usdFilePath):
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_22__pxrReserved__::PlugPlugin::_Load' at line 258 in file C:\dev\github\Autodesk\Aurora\externals\src\USD-22.08-Aurora-v22.11\pxr\base\plug\plugin.cpp : 'Failed to load plugin 'ImageProcessingResolver': The specified procedure could not be found.
in 'c:/dev/github/Autodesk/Aurora/Build/bin/Release/usd/imageProcessingResolver.dll''
Error in 'pxrInternal_v0_22__pxrReserved__::`anonymous-namespace'::_PluginResolver<class pxrInternal_v0_22__pxrReserved__::ArResolver,class pxrInternal_v0_22__pxrReserved__::Ar_ResolverFactoryBase>::Create' at line 337 in file C:\dev\github\Autodesk\Aurora\externals\src\USD-22.08-Aurora-v22.11\pxr\usd\ar\resolver.cpp : 'Failed to load plugin ImageProcessingResolver for ImageProcessingResolverPlugin'
I wonder if i have set up PATHs wrong or something similar? I created a set_env.ps1 to set up the env variables as follows:
$env:PATH = "C:\dev\github\Autodesk\Aurora\Build\bin\Release;C:\dev\github\Autodesk\Aurora\Build\bin\Release\usd;$env:PATH"
$env:PYTHONPATH = "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python"
Any pointers would be greatly appreciated.
VulkanSDK 1.3.204.1
D3D is good.
OS : WSL2 ubuntu 20.04
Branch : main
[ 54%] Building CXX object Tests/Foundation/CMakeFiles/FoundationTests.dir/Tests/TestMath.cpp.o
[ 55%] Building CXX object Tests/Foundation/CMakeFiles/FoundationTests.dir/Tests/TestUtilities.cpp.o
[ 56%] Building CXX object Tests/Foundation/CMakeFiles/FoundationTests.dir/FoundationMain.cpp.o
[ 57%] Linking CXX executable ../../bin/Release/FoundationTests
/usr/bin/ld: ../../lib/Release/libFoundation.a(Utilities.cpp.o): in function `Aurora::Foundation::getModulePath[abi:cxx11]()':
Utilities.cpp:(.text+0x270): undefined reference to `dladdr'
collect2: error: ld returned 1 exit status
make[2]: *** [Tests/Foundation/CMakeFiles/FoundationTests.dir/build.make:165: bin/Release/FoundationTests] Error 1
make[1]: *** [CMakeFiles/Makefile2:330: Tests/Foundation/CMakeFiles/FoundationTests.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Hi,
Are there plans to add in denoise capabilities to this opensource repository? It looks like Aurora has that ability according to this video?
https://www.youtube.com/watch?v=8tDJn8ms-y8
And there are breadcrumbs to enable it in but getting stomped on the missing Denoiser.cpp and Denoiser.h files.
Aurora/Scripts/installExternals.py
Line 1051 in 3082b23
Aurora/Libraries/Aurora/CMakeLists.txt
Line 165 in 3082b23
It would have been awesome to get this with denoising capabilities as it is a great interactive renderer and are curious to hear your thoughts on adding to this repository or if it is up to each consumer to add it separately.
Best Regards,
Dan
Hello there,
I'm trying to build Aurora in Arch Linux, currently failing on building openimageIO
This is the log:
[<__main__.Dependency object at 0x7f58964b3fa0>, <__main__.Dependency object at 0x7f58964f42e0>, <__main__.Dependency object at 0x7f58964f44f0>, <__main__.Dependency object at 0x7f58967ab100>, <__main__.Dependency object at 0x7f58964b3af0>, <__main__.Dependency object at 0x7f58964f45e0>, <__main__.Dependency object at 0x7f58964f4820>, <__main__.Dependency object at 0x7f58964f5240>, <__main__.Dependency object at 0x7f58964f4a30>, <__main__.Dependency object at 0x7f58964f52a0>, <__main__.Dependency object at 0x7f58964f5330>, <__main__.Dependency object at 0x7f5896437790>]
- Required dependencies:
The following libraries are required to build Aurora and its externals:
zlib1g-dev, libjpeg-turbo8-dev, libtiff-dev, libpng-dev, libglm-dev, libglew-dev
libglfw3-dev, libgtest-dev, libgmock-dev
You can install them with the following command on Ubuntu:
sudo apt-get -y install zlib1g-dev libjpeg-turbo8-dev libtiff-dev libpng-dev libglm-dev libglew-dev libglfw3-dev libgtest-dev libgmock-dev
Building with settings:
Aurora source directory /home/adro/Applications/3D/USD/Aurora
Externals source directory /home/adro/Applications/3D/USD/AuroraExternals/src
Externals install directory /home/adro/Applications/3D/USD/AuroraExternals
Build directory /home/adro/Applications/3D/USD/AuroraExternals/build
CMake generator Default
CMake toolset Default
Variant Release
Dependencies stb, tinygltf, tinyobjloader, boost, tbb, OpenEXR, OpenImageIO, MaterialX, OpenSubdiv, USD, Slang, cxxopts
STATUS: Installing stb...
STATUS: Installing tinygltf...
STATUS: Installing tinyobjloader...
STATUS: Installing boost...
STATUS: Installing tbb...
STATUS: Installing OpenEXR...
STATUS: Installing OpenImageIO...
STATUS: Applying OpenImageIO.patch ...
2023-03-28 19:37
cmake -DCMAKE_INSTALL_PREFIX="/home/adro/Applications/3D/USD/AuroraExternals/OpenImageIO" -DCMAKE_PREFIX_PATH="/home/adro/Applications/3D/USD/AuroraExternals/OpenEXR;/home/adro/Applications/3D/USD/AuroraExternals/tinygltf;/home/adro/Applications/3D/USD/AuroraExternals/Slang;/home/adro/Applications/3D/USD/AuroraExternals/USD;/home/adro/Applications/3D/USD/AuroraExternals/MaterialX;/home/adro/Applications/3D/USD/AuroraExternals/tinyobjloader;/home/adro/Applications/3D/USD/AuroraExternals/boost;/home/adro/Applications/3D/USD/AuroraExternals/OpenSubdiv;/home/adro/Applications/3D/USD/AuroraExternals/OpenImageIO;/home/adro/Applications/3D/USD/AuroraExternals/cxxopts;/home/adro/Applications/3D/USD/AuroraExternals/tbb;/home/adro/Applications/3D/USD/AuroraExternals/stb" -DCMAKE_BUILD_TYPE=Release -DCMAKE_DEBUG_POSTFIX="d" -DOIIO_BUILD_TOOLS=OFF -DOIIO_BUILD_TESTS=OFF -DUSE_PYTHON=OFF -DSTOP_ON_WARNING=OFF -DUSE_PTEX=OFF -DBoost_NO_BOOST_CMAKE=On -DBoost_NO_SYSTEM_PATHS=True -DOPENEXR_ROOT="/home/adro/Applications/3D/USD/AuroraExternals/OpenEXR" -DTBB_USE_DEBUG_BUILD=OFF "/home/adro/Applications/3D/USD/AuroraExternals/src/oiio-2.4.5.0"
-- The CXX compiler identification is GNU 12.2.1
-- The C compiler identification is GNU 12.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring OpenImageIO 2.4.5.0
-- CMake 3.26.1
-- CMake system = Linux-6.2.8-zen1-1-zen
-- CMake system name = Linux
-- Project source dir = /home/adro/Applications/3D/USD/AuroraExternals/src/oiio-2.4.5.0
-- Project build dir = /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release
-- Project install prefix = /home/adro/Applications/3D/USD/AuroraExternals/OpenImageIO
-- Configuration types =
-- Build type = Release
-- CMAKE_UNITY_BUILD_MODE =
-- CMAKE_UNITY_BUILD_BATCH_SIZE =
-- Setting Namespace to: OpenImageIO_v2_4_5
-- CMAKE_CXX_COMPILER = /usr/bin/c++
-- CMAKE_CXX_COMPILER_ID = GNU
-- Building with C++14, downstream minimum C++14
-- Using Boost::filesystem
-- clang-format found: /usr/bin/clang-format
--
-- * Checking for dependencies...
-- * - Missing a dependency 'Package'?
-- * Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- * For many dependencies, we supply src/build-scripts/build_Package.bash
-- * - To exclude an optional dependency (even if found),
-- * -DUSE_Package=OFF or set environment var USE_Package=OFF
--
-- Boost_COMPONENTS = thread;filesystem
-- Found Boost 107800
-- Found ZLIB 1.2.13
-- Found TIFF 4.5.0
CMake Warning at src/cmake/modules/FindOpenEXR.cmake:43 (find_package):
Found package configuration file:
/home/adro/Applications/3D/USD/AuroraExternals/OpenEXR/lib/cmake/OpenEXR/OpenEXRConfig.cmake
but it set OpenEXR_FOUND to FALSE so package "OpenEXR" is considered to be
NOT FOUND. Reason given by package:
The following imported targets are referenced, but are missing:
IlmBase::Iex IlmBase::Half IlmBase::Imath IlmBase::IlmThread
Call Stack (most recent call first):
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:96 (checked_find_package)
CMakeLists.txt:154 (include)
-- Found OpenEXR 2.4.3
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found JPEGTurbo
-- Using internal PugiXML
-- Not using Python -- disabled
-- Found PNG 1.6.39
-- Found BZip2 1.0.8
-- Found Freetype 2.13.0
-- Found OpenColorIO 2.2.1
-- Found OpenCV 4.7.0
-- Found TBB 2021.8.0 from CONFIG
-- Found DCMTK 3.6.7
-- Found FFmpeg 5.1
-- Found GIF 5.2.1
-- Found Libheif 1.15.1
-- Found LibRaw 0.21.1
-- Found OpenJPEG 2.5
-- Found OpenVDB 10.0.1
-- Not using Ptex -- disabled
-- Not using Ptex -- disabled
-- Found WebP
-- Not using R3DSDK -- disabled
-- Nuke library not found
-- Try setting Nuke_ROOT ?
-- Found OpenGL
-- Found Qt5 5.15.8
-- Found fmt 90100
-- Found Robinmap
-- Missing test data oiio-images
-- Missing test data openexr-images
-- Missing test data fits-images
-- Missing test data j2kp4files_v1_5
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests gpsread;oiiotool-attribs;texture-filtersize;texture-filtersize-stochastic;texture-res;texture-maxres
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images/bmpsuite
-- -> Will not run tests bmp
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests cineon
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests dpx
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images/dds
-- -> Will not run tests dds
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/fits-images
-- -> Will not run tests fits
-- -> You can find it at http://www.cv.nrao.edu/fits/data/tests/
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests gif
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/openexr-images
-- -> Will not run tests hdr
-- -> You can find it at http://github.com/AcademySoftwareFoundation/openexr-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests ico
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests iff
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests jpeg2000
-- -> You can find it at Recent checkout of oiio-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/j2kp4files_v1_5
-- -> Will not run tests jpeg2000-j2kp4files
-- -> You can find it at http://www.itu.int/net/ITU-T/sigdb/speimage/ImageForm-s.aspx?val=10100803
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/openexr-images
-- -> Will not run tests openexr-suite;openexr-multires;openexr-chroma;openexr-v2;openexr-window;perchannel;oiiotool-deep
-- -> You can find it at http://github.com/AcademySoftwareFoundation/openexr-images
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests png;png-damaged
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests pnm
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests psd;psd-colormodes
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images/raw
-- -> Will not run tests raw
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests rla
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests sgi
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests targa
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images/libtiffpic
-- -> Will not run tests tiff-suite;tiff-depths;tiff-misc
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images/webp
-- -> Will not run tests webp
-- -> You can find it at
--
Did not find /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/testsuite/oiio-images
-- -> Will not run tests zfile
-- -> You can find it at
-- Configuring done (0.8s)
CMake Error at /home/adro/Applications/3D/USD/AuroraExternals/OpenEXR/lib/cmake/OpenEXR/OpenEXRConfig.cmake:68 (set_target_properties):
The link interface of target "OpenEXR::IlmImf" contains:
IlmBase::Iex
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
src/cmake/modules/FindOpenEXR.cmake:43 (find_package)
src/cmake/checked_find_package.cmake:127 (find_package)
src/cmake/externalpackages.cmake:96 (checked_find_package)
CMakeLists.txt:154 (include)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
TBB_USE_DEBUG_BUILD
CMake Generate step failed. Build files cannot be regenerated correctly.
ERROR: Failed to run 'cmake -DCMAKE_INSTALL_PREFIX="/home/adro/Applications/3D/USD/AuroraExternals/OpenImageIO" -DCMAKE_PREFIX_PATH="/home/adro/Applications/3D/USD/AuroraExternals/OpenEXR;/home/adro/Applications/3D/USD/AuroraExternals/tinygltf;/home/adro/Applications/3D/USD/AuroraExternals/Slang;/home/adro/Applications/3D/USD/AuroraExternals/USD;/home/adro/Applications/3D/USD/AuroraExternals/MaterialX;/home/adro/Applications/3D/USD/AuroraExternals/tinyobjloader;/home/adro/Applications/3D/USD/AuroraExternals/boost;/home/adro/Applications/3D/USD/AuroraExternals/OpenSubdiv;/home/adro/Applications/3D/USD/AuroraExternals/OpenImageIO;/home/adro/Applications/3D/USD/AuroraExternals/cxxopts;/home/adro/Applications/3D/USD/AuroraExternals/tbb;/home/adro/Applications/3D/USD/AuroraExternals/stb" -DCMAKE_BUILD_TYPE=Release -DCMAKE_DEBUG_POSTFIX="d" -DOIIO_BUILD_TOOLS=OFF -DOIIO_BUILD_TESTS=OFF -DUSE_PYTHON=OFF -DSTOP_ON_WARNING=OFF -DUSE_PTEX=OFF -DBoost_NO_BOOST_CMAKE=On -DBoost_NO_SYSTEM_PATHS=True -DOPENEXR_ROOT="/home/adro/Applications/3D/USD/AuroraExternals/OpenEXR" -DTBB_USE_DEBUG_BUILD=OFF "/home/adro/Applications/3D/USD/AuroraExternals/src/oiio-2.4.5.0"'
See /home/adro/Applications/3D/USD/AuroraExternals/build/oiio-2.4.5.0/Release/log.txt for more details.
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'
I tried building USD with the deployHdAurora.py
script but was getting "DLL load failed while importing _tf". reading issue 11 led me to believe that it was a python error so i did a new USD build with python and usdview was working fine. However, when i went to go deploy Aurora using deployHdAurora.py
to the new build and try to run usdview it now gives me the error "DLL load failed while importing _usdImagingGL". I then added Aurora/Build\bin\Release
to my PATH env and am now getting "DLL load failed while importing _tf" error again.
I have only 1 version of USD built, and my PATH envs are set to USD/bin
and USD/lib
and my PYTHONPATH envs are set to USD\lib\python
.
The full message is
File "E:\Programs\USD\bin\usdview", line 28, in <module>
import pxr.Usdviewq as Usdviewq
File "E:\Programs\USD\lib\python\pxr\Usdviewq\__init__.py", line 27, in <module>
from pxr import Tf
File "E:\Programs\USD\lib\python\pxr\Tf\__init__.py", line 163, in <module>
PreparePythonModule()
File "E:\Programs\USD\lib\python\pxr\Tf\__init__.py", line 88, in PreparePythonModule
module = importlib.import_module(
File "C:\Users\choim\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing _tf: The specified procedure could not be found.
cmake --build Build --config Debug
Aurora.vcxproj -> E:\dp\Sft\GDev\ADSK\Aurora\Build\bin\Debug\Aurora.dll
gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in TestHelpers.obj [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\AuroraInternals\AuroraInternalsTests.vcxproj]
gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in TestHelpers.obj [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\AuroraInternals\AuroraInternalsTests.vcxproj]
Creating library E:/dp/Sft/GDev/ADSK/Aurora/Build/lib/Debug/AuroraInternalsTests.lib and object E:/dp/Sft/GDev/ADSK/Aurora/Build/lib/Debug/AuroraInternalsTests.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\AuroraInternals\AuroraInternalsTests.vcxproj]
E:\dp\Sft\GDev\ADSK\Aurora\Build\bin\Debug\AuroraInternalsTests.exe : fatal error LNK1319: 2 mismatches detected [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\AuroraInternals\AuroraInternalsTests.vcxproj]
gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in TestHelpers.obj [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Aurora\AuroraTests.vcxproj]
gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in TestHelpers.obj [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Aurora\AuroraTests.vcxproj]
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Aurora\AuroraTests.vcxproj]
E:\dp\Sft\GDev\ADSK\Aurora\Build\bin\Debug\AuroraTests.exe : fatal error LNK1319: 2 mismatches detected [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Aurora\AuroraTests.vcxproj]
gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in TestHelpers.obj [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Foundation\FoundationTests.vcxproj]
gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in TestHelpers.obj [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Foundation\FoundationTests.vcxproj]
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Foundation\FoundationTests.vcxproj]
E:\dp\Sft\GDev\ADSK\Aurora\Build\bin\Debug\FoundationTests.exe : fatal error LNK1319: 2 mismatches detected [E:\dp\Sft\GDev\ADSK\Aurora\Build\Tests\Foundation\FoundationTests.vcxproj]
Plasma.vcxproj -> E:\dp\Sft\GDev\ADSK\Aurora\Build\bin\Debug\Plasma.exe
LINK : fatal error LNK1104: cannot open file 'tbb_debug.lib' [E:\dp\Sft\GDev\ADSK\Aurora\Build\Libraries\HdAurora\hdAurora.vcxproj]
I cannot find "_ITERATOR_DEBUG_LEVEL" in the VS solution.
Hi there,
after successfully installing Aurora, I tried running the Plasma program, which worked smoothly and was able to load OBJ files. Next, I wanted to test if usdview was functioning correctly. I tried rendering a USD file with the default renderer, and it worked fine. However, when I attempted to use Aurora as the renderer, the window crashed and displayed some error messages.
When I try to render Sphere.usda (USD/extras/usd/tutorials/convertingLayerFormats/Sphere.usda), the following error occurs:
PS D:\repos\USD\extras\usd\tutorials\convertingLayerFormats> usdview .\Sphere.usda --renderer=Aurora
Value [True, True, True, True, False] did not pass custom validation for state property 'primViewColumnVisibility'.
Using default value [True, True, True, False].
Warning: Unknown pick mode 'Select Prims', falling back to 'Prims'
When I try to render AutodeskTelescope.usda (from README), the following error occurs:
PS C:\Users\rzhao\Downloads\AutodeskTelescope> usdview .\AutodeskTelescope.usd --renderer=Aurora
Value [True, True, True, True, False] did not pass custom validation for state property 'primViewColumnVisibility'.
Using default value [True, True, True, False].
Warning: Unknown pick mode 'Select Prims', falling back to 'Prims'
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Tworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Tworld_index has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in RebuildAuroraInstances at line 201 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraMesh.cpp -- Normal array smaller than points array: /telescope05_10_21/telescope_ref/telescope_mount_electronics_box/telescope_orientation_adj_ref/telescope_upper_mount_ref/telescope_ra_ref/telescope_dec_ref/telescope_optical_tube_ref/telescope_tube_mount/telescope_back_body/telescope_back_trimount/telescope_optic_output/telescope_diagonal/diagonal_mirror/diagonal_mirror_Shape
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in RebuildAuroraInstances at line 201 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraMesh.cpp -- Normal array smaller than points array: /telescope05_10_21/telescope_ref/telescope_remote_mount/telescope_remote_body/telescope_remote_screen/telescope_remote_screen_Shape
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in UpdateAuroraMaterialPath at line 560 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraMesh.cpp -- No material HdAuroraMaterial//telescope05_10_21/Materials/base found in scene for mesh /telescope05_10_21/telescope_ref/telescope_remote_mount/telescope_remote_body/telescope_remote_keyboard/telescope_remote_keys_lights/telescope_remote_keys_lights_Shape
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray<GfVec2f>' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
My computer's configuration:
os: windows10
cpu: i9-10850k
gpu: 3060ti
python: 3.9.13
pyside6 version: 6.3.0
pyopengl version: 3.9.6
Hi.
I have a new issue. Deploying HdAurora using my own USD build 23.05.
When I select Aurora render mode here is the error message.
Here you can see screenshot
Error in 'pxrInternal_v0_23__pxrReserved__::PlugPlugin::Load' at line 261 in file E:\source_USD\pxr\base\plug\plugin.cpp : 'Failed to load plugin 'hdAurora': The specified procedure could not be found.
in 'e:/USD/plugin/usd/hdAurora.dll''
Error in 'pxrInternal_v0_23__pxrReserved_::UsdImagingGLEngine::SetRendererPlugin' at line 875 in file E:\source_USD\pxr\usdImaging\usdImagingGL\engine.cpp : 'Invalid plugin id or plugin is unsupported: HdAuroraRendererPlugin'
It can be difficult to build Aurora, because some steps of the build process can conflict with our own environment settings,...
For the moment I found few workarounds, but now I have this build issue when building external dependencies:
D:\AuroraExternals\boost\include\boost-1_78\boost/core/cmath.hpp(258,17): error C2039: '_copysign' n'est pas membre de 'std' [D:\AuroraExternals\build\USD-22.08-Aurora-v22.11\Release\pxr\usd\bin\sdfdump\sdfdump.vcxproj]
May you consider to put pre-compiled version in releases ?
https://graphics.pixar.com/usd/files/Siggraph2019_Hydra.pdf, page 12 says mulitple.
renderIndex.h says single HdRenderDelegate.
I'm trying to compile in windows 10 with visual studio 2019. I have installed the windows SDK 10.0.22621.0
but I get this error:
Severity Code Description Project File Line Suppression State
Error CMake Error at Libraries/Aurora/CMakeLists.txt:11 (message):
Windows SDK version is found but version 10.0.22000.0 or later is required.
Windows SDK version 10.0.22000.0 or later can be installed from https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/ Aurora C:\Users\LucasMorante\Desktop\_Repos\Aurora\Libraries/Aurora/CMakeLists.txt 11
It is weird that it does not show me any windows SDK version.
set(MINIMUM_WINDOWS_SDK_VERSION "10.0.22000.0")
if(WINDOWS_SDK_VERSION VERSION_LESS MINIMUM_WINDOWS_SDK_VERSION)
message(FATAL_ERROR
" Windows SDK version ${WINDOWS_SDK_VERSION} is found but version ${MINIMUM_WINDOWS_SDK_VERSION} or later is required.\n"
" Windows SDK version ${MINIMUM_WINDOWS_SDK_VERSION} or later can be installed from https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/"
)
This is the command I'm using.
python "%USERPROFILE%/Desktop/_Repos\Aurora\Scripts\installExternals.py" "%USERPROFILE%/Desktop/_Repos/Aurora_externals" --generator "Visual Studio 16 2019"
I might have something wrong in my VS configuration but I don't find what could it be. Any help is welcomed.
with v22.12 the command:
python Scripts/installExternals.py --build-variant=Debug ExternalDir
has lots of make fails ( with OIIO, USD )
I'm on Windows 10. Working from a clean repo.
on 22.11, I was able to make the Debug build easily.
It is mentioned that Autodesk fork of USD is used.
if deployHdAurora.py to an empty folder, there will be bin, lib, and plugin sub-folders, well, AuroraExternals\Release contains these sub-folders.
Hello there,
I am testing Aurora on Windows 11.
Aurora seems to shutdown after finishing a scene sampling.
Is it a normal behaviour ?
Thanks in davance for your answers :)
The materialX dlls are not being installed into the lib directory when running the deploy script for hdAurora. This results in the plugin not loading when starting from usdview.
OS : WSL2 ubuntu 20.04
Branch : main
After execute cmd : cmake --build Build
, it fail to build the project and show error below.
➜ Aurora git:(main) ✗ cmake --build Build
[ 1%] Building CXX object Libraries/Foundation/CMakeFiles/Foundation.dir/Source/Utilities.cpp.o
/home/kazenzhong/dev/Aurora/Libraries/Foundation/Source/Utilities.cpp:86:45: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]
86 | AU_FAIL("Failed to get module path.");
| ^
In file included from /home/kazenzhong/dev/Aurora/Libraries/Foundation/Source/Utilities.cpp:15:
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Utilities.h:120:2: error: extra ‘;’ [-Werror=pedantic]
120 | };
| ^
In file included from /home/kazenzhong/dev/Aurora/Libraries/Foundation/Source/Utilities.cpp:16:
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Log.h:308:6: error: extra ‘;’ [-Werror=pedantic]
308 | };
| ^
| -
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Log.h: In instantiation of ‘std::string Aurora::Foundation::Log::stringFormat(const string&, Args ...) [with Args = {}; std::string = std::__cxx11::basic_string<char>]’:
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Log.h:187:21: required from ‘bool Aurora::Foundation::Log::log(Aurora::Foundation::Log::Level, std::ostream&, const string&, int, const string&, Args ...) [with Args = {}; std::ostream = std::basic_ostream<char>; std::string = std::__cxx11::basic_string<char>]’
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Log.h:244:9: required from ‘static bool Aurora::Foundation::Log::fail(const string&, int, const string&, Args ...) [with Args = {}; std::string = std::__cxx11::basic_string<char>]’
/home/kazenzhong/dev/Aurora/Libraries/Foundation/Source/Utilities.cpp:86:9: required from here
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Log.h:277:46: error: format not a string literal and no format arguments [-Werror=format-security]
277 | int size = std::snprintf(nullptr, 0, formatStr, args...) + 2;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kazenzhong/dev/Aurora/Libraries/Foundation/API/Aurora/Foundation/Log.h:288:22: error: format not a string literal and no format arguments [-Werror=format-security]
288 | std::snprintf(buf.data(), size, formatStr, args...);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: error: unrecognized command line option ‘-Wno-gnu-zero-variadic-macro-arguments’ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [Libraries/Foundation/CMakeFiles/Foundation.dir/build.make:76: Libraries/Foundation/CMakeFiles/Foundation.dir/Source/Utilities.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:251: Libraries/Foundation/CMakeFiles/Foundation.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
It seems this error is related to compile flag in cmake file:
# add_compile_options(-Wall -Wextra -Wpedantic -Werror -Wno-unknown-pragmas -Wno-gnu-zero-variadic-macro-arguments)
add_compile_options(-Wall -Wextra -Wno-unknown-pragmas -Wno-gnu-zero-variadic-macro-arguments)
This will works after remove -Wpedantic -Werror
, however I suppose there may be a more decent way to deal with this issue.
If ENABLE_DENOISER is true in CMake generating the DirectX solution is not possible:
CMake Error at Libraries/Aurora/CMakeLists.txt:231 (add_library):
Cannot find source file:
Source/DirectX/Denoiser.cpp
This file is not in the repository.
Kind regards,
Patrik
First of all, thanks for upgrading Aurora and its USD version.
I've been trying to build Aurora all day, but I keep having A LOT of errors. I even tried to build it on an Ubuntu 20.04 Container using Distrobox, but I encounter the same errors as my host machine.
Would appreciate some help since I'm not that advanced in programming :)
Here's a diff of the patches I made:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1fb42a..040a2d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -94,7 +94,7 @@ if(MSVC)
set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1)
else()
# Enables strict standard conformance and warning as errors
- add_compile_options(-Wall -Wextra -Wpedantic -Werror -Wno-unknown-pragmas -Wno-gnu-zero-variadic-macro-arguments)
+ add_compile_options(-Wextra -Wno-unknown-pragmas -Wno-deprecated)
endif()
include(externalsConfig OPTIONAL RESULT_VARIABLE EXTERNALS_CONFIG)
diff --git a/Libraries/Aurora/Source/HGI/HGIMaterial.cpp b/Libraries/Aurora/Source/HGI/HGIMaterial.cpp
index 1e94684..6cca38d 100644
--- a/Libraries/Aurora/Source/HGI/HGIMaterial.cpp
+++ b/Libraries/Aurora/Source/HGI/HGIMaterial.cpp
@@ -40,7 +40,7 @@ void HGIMaterial::update()
{
// Build a structure from values map into staging buffer.
void* pStaging = _ubo->handle()->GetCPUStagingAddress();
- ::memcpy_s(pStaging, uniformBuffer().size(), uniformBuffer().data(), uniformBuffer().size());
+ std::memcpy(pStaging, uniformBuffer().data(), uniformBuffer().size());
// Transfer staging buffer to GPU.
pxr::HgiBlitCmdsUniquePtr blitCmds = _pRenderer->hgi()->CreateBlitCmds();
diff --git a/Libraries/Aurora/Source/MaterialShader.cpp b/Libraries/Aurora/Source/MaterialShader.cpp
index 188a06e..15dddca 100644
--- a/Libraries/Aurora/Source/MaterialShader.cpp
+++ b/Libraries/Aurora/Source/MaterialShader.cpp
@@ -21,7 +21,7 @@ MaterialShader::MaterialShader(MaterialShaderLibrary* pShaderLibrary, int librar
_def(def)
{
// Initialize ref. counts to zero.
- for (int i = 0; i < entryPoints.size(); i++)
+ for (size_t i = 0; i < entryPoints.size(); i++)
{
_entryPointNameLookup[entryPoints[i]] = i;
_entryPoints.push_back({ entryPoints[i], 0 });
@@ -251,7 +251,7 @@ bool MaterialShaderLibrary::update(CompileShader compileFunction, DestroyShader
void MaterialShaderLibrary::forceRebuildAll()
{
// Add all active shaders to compilation pending list.
- for (int i = 0; i < _shaderState.size(); i++)
+ for (size_t i = 0; i < _shaderState.size(); i++)
{
MaterialShaderPtr pShader = _shaderState[i].first.lock();
if (pShader)
diff --git a/Libraries/Aurora/Source/MaterialShader.h b/Libraries/Aurora/Source/MaterialShader.h
index 5137bb4..f646e5b 100644
--- a/Libraries/Aurora/Source/MaterialShader.h
+++ b/Libraries/Aurora/Source/MaterialShader.h
@@ -16,6 +16,7 @@
#include "Aurora/Foundation/Log.h"
#include "Properties.h"
#include "UniformBuffer.h"
+#include <list>
BEGIN_AURORA
diff --git a/Libraries/Foundation/API/Aurora/Foundation/Utilities.h b/Libraries/Foundation/API/Aurora/Foundation/Utilities.h
index d446f6a..8c28827 100644
--- a/Libraries/Foundation/API/Aurora/Foundation/Utilities.h
+++ b/Libraries/Foundation/API/Aurora/Foundation/Utilities.h
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <string>
#include <vector>
+#include <cstdint>
namespace Aurora
{
It seems to be an issue in MainEntryPoints.slang, also it doesn't automatically set the Slang Compiler, so I have to specify it using Slang_COMPILER
[ 4%] Minifying path tracing shaders to /home/adro/Applications/Aurora/SourceFedora/Build/Libraries/Aurora/CompiledShaders/CommonShaders.h
Compiling main entry point /home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/Shaders/MainEntryPoints.slang with Slang compiler /home/adro/Applications/Aurora/Externals/Slang/bin/linux-x64/release/slangd to DXIL in header /home/adro/Applications/Aurora/SourceFedora/Build/Libraries/Aurora/CompiledShaders/MainEntryPoints.h
A workaround (?) is to manually execute the python command: python Scripts/minifyShadersFolder.py Libraries/Aurora/Source/Shaders Build/Libraries/Aurora/CompiledShaders/CommonShaders.h
[ 4%] Building CXX object Libraries/Aurora/CMakeFiles/Aurora.dir/Source/HGI/HGIRenderer.cpp.o
In file included from /home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIMaterial.h:17,
from /home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIRenderer.cpp:21:
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/MaterialBase.h: In constructor ‘Aurora::TextureProperties::TextureProperties(const std::vector<Aurora::TextureIdentifier>&)’:
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/MaterialBase.h:34:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Aurora::TextureIdentifier>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
34 | for (int i = 0; i < names.size(); i++)
| ~~^~~~~~~~~~~~~~
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIRenderer.cpp: In constructor ‘Aurora::HGIRenderer::HGIRenderer(uint32_t)’:
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIRenderer.cpp:47:35: error: ‘g_sInitializeDefaultMaterialType’ is not a member of ‘CommonShaders’
47 | "Default", CommonShaders::g_sInitializeDefaultMaterialType);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIRenderer.cpp: In member function ‘virtual void Aurora::HGIRenderer::render(uint32_t, uint32_t)’:
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIRenderer.cpp:436:71: error: no matching function for call to ‘pxrInternal_v0_24__pxrReserved__::Hgi::CreateComputeCmds()’
436 | HgiComputeCmdsUniquePtr computeCmds = hgi()->CreateComputeCmds();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/pch.h:126,
from /home/adro/Applications/Aurora/SourceFedora/Build/Libraries/Aurora/CMakeFiles/Aurora.dir/cmake_pch.hxx:5,
from <command-line>:
/home/adro/Applications/Aurora/ExternalsFedora/USD/include/pxr/imaging/hgi/hgi.h:191:37: note: candidate: ‘virtual pxrInternal_v0_24__pxrReserved__::HgiComputeCmdsUniquePtr pxrInternal_v0_24__pxrReserved__::Hgi::CreateComputeCmds(const pxrInternal_v0_24__pxrReserved__::HgiComputeCmdsDesc&)’
191 | virtual HgiComputeCmdsUniquePtr CreateComputeCmds(
| ^~~~~~~~~~~~~~~~~
/home/adro/Applications/Aurora/ExternalsFedora/USD/include/pxr/imaging/hgi/hgi.h:191:37: note: candidate expects 1 argument, 0 provided
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIRenderer.cpp:449:86: error: no matching function for call to ‘pxrInternal_v0_24__pxrReserved__::Hgi::CreateComputeCmds()’
449 | HgiComputeCmdsUniquePtr postProcessComputeCmds = hgi()->CreateComputeCmds();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/adro/Applications/Aurora/ExternalsFedora/USD/include/pxr/imaging/hgi/hgi.h:191:37: note: candidate: ‘virtual pxrInternal_v0_24__pxrReserved__::HgiComputeCmdsUniquePtr pxrInternal_v0_24__pxrReserved__::Hgi::CreateComputeCmds(const pxrInternal_v0_24__pxrReserved__::HgiComputeCmdsDesc&)’
191 | virtual HgiComputeCmdsUniquePtr CreateComputeCmds(
| ^~~~~~~~~~~~~~~~~
/home/adro/Applications/Aurora/ExternalsFedora/USD/include/pxr/imaging/hgi/hgi.h:191:37: note: candidate expects 1 argument, 0 provided
[ 22%] Building CXX object Tests/AuroraInternals/CMakeFiles/AuroraInternalsTests.dir/__/__/Libraries/Aurora/Source/MaterialShader.cpp.o
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp: In member function ‘void Aurora::HGIScene::rebuildInstanceList()’:
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:131:19: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘hasValue’; did you mean ‘clearValue’?
131 | if (pMtl->hasValue("base_color_image"))
| ^~~~~~~~
| clearValue
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:133:68: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘asImage’
133 | pBaseColorImage = dynamic_pointer_cast<HGIImage>(pMtl->asImage("base_color_image"));
| ^~~~~~~
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:145:19: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘hasValue’; did you mean ‘clearValue’?
145 | if (pMtl->hasValue("specular_roughness_image"))
| ^~~~~~~~
| clearValue
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:148:54: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘asImage’
148 | dynamic_pointer_cast<HGIImage>(pMtl->asImage("specular_roughness_image"));
| ^~~~~~~
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:160:19: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘hasValue’; did you mean ‘clearValue’?
160 | if (pMtl->hasValue("opacity_image"))
| ^~~~~~~~
| clearValue
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:162:66: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘asImage’
162 | pOpacityImage = dynamic_pointer_cast<HGIImage>(pMtl->asImage("opacity_image"));
| ^~~~~~~
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:174:19: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘hasValue’; did you mean ‘clearValue’?
174 | if (pMtl->hasValue("normal_image"))
| ^~~~~~~~
| clearValue
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:176:65: error: ‘using std::__shared_ptr_access<Aurora::HGIMaterial, __gnu_cxx::_S_atomic, false, false>::element_type = class Aurora::HGIMaterial’ {aka ‘class Aurora::HGIMaterial’} has no member named ‘asImage’
176 | pNormalImage = dynamic_pointer_cast<HGIImage>(pMtl->asImage("normal_image"));
| ^~~~~~~
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp: In member function ‘void Aurora::HGIScene::createResources()’:
/home/adro/Applications/Aurora/SourceFedora/Libraries/Aurora/Source/HGI/HGIScene.cpp:490:52: error: ‘g_sInitializeDefaultMaterialType’ is not a member of ‘CommonShaders’
490 | "InitializeMaterial.slang", CommonShaders::g_sInitializeDefaultMaterialType);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks a lot in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.