Package Details: openmoonray 3.6.0.1-1

Git Clone URL: https://aur.archlinux.org/openmoonray.git (read-only, click to copy)
Package Base: openmoonray
Description: DreamWorks Animation's open-source Monte Carlo ray tracer
Upstream URL: https://github.com/dreamworksanimation/openmoonray
Licenses: Apache
Submitter: gonsolo
Maintainer: gonsolo
Last Packager: gonsolo
Votes: 1
Popularity: 0.003861
First Submitted: 2025-08-18 09:43 (UTC)
Last Updated: 2026-04-25 09:43 (UTC)

Latest Comments

gonsolo commented on 2025-08-22 15:51 (UTC)

ISPC v1.28.1 resolves all issues. Patching is not necessary anymore.

gonsolo commented on 2025-08-19 09:50 (UTC)

It seems to me that a few dependencies are missing: libmicrohttpd cppunit qt5-base qt5-script openimagedenoise usd and AUR one: random123

I updated the PKGBUILD, thanks.

Nurmukhametov commented on 2025-08-18 15:05 (UTC) (edited on 2025-08-18 15:16 (UTC) by Nurmukhametov)

It seems to me that a few dependencies are missing: libmicrohttpd cppunit qt5-base qt5-script openimagedenoise usd

and AUR one: random123

gonsolo commented on 2025-08-18 09:56 (UTC) (edited on 2025-08-18 10:00 (UTC) by gonsolo)

moonray has to be started like this:

moonray -threads 24 -out bla.exr -size 128 72 -dso_path /usr/rdl2dso/ -in scene.rdla -in scene.rdl

gonsolo commented on 2025-08-18 09:45 (UTC) (edited on 2025-08-18 09:46 (UTC) by gonsolo)

ISPC v1.28.0 has to be patched for moonray to work: https://github.com/ispc/ispc/issues/3545

From 34076d71e740812c4e71d338211ae7287b04f645 Mon Sep 17 00:00:00 2001
From: Gon Solo <gonsolo@gmail.com>
Date: Sat, 16 Aug 2025 21:19:39 +0200
Subject: [PATCH] Fix Openmoonray.

---
 src/ast.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ast.cpp b/src/ast.cpp
index f4c66b6e..bdc19c7e 100644
--- a/src/ast.cpp
+++ b/src/ast.cpp
@@ -364,7 +364,7 @@ static ASTNode *lOptimizeNode(ASTNode *node, void *) {
         return node;
     }

-    Assert(node->IsTypeChecked() && "Node must be type-checked before optimization");
+    //Assert(node->IsTypeChecked() && "Node must be type-checked before optimization");

     // Mark that we're starting the optimization process for this node
     node->StartOptimize();
-- 
2.50.1
From 87913aab2ddc356d38fe13934befda84b43cf247 Mon Sep 17 00:00:00 2001
From: Gon Solo <gonsolo@gmail.com>
Date: Sat, 16 Aug 2025 22:20:48 +0200
Subject: [PATCH 2/2] Fix Openmoonray II.

---
 src/expr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/expr.cpp b/src/expr.cpp
index 43e453c9..b19a1f7e 100644
--- a/src/expr.cpp
+++ b/src/expr.cpp
@@ -4341,7 +4341,7 @@ const Type *FunctionCallExpr::GetLValueType() const {
         return nullptr;
     }
     const FunctionType *ftype = CastType<FunctionType>(type);
-    if (ftype && ftype->GetReturnType()->IsReferenceType()) {
+    if (ftype && (ftype->GetReturnType()->IsPointerType() || ftype->GetReturnType()->IsReferenceType())) {
         return ftype->GetReturnType();
     } else {
         // Only be a valid LValue type if the function returns a reference
-- 
2.50.1