Hi,
I have an issue in Houdini / Solaris, where I am unable to get Arnold to render the material I have assigned to a piece of geometry.
When I switch to Arnold renderer it renders white. If I do the exact same thing, but using a "principled shader" from Karma, I can see the material assigned when I switch to the Karma renderer.
Am I missing something here with Arnold, doing it the wrong way?
Arnold result:
test file here: test.zip
I am using the following:
Houdini: 18.0.460
htoa: 5.3.0_r233605f_houdini-18.0.460
I also noticed that if go to Preferences > Rendering, I do NOT see the Arnold renderer in the list to choose from. Is this expected?
Any help would be appreciated!
cheers,
Klaus
Hi!
Rachid is correct, the scene is missing a light. If you set emission to 1 and emission color to any value, you can see the emission color showing up in the viewport.
However, there is definitely something we can improve here. When using Houdini GL, Storm or Karma, you can see a camera light lighting the scene. This is not supported in the Arnold render delegate, and is something we definitely should support.
I created a github issue for your problem: https://github.com/Autodesk/arnold-usd/issues/462
Cheers,
Pal.
Hi,
Thanks for the answers. I do actually have another scene where I had a light in it, however even in that scene it fails to render the mat. Also I tried putting emission on the material and I still get no material rendering.
I have uploaded a simple houdini scene below, would someone be willing to check if I have set it up correctly for Arnold? I guess it would be the same as for Karma? No extra Arnold specific things I need to do right?
Perhaps my Arnold is not installed correctly? Should it be showing in the list in Preferences>Rendering ? I have the Arnold menu in top left, plus all the Arnold nodes showing when I hit TAB. Any other way I can check everything is working correctly?
Versions:
Hi,
Thanks for the reply. I do not think that is the issue here, as when I add a light it shows Karma still rendering just fine. If I use the same light in Arnold it actually doesn't even render the shadows of the light?
Perhaps my Arnold is not working at all? Is there a houdini scene that has a cube, with a material on it and a light that I can download from somewhere?
hey, I had some replies pending mod review from last night and this morning. Would you be able to check please, as I don't think its a light issue. Thanks
Hi!
Looking at your images, the material is not applied to the surface and you are seeing the default material of the render delegate.
I will need to do more tests to figure out what's going on. This is how your file looks locally after setting the distant light's normalize power to true.
Cheers,
Pal.
Okay I literally just opened up Houdini and again and bam... Arnold is now rendering it correctly. Network is exactly the same as it was earlier.
Thanks! There is nothing obviously wrong with your environment setup. I was thinking it could be a second install of HtoA lingering around and causing a random behavior, but no luck.
I tried your scene again using 460 and the latest HtoA release, but the behavior was consistent for me, both on Linux and Windows.
Please let me know if you keep seeing this behavior in the future. One thing you could try is to reinstall HtoA and make sure the existing installation is completely removed from the disk.
Hi,
So this started happening again this morning. I had a scene going last night where Arnold viewport was showing everything fine, including materials and lights. I open up the same scene again this morning and it shows only white material again and no lights.
See screenshot here: whiteRender.jpg
Anything I can do my side?
Thanks,
One thing I noticed in your Houdini Info, you have a USD 20.02 build setup in the environment. Most importantly, the 20.02 python libs are added to PYTHONPATH.
The shader translation from Houdini to Solaris happens using a python script shipped in HtoA (husdtranslators/arnold.py). This script uses some standard pxr modules, some of which could be overridden by the custom build in the PATH. Could you try removing entries of X:\technology\software\thirdparty\USD\USD-0.20.2 from your environment. Most likely it would be enough to get rid of the ones from PYTHONPATH and PATH.
Hi,
Yep that could have been the issue. I have been able to render fine since removing those paths. I'll keep you updated in case it happens again and is not caused by the custom paths!
Thanks for your help again, much appreciated!
Hi,
I am also experiencing a similar problem here!
The interactive renders in the viewport and MPlay within the Solaris appears to be functioning correctly. The issue occurs when i am sending renders to the background - it either doesnt render correctly or doesnt appear to be taking into consideration the Solaris lights and Arnold material assignments.
The below example is using a dome light with a mapped hdr. I have created a MaterialLibrary node (Arnold material builder connected to a Collect node --> Surface Standard only with base color 1.0 / 0 / 0 and metalness 1.0) and subsequently used an AssignMaterial node.
Env file here -- Houdini_Info.txt
Hi!
I think our shader translator for Solaris fails to run when rendering in the background. That's a python script, and looking at your setup, you have C:\Users\ik\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\ik\AppData\Local\Programs\Python\Python39\ in your Path. Could you remove them from the global PATH and try again? Please let me know if that makes any difference.
Cheers,
Pal.
I think I know what's happening in your scene. Go to the "rgb" LOP and set the "Format" parameter to match your "Data Type".
Something like this:
From the solaris documentation:
The data format that should be used when saving this image plane to the output file.
It's set to "float" by default, so a color rendervar gets converted to a grayscale color.
Thank you for answering! I tried removing both the contents of C:\Users\ik\AppData\Local\Programs\Python\Python39\Scripts\ and the entire of C:\Users\ik\AppData\Local\Programs\Python\Python39 but Arnold shaders are still missing from the background renders.