Git Product home page Git Product logo

openmoonray's People

Contributors

mday-dwa avatar rgwilson68 avatar rwoods-dwa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openmoonray's Issues

Provide build instructions for non-CentOS linux distros

Linux instructions are only for CentOS (7?). This OS will not be supported soon, and most people are migrating to other CentOS-like systems. Therefore, installation instructions need to be edited to include other linux releases that people are using - preferably ubuntu and rocky linux .

This is an extension of my previous issue (#99). The installation instructions need editing, since the current linux assumptions are likely not compatible with most user's environments.
Examples of other related issues: #51 , #101, #56

Request for -version option (or similar) to moonray

(Let me know if I just need to RTFM)
I'm running some comparisons between apptainer and docker and local builds.
Currently I presume that they are all from the same git commit, but as we move forward, that may not be the case.
Perhaps it is in a utility, but it would be useful to have "moonray -version" spit out a release version, or perhaps (additionally) the git commit id.
It would be useful to add a line to the stats file as well.
Extra credit if a list of versions of dependencies was kept in a file in the build. (perhaps /installs/openmoonray/etc/versions)

Problem cloning the repository on windows

Not sure if this might be caused because I'm trying to clone to a windows machine and not linux. But I'm getting the following error:

error: invalid path 'houdini/otls/Vop::DW_MOONRAY::AttributeMap::1.hda'
fatal: Unable to checkout 'ce861215cf2c4fec77c8decdabd96755917ae742' in submodule path 'moonray/moonray_dcc_plugins'

Issues building on Manjaro Linux

I get this when trying to build it in a docker container:

 ~/openmoonray    release  docker build -t openmoonray_base . --file Dockerfile  ✔
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/susiterry/openmoonray/Dockerfile: no such file or directory
   ~/openmoonray    release 

How to enable Hydra delegate?

Doing good over here, managed to compile MoonRay on a CentOS 7 VM, copied the build over to my main RHEL 8 VM and everything is actually working! (After messing with some libraries.)

Over in Houdini I've got all the MoonRay nodes and parameters showing up in Solaris, but I can't figure out how to enable the Hydra delegate. I tried a bunch of things in houdini.env, but no go. Any tips?

yay
progress

Issue compiling on Rocky 8.7 with Ansible

Hey guys, I ran into an issue trying to get this to compile on Rocky 8. I'm working through the CentOS7 install instructions and building an updated version for Rocky 8 and 9. I was wondering if you have run into this issue? Any idea what may be causing this?

This is the error that it drops when I try to work through Step 3: build remaining dependencies.

...found 43654 targets...
[ 9%] No install step for 'Boost'
[ 10%] Completed 'Boost'
[ 11%] Built target Boost
[ 11%] Performing update step for 'JsonCpp'
[ 12%] No patch step for 'JsonCpp'
[ 13%] Performing configure step for 'JsonCpp'
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- JsonCpp Version: 0.7.0
-- Found PythonInterp: /usr/bin/python (found suitable version "3.6.8", minimum required is "2.6")
-- Configuring done
-- Generating done
-- Build files have been written to: /build/JsonCpp-prefix/src/JsonCpp-build
[ 14%] Performing build step for 'JsonCpp'
Consolidate compiler generated dependencies of target jsoncpp_lib
[ 44%] Built target jsoncpp_lib
Consolidate compiler generated dependencies of target jsontestrunner_exe
Consolidate compiler generated dependencies of target jsoncpp_test
[ 66%] Built target jsontestrunner_exe
[100%] Built target jsoncpp_test
File "/build/JsonCpp-prefix/src/JsonCpp/src/jsontestrunner/../../test/runjsontests.py", line 37
except IOError, e:

^
SyntaxError: invalid syntax
gmake[5]: *** [src/jsontestrunner/CMakeFiles/jsoncpp_readerwriter_tests.dir/build.make:71: src/jsontestrunner/CMakeFiles/jsoncpp_readerwriter_tests] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:223: src/jsontestrunner/CMakeFiles/jsoncpp_readerwriter_tests.dir/all] Error 2
gmake[3]: *** [Makefile:146: all] Error 2
gmake[2]: *** [CMakeFiles/JsonCpp.dir/build.make:89: JsonCpp-prefix/src/JsonCpp-stamp/JsonCpp-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:169: CMakeFiles/JsonCpp.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

Crash with example scene glass-of-water when increasing max_depth and max_mirror_depth

First, a big thank you for the awesome project!

I've successfully built openmoonray with docker (Host: windows 10 + hyper-V) and rendered all 10 example scenes. However, I noticed that the rendering of glass-of-water is darker than from both the original collection (by Tsungsten) and the render by pbrt.

I think the main reason is that the max depth is only 8 instead of 33 in the pbrt scene. However, after I changed both max_depth and max_mirror_depth to 32 (I kept max_glossy_depth to 8), It crashed some time even I only render a very small (1/8 resolution) picture.

Rendering with high max_mirror_depth is critical for us because we have some scenes with a lot of hanging glasses in the kitchen. In some cases some camera rays can indeed do 30+ specular transmissions (validated with other renderers by tuning max depth)

PS: I somewhat failed to built XPU support (still need to investigate), so the renderer uses vectorized mode as seen in the log below.

[root@docker-desktop glass-of-water]# moonray -in scene.rdla -in scene.rdlb -out /tmp/glass-of-water.exr -res 8.0 -debug
Setting mPerThreadRayStatePoolSize to 65536
Setting mPrimaryRayQueueSize to 512
Setting mIncoherentRayQueueSize to 1024
Setting mOcclusionQueueSize to 1024
Setting mShadeQueueSize to 128
Setting mRadianceQueueSize to 512
Setting mShadingWorkloadChunkSize to 32
Setting mPresenceShadowsQueueSize to 1024
Time      Memory
00:00:00  479.2 MB | ---------- Hardware Configuration ------------------------
00:00:00  479.2 MB | Host name                        = docker-desktop
00:00:00  479.2 MB | Number of machines               = 1
00:00:00  479.2 MB | Cluster machine id               = 0
00:00:00  479.2 MB | Thread(s)                        = 28
00:00:00  479.2 MB | ---------- Initialization & Configuration ----------------
00:00:00  479.2 MB | Using OpenImageIO Texture System
00:00:00  479.2 MB | Loading Scene File: scene.rdla
00:00:00  479.2 MB | Loading DwaRefractiveMaterial("/scene/materials/WaterAir/0x214aec0")
00:00:00  479.2 MB | Loading DwaRefractiveMaterial("/scene/materials/IceAir/0x2151d80")
00:00:00  479.2 MB | Loading DwaRefractiveMaterial("/scene/materials/AirIce/0x214a2f0")
00:00:00  479.2 MB | Loading DwaMetalMaterial("/scene/materials/Backdrop/0x21a2490")
00:00:00  479.2 MB | Loading DwaMetalMaterial("/scene/materials/Floor/0x21a2870")
00:00:00  479.2 MB | Loading DwaRefractiveMaterial("/scene/materials/Glass/0x21a25f0")
00:00:00  479.2 MB | Loading Scene File: scene.rdlb
00:00:00  479.2 MB | Overriding 'output file' value with '/tmp/glass-of-water.exr'.
00:00:00  479.2 MB | Overriding 'debug' value with 'true'.
00:00:00  479.2 MB | Overriding 'res' value with '8.0'.
00:00:00  479.2 MB | Read disk I/O = 30.4 MB

00:00:00  479.2 MB | ---------- Hardware Support ------------------------------
00:00:00  479.2 MB | CPU vendor tag                   = AuthenticAMD
00:00:00  479.2 MB | Atomic   8 bit support           = 1
00:00:00  479.2 MB | Atomic  16 bit support           = 1
00:00:00  479.2 MB | Atomic  32 bit support           = 1
00:00:00  479.2 MB | Atomic  64 bit support           = 1
00:00:00  479.2 MB | Atomic 128 bit support           = 1
00:00:00  479.2 MB | SSE support                      = 1
00:00:00  479.2 MB | SSE2 support                     = 1
00:00:00  479.2 MB | SSE3 support                     = 1
00:00:00  479.2 MB | SSE4.1 support                   = 1
00:00:00  479.2 MB | SSE4.2 support                   = 1
00:00:00  479.2 MB | AVX support                      = 1
00:00:00  479.2 MB | AVX2 support                     = 1
00:00:00  479.2 MB | AVX512 support                   = 0
00:00:00  479.2 MB | ---------- Rendering Options -----------------------------
00:00:00  479.2 MB | Command line                     = moonray -in scene.rdla -in scene.rdlb -out /tmp/glass-of-water.exr -res 8.0 -debug
00:00:00  479.2 MB | Executable path                  = /installs/openmoonray/bin/moonray
00:00:00  479.2 MB | Moonray version                  = unknown
00:00:00  479.2 MB | DSO path override                =
00:00:00  479.2 MB | Desired vectorization mode       = AUTO
00:00:00  479.2 MB | SIMD build support               = avx2
00:00:00  479.2 MB | Athena Tags                      =
00:00:00  479.2 MB | Scene file                       = /scenes/glass-of-water/scene.rdla
00:00:00  479.2 MB | Scene file                       = /scenes/glass-of-water/scene.rdlb
00:00:00  479.2 MB | ---------- Scene Variables -------------------------------
00:00:00  479.2 MB | Width                            = 1280
00:00:00  479.2 MB | Height                           = 720
00:00:00  479.2 MB | Resolution                       = 8.00
00:00:00  479.2 MB | Final width                      = 160
00:00:00  479.2 MB | Final height                     = 90
00:00:00  479.2 MB | Final aperture window min x      = 0
00:00:00  479.2 MB | Final aperture window min y      = 0
00:00:00  479.2 MB | Final aperture window max x      = 160
00:00:00  479.2 MB | Final aperture window max y      = 90
00:00:00  479.2 MB | Final region window min x        = 0
00:00:00  479.2 MB | Final region window min y        = 0
00:00:00  479.2 MB | Final region window max x        = 160
00:00:00  479.2 MB | Final region window max y        = 90
00:00:00  479.2 MB | Pixel filter type                = cubicBSpline
00:00:00  479.2 MB | Pixel filter width               = 3
00:00:00  479.2 MB | Texture blur                     = 0
00:00:00  479.2 MB | Output file                      = /tmp/glass-of-water.exr
00:00:00  479.2 MB | Stats file                       =
00:00:00  479.2 MB | DSO path                         = .:/installs/openmoonray/scripts/../rdl2dso:/installs/openmoonray/scripts/../rdl2dso.proxy
00:00:00  479.2 MB | Camera                           = /scene/cameras/PerspectiveCamera_1
00:00:00  479.2 MB | Layer                            = /scene/layers/Layer1
00:00:00  479.2 MB | Debug ray file                   =
00:00:00  479.2 MB | texture_cache_size               = 4000
00:00:00  479.2 MB | Progressive                      = 0
00:00:00  479.2 MB | ---------- Sampling Settings -----------------------------
00:00:00  479.2 MB | Sampling mode                    = 2
00:00:00  479.2 MB | Min adaptive samples             = 16
00:00:00  479.2 MB | Max adaptive samples             = 1024
00:00:00  479.2 MB | Target adaptive error            = 10.00000
00:00:00  479.2 MB | Pixel samples sqrt               = 8
00:00:00  479.2 MB | Light samples sqrt               = 2
00:00:00  479.2 MB | Bsdf samples sqrt                = 2
00:00:00  479.2 MB | Bsdf sampler strategy            = 0
00:00:00  479.2 MB | Bssrdf samples sqrt              = 2
00:00:00  479.2 MB | Max depth                        = 32
00:00:00  479.2 MB | Max diffuse depth                = 2
00:00:00  479.2 MB | Max glossy depth                 = 8
00:00:00  479.2 MB | Max mirror depth                 = 32
00:00:00  479.2 MB | Max hair depth                   = 5
00:00:00  479.2 MB | Max volume depth                 = 1
00:00:00  479.2 MB | Max presence depth               = 16
00:00:00  479.2 MB | Presence threshold               = 0.99900
00:00:00  479.2 MB | Transparency threshold           = 1.00000
00:00:00  479.2 MB | Max subsurface per path          = 1
00:00:00  479.2 MB | Russian roulette threshold       = 0.03750
00:00:00  479.2 MB | Sample clamping value            = 10.00000
00:00:00  479.2 MB | Sample clamping depth            = 1
00:00:00  479.2 MB | Roughness clamping factor        = 0.00000
00:00:00  479.2 MB | Volume quality                   = 0.50000
00:00:00  479.2 MB | Volume illumination samples      = 4
00:00:00  479.2 MB | Volume opacity threshold         = 0.99500
00:00:00  479.2 MB | ---------- Exec Mode Configuration -----------------------
00:00:00  479.2 MB | Vectorized rendering             = 1
00:00:00  479.2 MB | XPU rendering                    = 0
Executing a vectorized render since execution mode was set to auto.

00:00:00  479.2 MB | ---------- Render Prep -----------------------------------
Updating 7 leaf scene objects...
DEBUG (lib.render): DwaRefractiveMaterial("/scene/materials/WaterAir/0x214aec0"): Updating
DEBUG (lib.render): DwaRefractiveMaterial("/scene/materials/IceAir/0x2151d80"): Updating
DEBUG (lib.render): DwaRefractiveMaterial("/scene/materials/AirIce/0x214a2f0"): Updating
DEBUG (lib.render): DwaMetalMaterial("/scene/materials/Backdrop/0x21a2490"): Updating
DEBUG (lib.render): DwaRefractiveMaterial("/scene/materials/Glass/0x21a25f0"): Updating
DEBUG (lib.render): PerspectiveCamera("/scene/cameras/PerspectiveCamera_1"): Updating
DEBUG (lib.render): DwaMetalMaterial("/scene/materials/Floor/0x21a2870"): Updating
Updating 7 scene objects at level 3...
DEBUG (lib.render): RdlMeshGeometry("/scene/objects/<root>_mesh_5_1"): Updating
DEBUG (lib.render): RdlMeshGeometry("/scene/objects/<root>_mesh_4_1"): Updating
DEBUG (lib.render): RdlMeshGeometry("/scene/objects/<root>_mesh_2_1"): Updating
DEBUG (lib.render): RdlMeshGeometry("/scene/objects/<root>_mesh_0_1"): Updating
DEBUG (lib.render): RdlMeshGeometry("/scene/objects/<root>_mesh_1_1"): Updating
DEBUG (lib.render): RectLight("/scene/arealights/<root>_1"): Updating
DEBUG (lib.render): RdlMeshGeometry("/scene/objects/<root>_mesh_3_1"): Updating
Updating 2 scene objects at level 2...
DEBUG (lib.render): RdlInstancerGeometry("/scene/objects/<root>"): Updating
DEBUG (lib.render): LightSet("/scene/lightsets/LightSet1"): Updating
Updating 1 scene object at level 1...
DEBUG (lib.render): Layer("/scene/layers/Layer1"): Updating
Updating 2 scene objects at level 0...
DEBUG (lib.render): SceneVariables("__SceneVariables__"): Updating
DEBUG (lib.render): GeometrySet("/scene/geometrysets/GeometrySet1"): Updating

00:00:00  479.2 MB | ---------- Generating Procedurals ------------------------
00:00:00  479.2 MB | Generating RdlMeshGeometry("/scene/objects/<root>_mesh_1_1")
00:00:00  479.2 MB | Generating RdlMeshGeometry("/scene/objects/<root>_mesh_3_1")
00:00:00  479.2 MB | Generating RdlMeshGeometry("/scene/objects/<root>_mesh_2_1")
00:00:00  479.2 MB | Generating RdlMeshGeometry("/scene/objects/<root>_mesh_4_1")
00:00:00  479.2 MB | Generating RdlMeshGeometry("/scene/objects/<root>_mesh_0_1")
00:00:00  479.2 MB | Generating RdlMeshGeometry("/scene/objects/<root>_mesh_5_1")
00:00:00  534.8 MB | Generating RdlInstancerGeometry("/scene/objects/<root>")
00:00:00  513.4 MB | ---------- Tessellating Geometry -------------------------
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 0       : START tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 1       : START tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 4       : START tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 2       : START tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 3       : START tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 5       : START tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 4       : FINISHED tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  513.4 MB | Thread 3       : FINISHED tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  525.2 MB | Thread 2       : FINISHED tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  525.2 MB | Thread 1       : FINISHED tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  552.3 MB | Thread 5       : FINISHED tessellating /scene/objects/<root> generated_mesh
DEBUG (lib.render): 00:00:00  552.3 MB | Thread 0       : FINISHED tessellating /scene/objects/<root> generated_mesh
00:00:00  546.6 MB | Tessellation finished.
00:00:00  546.6 MB | ---------- Building BVH ----------------------------------
00:00:00  574.2 MB | BVH build finished.
00:00:00  574.2 MB | lower: -18.520609 -18.665905 -43.116508
00:00:00  574.2 MB | upper: 18.540924 11.660841 -14.778393
00:00:00  574.2 MB | ---------- Tessellating Geometry -------------------------
00:00:00  574.2 MB | Tessellation finished.
00:00:00  574.2 MB | ---------- Tessellation time -----------------------------
00:00:00  574.2 MB | Rdl Geometry          part name      time
00:00:00  574.2 MB | --------------------- -------------- ------------
00:00:00  574.2 MB | /scene/objects/<root> generated_mesh 00:00:00.021
00:00:00  574.2 MB | /scene/objects/<root> generated_mesh 00:00:00.015
00:00:00  574.2 MB | /scene/objects/<root> generated_mesh 00:00:00.004
00:00:00  574.2 MB | /scene/objects/<root> generated_mesh 00:00:00.004
00:00:00  574.2 MB | /scene/objects/<root> generated_mesh 00:00:00.000
00:00:00  574.2 MB | /scene/objects/<root> generated_mesh 00:00:00.000
00:00:00  574.2 MB | ---------- Geometry Memory Usage -------------------------
00:00:00  574.2 MB | MB         Geometry Name
00:00:00  574.2 MB | ---------- ------------------------------
00:00:00  574.2 MB | 36.18      /scene/objects/<root>
00:00:00  574.2 MB | 0.00       /scene/objects/<root>_mesh_0_1
00:00:00  574.2 MB | 0.00       /scene/objects/<root>_mesh_1_1
00:00:00  574.2 MB | 0.00       /scene/objects/<root>_mesh_2_1
00:00:00  574.2 MB | 0.00       /scene/objects/<root>_mesh_3_1
00:00:00  574.2 MB | 0.00       /scene/objects/<root>_mesh_4_1
00:00:00  574.2 MB | 0.00       /scene/objects/<root>_mesh_5_1
00:00:00  574.2 MB | ---------- Memory Summary --------------------------------
00:00:00  574.2 MB | Geometry memory                  = 36.18 MB
00:00:00  574.2 MB | BVH memory                       = 26.61 MB
00:00:00  574.2 MB | Total memory                     = 62.79 MB

00:00:00  574.2 MB | ---------- Render Prep Stats ---- (hh:mm:ss.ms) ----------
00:00:00  574.2 MB | Loading scene                    = 00:00:00.160
00:00:00  574.2 MB | Initialize renderer              = 00:00:00.002
00:00:00  574.2 MB | Generating procedurals           = 00:00:00.026
00:00:00  574.2 MB | Tessellation                     = 00:00:00.043
00:00:00  574.2 MB | Building BVH                     = 00:00:00.077
00:00:00  574.2 MB | Building GPU BVH                 = 00:00:00.000
00:00:00  574.2 MB | -----------------------------------------------
00:00:00  574.2 MB | Total render prep                = 00:00:00.305
00:00:00  574.2 MB | Render prep read disk I/O        = 30.365 MB

00:00:00  574.2 MB | ---------- Dso Usage ----------
00:00:00  574.2 MB | RdlInstancerGeometry          1
00:00:00  574.2 MB | RdlMeshGeometry               6
00:00:00  574.2 MB | RectLight                     1


00:00:00  574.2 MB | ---------- MCRT Rendering --------------------------------
no-extra-snapshot
DEBUG (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.                                                                                      ]   0.0%
Warning (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
DEBUG (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
Warning (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
DEBUG (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
Warning (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
DEBUG (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
Warning (lib.render): Call to Material::deferEntriesForLaterProcessing encountered (accumulator stack = 1006, handler stack = 335.
DEBUG (lib.render): Multiple calls to Material::deferEntriesForLaterProcessing encountered, no more will be reported this frame.
Warning (lib.render): Multiple calls to Material::deferEntriesForLaterProcessing encountered, no more will be reported this frame.
DEBUG (lib.render): Block size too small to satisfy allocation in arena allocator, 34656256 wanted (64 byte aligned), 33554432 block size.                                                                            ]   0.0%

Warning (lib.render): Block size too small to satisfy allocation in arena allocator, 34656256 wanted (64 byte aligned), 33554432 block size.

Error: Block size too small to satisfy allocation in arena allocator, 34656256 wanted (64 byte aligned), 33554432 block size.


SIGSEGV(segfault) callstack
librendering_mcrt_common.so(_ZN7moonray11mcrt_common19debugPrintCallstackEPKc+0x74) [0x7f9ac8f988e4]
 libapplication.so(_ZN7moonray17stackTraceHandlerEi+0xa4) [0x7f9ac9147a64]
  libc.so.6(+0x36400) [0x7f9ab717c400]
   librendering_geom.so(_ZN7moonray4geom22initIntersectionPhase1ERNS_7shading12IntersectionEPNS_11mcrt_common16ThreadLocalStateERKNS4_3RayEPKN10scene_rdl24rdl25LayerE+0xb0) [0x7f9abc8aa210]
    librendering_geom.so(_ZN7moonray4geom20initIntersectionFullERNS_7shading12IntersectionEPNS_11mcrt_common16ThreadLocalStateERKNS4_3RayEPKN10scene_rdl24rdl25LayerEiiibRKNSA_4math4Vec2IfEERKNSF_4Vec3IfEE+0x3d) [0x7f9abc8aad5d]
     librendering_pbr.so(_ZN7moonray3pbr18shadeBundleHandlerEPNS_11mcrt_common16ThreadLocalStateEjPNS_7shading14SortedRayStateEPv+0x415) [0x7f9abcef4d25]
      librendering_pbr.so(_ZN7moonray3pbr16rayBundleHandlerEPNS_11mcrt_common16ThreadLocalStateEjPNS0_15WrappedRayStateEPv+0x102b) [0x7f9abcef257b]
       librendering_pbr.so(_ZN7moonray3pbr18IncoherentRayQueue10addEntriesEPNS_11mcrt_common16ThreadLocalStateEjPPNS0_8RayStateEPN10scene_rdl25alloc5ArenaE+0x1d9) [0x7f9abced2909]
        librendering_pbr.so(CPP_addIncoherentRayQueueEntries+0xcc) [0x7f9abcf2544c]

Aborted

Will Dreamworks be migrating to RHEL?

Recently, I came across a couple of significant developments that I believe might affect the future of Moonray and its underlying infrastructure.

Firstly, CentOS 7, the operating system reportedly used by Dreamworks, is nearing its end of life on June 30th, 2024. Considering the importance of a stable and supported operating system, I'm curious to know if Dreamworks has any plans for migrating Moonray to a different operating system in light of this upcoming deadline.

Additionally, I discovered that Red Hat has implemented a new policy forbidding the use of RHEL accounts to access SRPM files for creating unauthorized RHEL clones. As Moonray is an open-source project, it would be valuable to understand how this policy change affects Dreamworks' workflows, particularly in terms of accessing and utilizing RHEL-related resources.

Given these recent developments, I would like to inquire about Dreamworks' perspective on the matter. Are there any plans or discussions within the team regarding a potential migration to RHEL or exploration of alternative operating systems for Moonray? How will these changes impact the long-term roadmap for Moonray's development and maintenance?

Invalid path in submodule ...

Submodule path 'moonray/mcrt_denoise': checked out '710ca0bf75552b2f81e4a79f5ab614173a4c468c'
Submodule path 'moonray/moonray': checked out 'ba155b14779586254212c6973421ac2e7fcb47e9'
Submodule path 'moonray/moonray_arras/mcrt_computation': checked out '2e778a66ae685c7df11d61278f6f159cb9efab65'
Submodule path 'moonray/moonray_arras/mcrt_dataio': checked out '6c84f98dc6341d6d414228bc573c8d2b5d745240'
Submodule path 'moonray/moonray_arras/mcrt_messages': checked out '3e050e36e3db25433d27d7da75e34c5715e302d6'
error: invalid path 'houdini/otls/Vop::DW_MOONRAY::AttributeMap::1.hda'
Submodule path 'moonray/moonray_gui': checked out '606b411880cecab5a38392ee46a2edad7e652a7f'
Submodule path 'moonray/moonshine': checked out 'faa2940107c04676d4dd2537a8c60b62a2ec504b'
Submodule path 'moonray/moonshine_usd': checked out 'efe09ee4b75d678005061d121cf832fc3f2d9a9a'
Submodule path 'moonray/render_profile_viewer': checked out '44bb5d66aa5295cc1176823d04a12cc4cd009e76'
Submodule path 'moonray/scene_rdl2': checked out 'fb0c969026b1e5a3c16cc75ee3ec9ff7df85ad98'
Unable to checkout 'ce861215cf2c4fec77c8decdabd96755917ae742' in submodule path 'moonray/moonray_dcc_plugins'

Compile on Ubuntu (successfully)

  1. Install all required Ubuntu packages
  2. Compile & install all packages not in Ubuntu or Debian
  3. Configure with
    CC=clang CXX=clang++ CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/cmake/OpenImageIO:/opt:/path/to/NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64 cmake ..
  4. Apply the patch
    ubuntu.diff.txt
  5. Compile with make; make install
  6. Run with LD_LIBRARY_PATH=/path/to/openmoonray/release/lib ./bin/moonray -dso_path rdl2dso -in ../testdata/rectangle.rdla -out bla.exr

Distribute as Flatpak (Flathub)

Now that MoonRay is open source, and builds for Linux, it might be beneficial to package it for the Flatpak format on Flathub to ease the work needed to support Linux.

There are a number of processes to go through to make it work properly, which I'd love to help a bit on (for example, use portals where possible).

Ideally, a Flatpak would be officially supported and maintained by MoonRay devs, as well as the main distribution format.

I'd love to hear some thoughts on this, and look some more into what would be needed for this, or some alternatives (like packaging for Nix).

arras_render local-mode failed to connect

I tried arras_render local-mode described here but it failed to connect

  • What version should I use for REZ2_DEFAULT_VERSION?
  • It looks like execution of mcrt-rez_config due to "No such file", How to fix this issue?

The following is my execution log:

First attempt

Apptainer> source /installs/openmoonray/scripts/setup.sh 
Apptainer> cd pbrt_scenes/staircase2/
Apptainer> export PATH=/installs/openmoonray/bin:$PATH
Apptainer> export RDL2_DSO_PATH=/installs/openmoonray/rdl2dso.proxy
Apptainer> export ARRAS_SESSION_PATH=/installs/openmoonray/sessions
Apptainer> arras_render --rdl scene.rdla --dc local
>> ClientReceiverFb.cc infoRec interval:0sec display:10sec file:./run_
2023-03-25T08:30:47.342405 W client[14752]:22852542660608: [1489b9ad-4cfd-4d83-8567-4bc2b6a6baa1]: {warnBadConfigVal} In config for mcrt: item environment should be an object
2023-03-25T08:30:47.342485 W client[14752]:22852542660608: [1489b9ad-4cfd-4d83-8567-4bc2b6a6baa1]: {warnBadConfigVal} In config for mcrt: item environment should be an object
2023-03-25T08:30:47.342524 E client[14752]:22852542660608: [1489b9ad-4cfd-4d83-8567-4bc2b6a6baa1]: {RezSetupFail} [ rez2] Failed to setup rez environment for mcrt : Environment variable REZ2_DEFAULT_VERSION is not set
2023-03-25T08:30:47.342586 E client[14752]:22852542660608: Unable to connect to Arras: Failed to create local session :Environment variable REZ2_DEFAULT_VERSION is not set
Failed to connect!

Second attempt with setting made up (random) number to REZ2_DEFAULT_VERSION

Apptainer> export REZ2_DEFAULT_VERSION=1.0.7 # <--not sure what version I should use here
Apptainer> arras_render --rdl scene.rdla --dc local
>> ClientReceiverFb.cc infoRec interval:0sec display:10sec file:./run_
2023-03-25T08:31:03.198361 W client[14785]:22947941339136: [7ccc4031-ba1a-4e1a-a83d-caa7c85936ac]: {warnBadConfigVal} In config for mcrt: item environment should be an object
2023-03-25T08:31:03.198437 W client[14785]:22947941339136: [7ccc4031-ba1a-4e1a-a83d-caa7c85936ac]: {warnBadConfigVal} In config for mcrt: item environment should be an object
2023-03-25T08:31:03.298602 E client[14785]:22947941339136: [7ccc4031-ba1a-4e1a-a83d-caa7c85936ac]: {RezSetupFail} [ rez2] Failed to setup rez environment for mcrt :  : error code 5 : no output context was  produced : error output [2023-03-25T08:31:03.199288 F client[14794]:22947941339136: [ee53dda9-6326-4141-ac6d-70fc030e5d89]: {execFailed} Failed to exec mcrt-rez_config-ee53dda9-6326-4141-ac6d-70fc030e5d89 (ee53dda9-6326-4141-ac6d-70fc030e5d89) : No such file or directory
]
2023-03-25T08:31:03.298705 E client[14785]:22947941339136: [7ccc4031-ba1a-4e1a-a83d-caa7c85936ac]: {RezSetupFail} [ rez2] Failed to setup rez environment for mcrt : Rez error : error code 5 : no output context was  produced : error output [2023-03-25T08:31:03.199288 F client[14794]:22947941339136: [ee53dda9-6326-4141-ac6d-70fc030e5d89]: {execFailed} Failed to exec mcrt-rez_config-ee53dda9-6326-4141-ac6d-70fc030e5d89 (ee53dda9-6326-4141-ac6d-70fc030e5d89) : No such file or directory
]
2023-03-25T08:31:03.298817 E client[14785]:22947941339136: Unable to connect to Arras: Failed to create local session :Rez error : error code 5 : no output context was  produced : error output [2023-03-25T08:31:03.199288 F client[14794]:22947941339136: [ee53dda9-6326-4141-ac6d-70fc030e5d89]: {execFailed} Failed to exec mcrt-rez_config-ee53dda9-6326-4141-ac6d-70fc030e5d89 (ee53dda9-6326-4141-ac6d-70fc030e5d89) : No such file or directory
]
Failed to connect!

libssl.so.10 cannot open shared object

Hello I got this error when launching a render via terminal:
error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

Where should I ln the lissl I already have ? And I installed libssl.so.10 actually

thank you,

Tanguy

Edit build files to include non-root users, and options to choose install locations

In its current form, Moonray can only be installed and used by admins. At the moment, root access is a hard requirement for both building and executing Moonray. This is an unreasonable demand, as many users may not have admin access to their production machines - in fact, that is probably closer to the norm. Furthermore, the build instructions do not allow users to install moonray in non-root folders. All files are hard-coded to install into either the root home directory, or /install. Users should be able to do a local install, or at least be able to choose a different directory. Other than the yum commands, there appears to be nothing in the install or execution procedures that cannot be done as a non-root user.

fatal: Unable to checkout 'e90ad4cdc4086c9e952e211d1570e0416af467c6' in submodule path 'moonray/moonray_dcc_plugins'

Hi,
I'm trying to checkout the repository on ubuntu 22.04.2, using git bash:

$ proxy git clone --recurse-submodules https://github.com/dreamworksanimation/openmoonray.git

I tried several times, but it always give the errors :


Submodule path 'moonray/moonray_arras/mcrt_messages': checked out '41ec28cc7f0de6675fc57ab20ed65fec5457bfe5'
error: unable to create file houdini/otls/Vop::DW_MOONRAY::AttributeMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::AxisAngleMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BaseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BaseVolume::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BlendDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BlendMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CheckerboardMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ClampDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ClampMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectContrastMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectGainOffsetMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectGammaMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectHsvMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectHueShiftMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectLegacyMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectNukeMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectSaturationMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectTMIMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CombineDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CombineNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantColorMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantScalarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConvolutionDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CurvatureMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CutoutVolume::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DebugMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DeformationMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DirectionalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DiscretizeDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DistortNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DofDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaAdjustMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaBaseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaColorCorrectMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaEmissiveMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaFabricMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaLayerMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaMetalMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaMixMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaRefractiveMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSkinMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSolidDielectricMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaToonMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaTwoSidedMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaVelvetMaterial::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ExtraAovMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::FloatToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::GlitterFlakeMaterial::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::GradientMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColorCorrectMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColorPresetsMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColumnMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairDiffuseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairLayerMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairMaterial::3.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairToonMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HalftoneDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HsvToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::LODMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::LayerMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ListMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::MacroFlakeMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::MultiChannelToFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseWorleyMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseWorleyMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NormalDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NormalToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpenVdbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpenVdbMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OverDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCylindricalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectPlanarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectPlanarNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectSphericalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarNormalMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarUdimMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RampDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RampMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RandomMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RandomNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RaySwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RemapDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RemapMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToFloatDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToHsvDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToHsvMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToLabMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ShadowDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchColorMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TangentSpaceDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ToonDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ToonMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TransformNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TransformSpaceMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::UVTransformMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::VectorDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::WireframeMap::1.hda: Invalid argument



Submodule path 'moonray/moonray_gui': checked out '1f00f0bcdae8ca9b40d8923fdc3c17c1b787836e'
Submodule path 'moonray/moonshine': checked out '963c933892f8d1dbb6a794834c72de06df88dd7e'
Submodule path 'moonray/moonshine_usd': checked out '1d850a4cdd40220e7ccd62157f360f2c36977b75'
Submodule path 'moonray/render_profile_viewer': checked out '4c35f67ed99fbfb13f523de39278cb2e45d4bb61'
Submodule path 'moonray/scene_rdl2': checked out '69412c549b8d3c7d992a8471d7973b774e5cda89'
Submodule path 'moonray/moonray_arras/mcrt_computation': checked out 'b3190ce32008445b08b1e09a691a1b7540147ef5'
Submodule path 'moonray/scene_rdl2': checked out '69412c549b8d3c7d992a8471d7973b774e5cda89'


fatal: Unable to checkout 'e90ad4cdc4086c9e952e211d1570e0416af467c6' in submodule path 'moonray/moonray_dcc_plugins'

does anyone know how to fix that? Thanks so much!

Linking errors when building in Ubuntu container

I created image to build MoonRay in Ubuntu's containers (Ubuntu versions 22.04 and 20.04).
The first tool that doesn't link is denoise:
[35%] Linking CXX executable denoise
/usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to vtable for moonray::pbr::ProjectiveCamera' /usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to moonray::pbr::PerspectiveCamera::PerspectiveCamera(scene_rdl2::rdl2::Camera const*)'
/usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to moonray::pbr::ImageDistribution::~ImageDistribution()' /usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to moonray::pbr::Camera::update(scene_rdl2::math::Mat4<scene_rdl2::math::Vec4 > const&)'
/usr/bin/ld: ../../lib/rendering/rt/librendering_rt.so: undefined reference to `moonray::pbr::PerspectiveCamera::computeFrustumImpl(moonray::mcrt_common::Frustum*, float, bool) const'
collect2: error: ld returned 1 exit status
make[2]: *** [moonray/moonray/cmd/denoise_cmd/CMakeFiles/denoise.dir/build.make:149: moonray/moonray/cmd/denoise_cmd/denoise] Error 1

The other one are in the test directory.
I got the same linking's errors for moonray_rendering_rt_tests.
I got this error for moonray_rendering_pbr_tests.
/usr/bin/ld: ../../../../lib/rendering/pbr/librendering_pbr.so: undefined reference to `isRenderCanceled'

If I made these libraries static (rndr, pbr, rt), the linking's errors disappeared.
Could someone explain ?
With CLang, I got errors too.

No crash/errors in Solaris, but also no render

I've got everything set up according to the instructions in the docs. All the MoonRay nodes and parameters are showing up in Houdini and MoonRay is listed in the choice of renderers. But, when I select it, the viewport goes blank and there is no rendering happening. Right now I have HOUDINI_PATH pointing to MoonRay in houdini.env and all the other MoonRay variables (PXR_PLUGINPATH, etc) are in .bashrc.

missing pxr imports in Docker moonray_run Container when rendering ALab2 scene

Followed Docker Container build commands

ALab scene is mounter at /alab in the docker run container

I get the following traceback

from

hd_render -in /alab/entry.usda -out /tmp/hoopla.exr

Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Tf'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Gf'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Trace'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Work'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Plug'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Vt'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Ar'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Garch'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Sdf'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Ndr'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Kind'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Pcp'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Usd'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdGeom'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Sdr'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdShade'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.CameraUtil'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.Glf'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.PxOsd'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdLux'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdVol'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.SdrGlslfx'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.MoonrayShaderParser'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.MoonrayShaderDiscovery'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdHydra'!
ModuleNotFoundError: No module named 'pxr'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdShaders'!
ModuleNotFoundError: No module named 'pxr'
Hydra setup time = 00:00:05.987
2023-03-19T09:51:23.001983 W client[122]:140552505211264: [140ea676-b0b8-4482-acc5-e4c5383a74a8]: {warnBadConfigVal} In config for mcrt: item environment should be an object
2023-03-19T09:51:23.003183 D client[122]:140552505211264: [140ea676-b0b8-4482-acc5-e4c5383a74a8]: {trace:comp} launch 5259ff39-6c2f-4a5c-a592-77ad298cfa83 mcrt
sh: lsb_release: command not found
{trace:mcrt} version mcrt_computation-(unknown) host rhel-dev.kognat.localdomain
{trace:comp} ready 5259ff39-6c2f-4a5c-a592-77ad298cfa83
2023-03-19T09:51:23.669000 D client[122]:140552505211264: [140ea676-b0b8-4482-acc5-e4c5383a74a8]: {trace:session} clientConnect 140ea676-b0b8-4482-acc5-e4c5383a74a8 local arras4_client-???;arras4_core_impl-???;arras4_network-???
{trace:mcrt} stage ready start 5259ff39-6c2f-4a5c-a592-77ad298cfa83
{trace:comp} start 5259ff39-6c2f-4a5c-a592-77ad298cfa83
GlobalNodeInfo HostName {
  mClientHostName:
  mDispatchHostName:
  mMergeHostName: mMergeCpuTotal:0
  mcrt (totalMcrt:1 totalCpu:48) {
    mMachineId:0 mCpuTotal:48 mHostName:rhel-dev.kognat.localdomain
  }
}
Starting Rendering (syncId:1)
{trace:mcrt} stage renderPrep start 5259ff39-6c2f-4a5c-a592-77ad298cfa83 0438adce-7f10-488e-acbb-8debff733b97
Render prep time = 00:01:05.269
{trace:mcrt} stage shading start 0.0379051 5259ff39-6c2f-4a5c-a592-77ad298cfa83 0438adce-7f10-488e-acbb-8debff733b97
{trace:mcrt} stage shading complete 1 5259ff39-6c2f-4a5c-a592-77ad298cfa83 0438adce-7f10-488e-acbb-8debff733b97
Hydra total time = 00:01:19.547
stdout 00:01:13   10.2 GB | ---------- Time ------------------------------------------
stdout 00:01:13   10.2 GB | Render time                      = 00:00:07.546000
stdout 00:01:13   10.2 GB | Total time                       = 00:01:12.921000
Wrote /tmp/hoopla.exr
load_plugin 0.675711
open_stage 1.25246
populate 0.502033
render 77.6738

output exr is black and 34Kb

Issue building in Docker - gmake: Makefile: No such file or directory

I've been following the Building MoonRay in a Docker container guide with success right up until running the final build.
When running cmake --build --preset container-release -- -j 64 I just get back;

gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'.  Stop.

I've tried deleting everything and starting over but still get the same error
Is there something I'm doing wrong in the process of Step 3 of the guide? Attached is the full output.
makefileerror.txt

Issue building in Ubuntu20.04

I have successfully building MoonRay in CentOS 7.9 using devtoolset-9, gcc-9.3.0 and want to try building it in a newer runtime-library platform Ubuntu 20.04. The software source has provided a gcc-9.4.0 and libstdc++.so.6.0.28 which is newer than CentOS's 6.0.19, it's under C++11 standard.
When I build all MoonRay's dependencies done, add them to CMAKE_PREFIX_PATH and try building MoonRay, I got some linking error like that:

/usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function readMessageHeader(std::string const&, Json::Value&)': main.cc:(.text+0xf5b): undefined reference to Json::Value::Value(std::string const&)' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function showInfo(std::string const&, bool, std::string const&)': main.cc:(.text+0x1378): undefined reference to Json::StyledWriter::write(Json::Value const&)' /usr/bin/ld: main.cc:(.text+0x14d6): undefined reference to Json::Value::asString() const' /usr/bin/ld: main.cc:(.text+0x151e): undefined reference to Json::Value::asString() const' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function boost::program_options::typed_value<std::string, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const': main.cc:(.text._ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE[_ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE]+0x34): undefined reference to boost::program_options::validate(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, std::string*, int)' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function boost::program_options::typed_value<std::string, char>::name() const': main.cc:(.text._ZNK5boost15program_options11typed_valueISscE4nameEv[_ZNK5boost15program_options11typed_valueISscE4nameEv]+0x3c): undefined reference to boost::program_options::arg' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function std::vector<std::string, std::allocator<std::string> > boost::program_options::to_internal<std::string>(std::vector<std::string, std::allocator<std::string> > const&)': main.cc:(.text._ZN5boost15program_options11to_internalISsEESt6vectorISsSaISsEERKS2_IT_SaIS5_EE[_ZN5boost15program_options11to_internalISsEESt6vectorISsSaISsEERKS2_IT_SaIS5_EE]+0x97): undefined reference to boost::program_options::to_internal(std::string const&)' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)': main.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0xd9): undefined reference to boost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocator<std::string> > const&)' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o: in function main': main.cc:(.text.startup+0x2d0): undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/bin/ld: CMakeFiles/msgInfo.dir/main.cc.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x38): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' /usr/bin/ld: ../../../arras4_log/lib/arras4_log/libarras4_log.so: undefined reference to pthread_create' /usr/bin/ld: ../../../arras4_message_api/lib/message_api/libmessage_api.so: undefined reference to Json::Value::getMemberNames() const' /usr/bin/ld: ../../lib/message_impl/libmessage_impl.so: undefined reference to Json::Value::operator[](std::string const&) const' collect2: error: ld returned 1 exit status

It seems that the jsoncpp and boost_program_options got some conflict flags which linker can not relocate. I found some macro definitions in CMakeLists.txt which set _GLIBCXX_USE_CXX11_ABI to false during explain from https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html.

It seems before C++11 and after it, libstdc++ got different implementation for std::string and std::list, so gcc provide that macro to fix compatibility for that. I build all my dependencies without this macro, so I set all _GLIBCXX_USE_CXX11_ABI macro to true in MoonRay's CMakeLists.txt, but got that link error:

/usr/bin/ld: ../../../../../scene_rdl2/lib/render/logging/librender_logging.so: undefined reference to boost::re_detail_107300::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' /usr/bin/ld: ../../../../../scene_rdl2/lib/render/logging/librender_logging.so: undefined reference to boost::re_detail_107300::cpp_regex_traits_implementation<char>::transform_primary(char const*, char const*) const'

Seems boost_regex got some trouble but not boost_program_options and jsoncpp before. Did someone know what wrong I have done above it?

Conflict with Houdini USD and MoonRay USD?

I'm splitting this off from our previous discussion since I've narrowed down the problem a lot.

System info: CentOS 7, MoonRay compiled using default settings from build guide, using Python 3.9.10 to match Houdini, Houdini FX 19.5.534.

See attached video. First is a quick test of moonray_gui to confirm the renderer is working. Then, launching usdview from hython, Karma works but as you can see MoonRay throws a ton of errors about "multiple debug symbol" and "already defined C++ type."

It looks to me (as a non-coder) like the system is trying to load both MoonRay and Houdini USD libraries? Any ideas how to resolve this?

moonray.mp4

Isssue with building MoonRay

Hello,

I'm trying to build MoonRay and I am using CentOS-7,

I am at step 4, trying to use the "cmake --build --preset container-release -- -j 64" command. However, I get the following error:

gmake: *** [Makefile:146: all] Error 2

Here is the full screenshot:
WIUB1JW

Emissive materials are not illuminating other objects

I have made a small scene involving an emissive screen (DwaEmissiveMaterial) behind a glass pane (DwaRefractiveMaterial). When rendering, the screen itself is visible to the camera, but other objects are not illuminated by it at all (when the light in the scene is removed, the whole rendered image is black except the screen). I have tried assigning the DwaEmissiveMaterial as both surface and volume shaders. Also, if the glass pane is removed, the screen disappears entirely, as if the screen is only visible when looked from the camera, through the glass pane. I'm not sure if I'm missing some things to be configured.

MoonRay render

The same scene rendered in Blender, for comparison:

MoonRay render in Blender

The scene's data: MoonRay scene.zip

Platforms used:

  • CentOS in Docker in Windows subsystem for Linux.
  • CentOS standalone.
    Both MoonRay instances are built according to the instructions in the documentation site.

CLA for Non-Code Contributions?

Does a would-be contributor need to sign a [C]CLA if their contributions contain no code or require otherwise specialized knowledge?

I ask because I was this 🤏 close to opening a PR on a fork of this repo for small README fixes (for duplicated and dead links), when I saw the contributing guidelines, which indicate I need a CCLA. I'm happy to look into that on my side, but wanna make sure it's necessary first.

Building in Arch Linux

Hi there,

I've been looking to build Moonray in Arch Linux in my personal PC, but there's a few errors I can't get trough.

Here's the custom CMakePresets:

{
    "version": 4,
    "configurePresets": [
        {
            "name": "arch-environment",
            "hidden": false,
            "environment": {
                "DEPS_ROOT"                     : "/usr",
                "BUILD_DIR"                     : "build",
                "CPPUNIT_ROOT"                  : "$env{DEPS_ROOT}",
                "ISPC"                          : "$env{DEPS_ROOT}/bin/ispc",
                "JSONCPP_ROOT"                  : "$env{DEPS_ROOT}",
                "LIBCURL_ROOT"                  : "/usr",
                "LIBUNWIND_ROOT"                : "/usr",
                "LOG4CPLUS_ROOT"                : "$env{DEPS_ROOT}",
                "LUA_DIR"                       : "$env{DEPS_ROOT}",
                "OPENSUBDIV_ROOT"               : "$env{DEPS_ROOT}",
                "OPENVDB_ROOT"                  : "$env{DEPS_ROOT}",
                "OPTIX_ROOT"                    : "/opt/optix",
                "PXR_USD_LOCATION"              : "$env{DEPS_ROOT}/share/usd",
                "PXR_INCLUDE_DIRS"              : "$env{DEPS_ROOT}/include",
                "RANDOM123_ROOT"                : "$env{DEPS_ROOT}",
                "ZLIB_ROOT"                     : "/usr",
                "pxr_ROOT"                      : "$env{DEPS_ROOT}/share/usd",
                "TBB_ROOT"                      : "$env{DEPS_ROOT}"
            },
            "cacheVariables": {
                "CMAKE_PREFIX_PATH": "$env{DEPS_ROOT}"
            }
        },
        {
            "name": "arch-package",
            "displayName": "Arch Linux Release",
            "inherits": "arch-environment",
            "binaryDir": "${sourceParentDir}/build-release/${sourceDirName}",
            "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" },
            "generator": "Unix Makefiles"
        }
    ],
    "buildPresets": [
        {
            "name": "arch-package",
            "displayName": "Package for Arch Linux",
            "configurePreset": "arch-package"
        }
    ]
}

And here's the output:

-- Generating done (2.1s)
-- Build files have been written to: /home/adro/Applications/AUR/moonray/src/build-release/openmoonray
[  0%] Built target rdlalib
[  0%] Built target exceptions
[  1%] Built target common_rec_time
[  1%] Building CXX object arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/Logger.cc.o
[  1%] Built target message_api
[  1%] Built target scene_rdl2_symlink
[  2%] Building CXX object moonray/scene_rdl2/lib/render/logging/CMakeFiles/render_logging.dir/logging.cc.o
[  2%] Building CXX object arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/MultiBuffer.cc.o
[  2%] Building CXX object arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/SyslogLogger.cc.o
[  2%] Built target common_mcrt_macros
[  2%] Built target common_time
[  2%] Building CXX object moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/DcxDeepImageTile.cpp.o
[  2%] Building CXX object moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/DcxDeepPixel.cpp.o
[  2%] Built target statistics
[  2%] Built target shading_ispc_00_make_dir
[  2%] Built target shading_ispc_01_make_dir
[  2%] Built target shading_ispc_02_make_dir
[  2%] Built target shading_ispc_03_make_dir
In file included from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxDeepPixel.h:20,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxPixelTile.h:13,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxDeepTile.h:13,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxDeepImageTile.h:13,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxDeepImageTile.cpp:4:
/home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxPixel.h:20:10: fatal error: OpenEXR/half.h: No such file or directory
   20 | #include <OpenEXR/half.h>  // For Pixelh
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/build.make:90: moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/DcxDeepImageTile.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  2%] Built target shading_ispc_04_make_dir
[  2%] Built target shading_ispc_05_make_dir
In file included from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxDeepPixel.h:20,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxDeepPixel.cpp:4:
/home/adro/Applications/AUR/moonray/src/openmoonray/moonray/moonray/lib/deepfile/DcxPixel.h:20:10: fatal error: OpenEXR/half.h: No such file or directory
   20 | #include <OpenEXR/half.h>  // For Pixelh
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/build.make:104: moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/DcxDeepPixel.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:12663: moonray/moonray/lib/deepfile/CMakeFiles/deepfile.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  2%] Built target shading_ispc_06_make_dir
[  2%] Building CXX object arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/SocketPeer.cc.o
[  2%] Built target shading_ispc_07_make_dir
[  2%] Built target shading_ispc_08_make_dir
/home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_log/lib/arras4_log/SyslogLogger.cc: In member function ‘virtual void arras4::log::SyslogLogger::log(arras4::log::Logger::Level, const char*)’:
/home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_log/lib/arras4_log/SyslogLogger.cc:36:11: error: format not a string literal and no format arguments [-Werror=format-security]
   36 |     syslog(sPriorities[level], message);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
make[2]: *** [arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/build.make:146: arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/SyslogLogger.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/c++/12.2.1/memory:75,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_log/lib/arras4_log/Logger.cc:11:
/usr/include/c++/12.2.1/bits/unique_ptr.h: In instantiation of ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Del = std::default_delete<std::basic_string<char> >; <template-parameter-2-2> = void; _Tp = std::basic_string<char>; _Dp = std::default_delete<std::basic_string<char> >]’:
/home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_log/lib/arras4_log/Logger.cc:28:55:   required from here
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: error: no matching function for call to ‘std::__uniq_ptr_data<std::basic_string<char>, std::default_delete<std::basic_string<char> >, true, true>::__uniq_ptr_data()’
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘template<class _Del> std::__uniq_ptr_data<std::basic_string<char>, std::default_delete<std::basic_string<char> >, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<std::basic_string<char>, std::default_delete<std::basic_string<char> > >::pointer, _Del&&) [inherited from std::__uniq_ptr_impl<std::basic_string<char>, std::default_delete<std::basic_string<char> > >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   template argument deduction/substitution failed:
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: note:   candidate expects 2 arguments, 0 provided
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘std::__uniq_ptr_data<std::basic_string<char>, std::default_delete<std::basic_string<char> >, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<std::basic_string<char>, std::default_delete<std::basic_string<char> > >::pointer) [inherited from std::__uniq_ptr_impl<std::basic_string<char>, std::default_delete<std::basic_string<char> > >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note: candidate: ‘std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >::__uniq_ptr_data(std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >&&) [with _Tp = std::basic_string<char>; _Dp = std::default_delete<std::basic_string<char> >; bool <anonymous> = true; bool <anonymous> = true]’
  234 |       __uniq_ptr_data(__uniq_ptr_data&&) = default;
      |       ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note:   candidate expects 1 argument, 0 provided
In file included from /usr/include/c++/12.2.1/memory:75,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/network_types.h:7,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/MultiBuffer.h:7,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/MultiBuffer.cc:4:
/usr/include/c++/12.2.1/bits/unique_ptr.h: In instantiation of ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Del = std::default_delete<arras4::network::Buffer>; <template-parameter-2-2> = void; _Tp = arras4::network::Buffer; _Dp = std::default_delete<arras4::network::Buffer>]’:
/usr/include/c++/12.2.1/bits/stl_construct.h:119:7:   required from ‘void std::_Construct(_Tp*, _Args&& ...) [with _Tp = unique_ptr<arras4::network::Buffer>; _Args = {}]’
/usr/include/c++/12.2.1/bits/stl_uninitialized.h:638:18:   required from ‘static _ForwardIterator std::__uninitialized_default_n_1<_TrivialValueType>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = std::unique_ptr<arras4::network::Buffer>*; _Size = long unsigned int; bool _TrivialValueType = false]’
/usr/include/c++/12.2.1/bits/stl_uninitialized.h:701:20:   required from ‘_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = unique_ptr<arras4::network::Buffer>*; _Size = long unsigned int]’
/usr/include/c++/12.2.1/bits/stl_uninitialized.h:766:44:   required from ‘_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator, _Size, allocator<_Tp>&) [with _ForwardIterator = unique_ptr<arras4::network::Buffer>*; _Size = long unsigned int; _Tp = unique_ptr<arras4::network::Buffer>]’
/usr/include/c++/12.2.1/bits/vector.tcc:642:35:   required from ‘void std::vector<_Tp, _Alloc>::_M_default_append(size_type) [with _Tp = std::unique_ptr<arras4::network::Buffer>; _Alloc = std::allocator<std::unique_ptr<arras4::network::Buffer> >; size_type = long unsigned int]’
/usr/include/c++/12.2.1/bits/stl_vector.h:1011:4:   required from ‘void std::vector<_Tp, _Alloc>::resize(size_type) [with _Tp = std::unique_ptr<arras4::network::Buffer>; _Alloc = std::allocator<std::unique_ptr<arras4::network::Buffer> >; size_type = long unsigned int]’
/home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/MultiBuffer.cc:177:24:   required from here
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: error: no matching function for call to ‘std::__uniq_ptr_data<arras4::network::Buffer, std::default_delete<arras4::network::Buffer>, true, true>::__uniq_ptr_data()’
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘template<class _Del> std::__uniq_ptr_data<arras4::network::Buffer, std::default_delete<arras4::network::Buffer>, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<arras4::network::Buffer, std::default_delete<arras4::network::Buffer> >::pointer, _Del&&) [inherited from std::__uniq_ptr_impl<arras4::network::Buffer, std::default_delete<arras4::network::Buffer> >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   template argument deduction/substitution failed:
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: note:   candidate expects 2 arguments, 0 provided
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘std::__uniq_ptr_data<arras4::network::Buffer, std::default_delete<arras4::network::Buffer>, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<arras4::network::Buffer, std::default_delete<arras4::network::Buffer> >::pointer) [inherited from std::__uniq_ptr_impl<arras4::network::Buffer, std::default_delete<arras4::network::Buffer> >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note: candidate: ‘std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >::__uniq_ptr_data(std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >&&) [with _Tp = arras4::network::Buffer; _Dp = std::default_delete<arras4::network::Buffer>; bool <anonymous> = true; bool <anonymous> = true]’
  234 |       __uniq_ptr_data(__uniq_ptr_data&&) = default;
      |       ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note:   candidate expects 1 argument, 0 provided
make[2]: *** [arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/build.make:188: arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/MultiBuffer.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/build.make:118: arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/Logger.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9093: arras/arras4_core/arras4_log/lib/arras4_log/CMakeFiles/arras4_log.dir/all] Error 2
In file included from /usr/include/c++/12.2.1/memory:75,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/network_types.h:7,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/DataSource.h:7,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/Peer.h:8,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/SocketPeer.h:7,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/SocketPeer.cc:18:
/usr/include/c++/12.2.1/bits/unique_ptr.h: In instantiation of ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Del = std::default_delete<arras4::network::EncryptState>; <template-parameter-2-2> = void; _Tp = arras4::network::EncryptState; _Dp = std::default_delete<arras4::network::EncryptState>]’:
/home/adro/Applications/AUR/moonray/src/openmoonray/arras/arras4_core/arras4_network/lib/network/SocketPeer.cc:201:22:   required from here
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: error: no matching function for call to ‘std::__uniq_ptr_data<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState>, true, true>::__uniq_ptr_data()’
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘template<class _Del> std::__uniq_ptr_data<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState>, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState> >::pointer, _Del&&) [inherited from std::__uniq_ptr_impl<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState> >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   template argument deduction/substitution failed:
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: note:   candidate expects 2 arguments, 0 provided
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘std::__uniq_ptr_data<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState>, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState> >::pointer) [inherited from std::__uniq_ptr_impl<arras4::network::EncryptState, std::default_delete<arras4::network::EncryptState> >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note: candidate: ‘std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >::__uniq_ptr_data(std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >&&) [with _Tp = arras4::network::EncryptState; _Dp = std::default_delete<arras4::network::EncryptState>; bool <anonymous> = true; bool <anonymous> = true]’
  234 |       __uniq_ptr_data(__uniq_ptr_data&&) = default;
      |       ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note:   candidate expects 1 argument, 0 provided
make[2]: *** [arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/build.make:216: arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/SocketPeer.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9171: arras/arras4_core/arras4_network/lib/network/CMakeFiles/network.dir/all] Error 2
In file included from /usr/include/c++/12.2.1/memory:75,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/scene_rdl2/include/scene_rdl2/render/util/AtomicFloat.h:8,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/scene_rdl2/lib/render/logging/logging.h:9,
                 from /home/adro/Applications/AUR/moonray/src/openmoonray/moonray/scene_rdl2/lib/render/logging/logging.cc:7:
/usr/include/c++/12.2.1/bits/unique_ptr.h: In instantiation of ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Del = std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >; <template-parameter-2-2> = void; _Tp = boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >; _Dp = std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >]’:
/usr/include/boost/regex/v5/perl_matcher.hpp:365:23:   required from ‘boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::perl_matcher(BidiIterator, BidiIterator, boost::match_results<Iterator, Allocator>&, const boost::basic_regex<typename traits::char_type, traits>&, boost::regex_constants::match_flag_type, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Allocator = std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >; traits = boost::regex_traits<char>; typename traits::char_type = char; boost::regex_constants::match_flag_type = boost::regex_constants::_match_flags]’
/usr/include/boost/regex/v5/regex_search.hpp:44:73:   required from ‘bool boost::regex_search(BidiIterator, BidiIterator, match_results<Iterator, Allocator>&, const basic_regex<charT, traits>&, regex_constants::match_flag_type, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Allocator = std::allocator<sub_match<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >; charT = char; traits = regex_traits<char>; regex_constants::match_flag_type = regex_constants::_match_flags]’
/usr/include/boost/regex/v5/regex_search.hpp:31:23:   required from ‘bool boost::regex_search(BidiIterator, BidiIterator, match_results<Iterator, Allocator>&, const basic_regex<charT, traits>&, regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Allocator = std::allocator<sub_match<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >; charT = char; traits = regex_traits<char>; regex_constants::match_flag_type = regex_constants::_match_flags]’
/usr/include/boost/regex/v5/regex_search.hpp:66:23:   required from ‘bool boost::regex_search(const std::basic_string<charT, ST, SA>&, match_results<typename std::basic_string<charT, ST, SA>::const_iterator, Allocator>&, const basic_regex<charT, traits>&, regex_constants::match_flag_type) [with ST = std::char_traits<char>; SA = std::allocator<char>; Allocator = std::allocator<sub_match<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >; charT = char; traits = regex_traits<char>; typename std::basic_string<charT, ST, SA>::const_iterator = std::basic_string<char>::const_iterator; regex_constants::match_flag_type = regex_constants::_match_flags]’
/home/adro/Applications/AUR/moonray/src/openmoonray/moonray/scene_rdl2/lib/render/logging/logging.cc:215:28:   required from here
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: error: no matching function for call to ‘std::__uniq_ptr_data<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >, true, true>::__uniq_ptr_data()’
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘template<class _Del> std::__uniq_ptr_data<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > > >::pointer, _Del&&) [inherited from std::__uniq_ptr_impl<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > > >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   template argument deduction/substitution failed:
/usr/include/c++/12.2.1/bits/unique_ptr.h:297:11: note:   candidate expects 2 arguments, 0 provided
  297 |         : _M_t()
      |           ^~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note: candidate: ‘std::__uniq_ptr_data<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >, true, true>::__uniq_ptr_data(std::__uniq_ptr_impl<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > > >::pointer) [inherited from std::__uniq_ptr_impl<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >, std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > > >]’
  233 |       using __uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl;
      |                                        ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:233:40: note:   candidate expects 1 argument, 0 provided
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note: candidate: ‘std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >::__uniq_ptr_data(std::__uniq_ptr_data<_Tp, _Dp, <anonymous>, <anonymous> >&&) [with _Tp = boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > >; _Dp = std::default_delete<boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >; bool <anonymous> = true; bool <anonymous> = true]’
  234 |       __uniq_ptr_data(__uniq_ptr_data&&) = default;
      |       ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/unique_ptr.h:234:7: note:   candidate expects 1 argument, 0 provided
make[2]: *** [moonray/scene_rdl2/lib/render/logging/CMakeFiles/render_logging.dir/build.make:104: moonray/scene_rdl2/lib/render/logging/CMakeFiles/render_logging.dir/logging.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:39459: moonray/scene_rdl2/lib/render/logging/CMakeFiles/render_logging.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Docker building error

Hello, I got this message when I tried to build the MoonRay in a Docker container and I don't know how to fix it
3M-LQ3sXVmQ

error: invalid conversion from 'int' to 'OptixDenoiserAlphaMode'

Following the docker build steps, I am seeing a failure on step 3.

After building openmoonray_build, the following step fails:

cmake --build --preset container-release -- -j 64

/openmoonray/moonray/mcrt_denoise/lib/denoiser/OptixDenoiserImpl.cc: In constructor 'moonray::denoiser::OptixDenoiserImpl::OptixDenoiserImpl(int, int, bool, bool, std::string*)':
/openmoonray/moonray/mcrt_denoise/lib/denoiser/OptixDenoiserImpl.cc:110:36: error: invalid conversion from 'int' to 'OptixDenoiserAlphaMode' [-fpermissive]
  110 |     mDenoiserParams.denoiseAlpha = 0;     // don't denoise alpha
      |                                    ^
      |                                    |
      |                                    int
gmake[2]: *** [moonray/mcrt_denoise/lib/denoiser/CMakeFiles/denoiser.dir/build.make:104: moonray/mcrt_denoise/lib/denoiser/CMakeFiles/denoiser.dir/OptixDenoiserImpl.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:10268: moonray/mcrt_denoise/lib/denoiser/CMakeFiles/denoiser.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

Any suggestions would be greatly appreciated.

Indefinite Halt on RUN on Docker build of moonray

Using Msys2 from the advice on Issue #8 , I trieddocker build again but the same problem arised. It will halt on step 8/13 and in the loading meta data for Centos7 halts on 6/10, which is RUN yum install -y cuda-toolkit-11-4.

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

How do I install this/fix this issue?
The docker built halts here and will go indefinitely (or, at least, 1000 seconds so far).

hd_usd2rdl errors

Hi there, awesome to see this open sourced!
Managed to get a build following the docker instructions and have managed to run the simple test renders but I'm running into errors with hd_usd2rdl trying to convert a usdc I exported from blender of the cube diorama scene.

ModuleNotFoundError: No module named 'pxr.MoonrayShaderParser'
Warning: in Tf_PyLoadScriptModule at line 122 of /build/USD-prefix/src/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.MoonrayShaderDiscovery'!
ModuleNotFoundError: No module named 'pxr.MoonrayShaderDiscovery'
Warning (lib.render): /Beam2/Cube_015.material: /_materials/Wood_6 has no moonray or fallback shaders
Error: /Beam2/Cube_015.material: /_materials/Wood_6 has no moonray or fallback shaders

And then there's a bunch of those no fallback shader messages.
It does produce an rdl file that works but everything is pink!
Wondering if there was something more I needed to do or if this is the expected result?

If it's useful, my current env:
MANPATH=/opt/rh/devtoolset-9/root/usr/share/man:
HOSTNAME=james-manjaro
NVIDIA_REQUIRE_CUDA=cuda>=11.4 brand=tesla,driver>=418,driver<419 brand=tesla,driver>=450,driver<451
TERM=xterm
REZ_MOONRAY_ROOT=/installs/openmoonray/scripts/..
X_SCLS=devtoolset-9 
PCP_DIR=/opt/rh/devtoolset-9/root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
LD_LIBRARY_PATH=/opt/rh/devtoolset-9/root/usr/lib64:/opt/rh/devtoolset-9/root/usr/lib:/opt/rh/devtoolset-9/root/usr/lib64/dyninst:/opt/rh/devtoolset-9/root/usr/lib/dyninst:/opt/rh/devtoolset-9/root/usr/lib64:/opt/rh/devtoolset-9/root/usr/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
NVIDIA_VISIBLE_DEVICES=all
RDL2_DSO_PATH=/installs/openmoonray/scripts/../rdl2dso:/installs/openmoonray/scripts/../rdl2dso.proxy
MOONRAY_CLASS_PATH=/installs/openmoonray/scripts/../shader_json
NVIDIA_DRIVER_CAPABILITIES=compute,utility
PATH=/installs/openmoonray/scripts/../bin:/opt/rh/devtoolset-9/root/usr/bin:/installs/cmake-3.23.1-linux-x86_64/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PXR_PLUGINPATH_NAME=/installs/openmoonray/scripts/../plugin/usd:
PWD=/installs
NV_CUDA_CUDART_VERSION=11.4.43-1
NVARCH=x86_64
ARRAS_SESSION_PATH=/installs/openmoonray/scripts/../sessions
CUDA_VERSION=11.4.0
HOME=/root
SHLVL=4
PXR_PLUGIN_PATH=/installs/openmoonray/scripts/../plugin/usd:
PYTHONPATH=/usr/local/lib/python:
LESSOPEN=||/usr/bin/lesspipe.sh %s
PKG_CONFIG_PATH=/opt/rh/devtoolset-9/root/usr/lib64/pkgconfig
INFOPATH=/opt/rh/devtoolset-9/root/usr/share/info
DISPLAY=:0
XAUTHORITY=/home/james/.Xauthority
_=/usr/bin/env
OLDPWD=/

rdl2_ispc_util > rdl2.isph Illegal instruction

[ 16%] Built target scene_rdl2_tmp
[ 16%] Building CXX object moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/rdl2_ispc_util.dir/rdl2_ispc_util/rdl2_ispc_util.cc.o
[ 16%] Linking CXX executable rdl2_ispc_util
/bin/sh: line 1: 28267 Illegal instruction     (core dumped) ./rdl2_ispc_util > rdl2.isph
gmake[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/rdl2_ispc_util.dir/build.make:110: moonray/scene_rdl2/lib/scene/rdl2/rdl2_ispc_util] Error 132
gmake[2]: *** Deleting file 'moonray/scene_rdl2/lib/scene/rdl2/rdl2_ispc_util'
gmake[1]: *** [CMakeFiles/Makefile2:38644: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/rdl2_ispc_util.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Hello
I'm following the centos 7 build instructions on a Centos 7.9 machine but hitting issues above. Any ideas or tips on how to debug this issue?

error: unable to create file houdini/otls/Vop::DW_MOONRAY::AttributeMap::1.hda: Invalid argument

Hi,
I'm trying to checkout the repository on ubuntu 22.04.2, using git bash:

$ proxy git clone --recurse-submodules https://github.com/dreamworksanimation/openmoonray.git

I tried several times, but it always give the errors :


Submodule path 'moonray/moonray_arras/mcrt_messages': checked out '41ec28cc7f0de6675fc57ab20ed65fec5457bfe5'
error: unable to create file houdini/otls/Vop::DW_MOONRAY::AttributeMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::AxisAngleMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BaseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BaseVolume::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BlendDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::BlendMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CheckerboardMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ClampDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ClampMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectContrastMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectGainOffsetMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectGammaMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectHsvMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectHueShiftMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectLegacyMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectNukeMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectSaturationMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ColorCorrectTMIMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CombineDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CombineNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantColorMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConstantScalarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ConvolutionDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CurvatureMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::CutoutVolume::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DebugMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DeformationMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DirectionalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DiscretizeDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DistortNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DofDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaAdjustMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaBaseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaColorCorrectMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaEmissiveMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaFabricMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaLayerMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaMetalMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaMixMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaRefractiveMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSkinMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSolidDielectricMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaSwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaToonMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaTwoSidedMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::DwaVelvetMaterial::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ExtraAovMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::FloatToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::GlitterFlakeMaterial::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::GradientMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColorCorrectMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColorPresetsMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairColumnMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairDiffuseMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairLayerMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairMaterial::3.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HairToonMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HalftoneDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::HsvToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ImageNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::LODMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::LayerMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ListMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::MacroFlakeMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::MultiChannelToFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseWorleyMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NoiseWorleyMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NormalDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::NormalToRgbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpenVdbMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OpenVdbMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::OverDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCameraNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectCylindricalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectPlanarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectPlanarNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectSphericalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarNormalMap::2.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ProjectTriplanarUdimMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RampDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RampMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RandomMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RandomNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RaySwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RemapDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RemapMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToFloatDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToHsvDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToHsvMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToLabMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::RgbToNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ShadowDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchColorMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchFloatMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchMaterial::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::SwitchNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TangentSpaceDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ToonDisplayFilter::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::ToonMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TransformNormalMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::TransformSpaceMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::UVTransformMap::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::VectorDisplacement::1.hda: Invalid argument
error: unable to create file houdini/otls/Vop::DW_MOONRAY::WireframeMap::1.hda: Invalid argument



Submodule path 'moonray/moonray_gui': checked out '1f00f0bcdae8ca9b40d8923fdc3c17c1b787836e'
Submodule path 'moonray/moonshine': checked out '963c933892f8d1dbb6a794834c72de06df88dd7e'
Submodule path 'moonray/moonshine_usd': checked out '1d850a4cdd40220e7ccd62157f360f2c36977b75'
Submodule path 'moonray/render_profile_viewer': checked out '4c35f67ed99fbfb13f523de39278cb2e45d4bb61'
Submodule path 'moonray/scene_rdl2': checked out '69412c549b8d3c7d992a8471d7973b774e5cda89'
Submodule path 'moonray/moonray_arras/mcrt_computation': checked out 'b3190ce32008445b08b1e09a691a1b7540147ef5'
Submodule path 'moonray/scene_rdl2': checked out '69412c549b8d3c7d992a8471d7973b774e5cda89'


fatal: Unable to checkout 'e90ad4cdc4086c9e952e211d1570e0416af467c6' in submodule path 'moonray/moonray_dcc_plugins'

does anyone know how to fix that? Thanks so much!

Cannot configure submodule dependencies to be external

Hi there!

In our facility (Animal Logic) we use rez to define external dependencies, and don't build projects using git submodules. Would it be possible to please follow project examples like OpenImageIO to allow a user to manually define all the dependencies of the project?

The reason this is currently not possible is the fact that you just use:

add_subdirectory(arras)
directly, instead of allowing the user to define where this dependency comes from. Same for the USD hydra dependency etc. So in order to specify external dependencies I need to hack your CMakeLists.txt to remove the direct add_subdirectory calls, which I shouldn't have to do.

The way you can control this in OpenImageIO is by using this: https://github.com/OpenImageIO/oiio/blob/master/src/cmake/externalpackages.cmake, which makes it really easy to configure external packages manually, which is what we need to be able to do in order to make use of this project.

I am currently in the process of jerry-rigging this into my local version, and I'm happy to contribute something back to allow this if is helps, but it would be a good idea for you guys to do this regardless.

Thanks!

Request: Prebuilt binaries (Win,Linux,MacOS)

Hi,
I would ask for prebuilt binaries on the releases page for three main OSes (win,lin,macOS).. similar to blender’s support..
But learned from issues,that only Linux is currently supported, and on MacOS, Gpu support must be disabled..
Still, please keep issue open, until moonray is buildable on Windows and MacOS and prebuilt binaries can be added..
Thanks..

Issue compiling Rocky 8.5 Step 4 #cmake --preset container-release

Hello, I am building against Rocky 8.5 and I get this error when doing the # cmake --preset container-release

CMake Error at /installs/cmake-3.23.1-linux-x86_64/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Libuuid (missing: Libuuid_LIBRARY Libuuid_INCLUDE_DIRS)
Call Stack (most recent call first):
/installs/cmake-3.23.1-linux-x86_64/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/cmake/FindLibuuid.cmake:14 (find_package_handle_standard_args)
arras/arras4_core/CMakeLists.txt:34 (find_package)

Vulkan support

MoonRay currently relies on (proprietary) NVIDIA technologies to function, and falls back to the CPU when needed. It would be better to instead support Vulkan, which also works for compute, and is an open standard. This allows it to work on any system that supports Vulkan, including, but not limited to, Qualcomm, Intel, AMD, and NVIDIA, as well as several operating systems (Windows, Linux, Android, and even the BSD family (and macOS via MoltenVK).

As Vulkan also works for graphics, MoonRay could benefit from this as well, since Vulkan allows for better integration with compute and graphics tasks.

Issue with building

Hello! Currently running into an issue that's put a total halt on installation progress. I have USD installed and all the environment variables set properly, but whenever I try to start the actual build process (cmake --preset container-release), it gives me this error:

CMake Error at moonray/hydra/CMakeLists.txt:38 (find_package):
  By not providing "Findpxr.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pxr", but
  CMake did not find one.

  Could not find a package configuration file provided by "pxr" with any of
  the following names:

    pxrConfig.cmake
    pxr-config.cmake

  Add the installation prefix of "pxr" to CMAKE_PREFIX_PATH or set "pxr_DIR"
  to a directory containing one of the above files.  If "pxr" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!

I can't proceed because the next command says it can't make directories, so it's stopping. I presume that's caused by the above error.

GPU: Unable to load PTX file

MoonRay CPU is working from the command line, but I get this error when trying to enable XPU:

Warning (lib.render): GPU: Unable to load PTX file: /shaders/GPUPrograms.ptx   ...falling back to CPU vectorized mode
Error: GPU: Unable to load PTX file: /shaders/GPUPrograms.ptx   ...falling back to CPU vectorized mode

The shaders folder is indeed empty. I'm running vanilla CentOS 7 with a 1070 Ti and a 1060. The GPUs are confirmed working in Karma XPU in Houdini.

OpenImageIOMoonray

Hi there,

First of all, thanks for opening this awesome piece of software!
I'm trying to build OpenMoonRay on Arch Linux, but cmake fails to find OpenImageIO (which is installed).
It requieres to have a file called filesystem.h, which is part of a custom build of oiio.

Would be cool to know what is changed or be able to use the default filesystem.h

About the suffix ":shared" of volume option of docker container

Hi, first I'm really appreciate for opening this amazing project as open source.

I'm trying to follow the instruction for building MOONRAY using docker container, but found weird section.

docker run -v /source/openmoonray/building/ubuntu22.04:/building:shared  -v /optix:/optix:shared --network=host --rm -it openmoonray_base

The documentation gets me to add the suffix :shared at the end of the volume directory, but it shows an error that "[My directory] is mounted on /home but it is not a shared mount".

As I know, it is sufficient to use -v /source/openmoonray/building:/building

Is there any special purpose for the :shared keyword?
I couldn't find any matching section from docker document.

Thank you.

No rule to make target 'Makefile'

Okay, so I figured out my last issue (needed to wipe the hard drive Moonray was installed on). Now, however, in Step 3, gmake is telling me there's no rule to make target 'Makefile'. Shouldn't the makefile already exist?

Cannot find Optix.tar in /tmp directory

Hey there,

I am currently running CentOS-7, and I am trying to build moonray.

In step 3 from the docs, (documentation),

It says that I need to copy optix.tar from /tmp, however, I cannot find optix.tar in my /tmp directory.

Is there any way to get it from somewhere else?

Building on ARM64

How could I build this on Mac M1 or Raspberry Pi 4? AFAIK it relies on CUDA and x86.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.