question

Klaus Skovbo avatar image
Klaus Skovbo asked ·

Arnold not rendering material Houdini Solaris

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.


  • Inside a LOP network I am using "sopimport" to import a basic cube

  • I am using the "material library" node with an "Arnold material builder node", which has a "standard surface" inside of it. The standard surface just have a constant color, no maps.

  • I am then then assigning the "Arnold material builder" node via an "assign material" node.


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

arnoldhoudinihtoahtoa arnold houdinisolaris
1592157505188.png (334.2 KiB)
test.zip (35.9 KiB)
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered ·

you need to add a light !

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Klaus Skovbo avatar image
Klaus Skovbo answered ·

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,


whiterender.jpg (327.6 KiB)
3 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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.

0 Likes 0 · ·

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!


0 Likes 0 · ·

Sounds good! Please keep us in the loop, if this issue resurfaces.

1 Like 1 · ·
Klaus Skovbo avatar image
Klaus Skovbo answered ·

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.


arnold_working.jpg


arnold-working.jpg (82.4 KiB)
3 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Could you please go to Help / About Houdini, click on Show Details then Save and share the resulting file?

0 Likes 0 · ·

Hi,

No problem. File attached here:

Houdini_Info.txt



0 Likes 0 · ·
houdini-info.txt (13.9 KiB)

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.

0 Likes 0 · ·
Klaus Skovbo avatar image
Klaus Skovbo answered ·

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?


karma.jpg


arnold.jpg


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?




karma.jpg (69.8 KiB)
arnold.jpg (115.4 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Klaus Skovbo avatar image
Klaus Skovbo answered ·

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?


test.zip


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?



arnold.jpg



Versions:

versions.jpg



arnold.jpg (115.4 KiB)
versions.jpg (26.2 KiB)
test.zip (62.9 KiB)
1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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.

0 Likes 0 · ·
Pal Mezei avatar image
Pal Mezei answered ·

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.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.