Community
Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[HtoA 4.2.0] Export with Shader assignements only, "unresolved" error?

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
589 Views, 6 Replies

[HtoA 4.2.0] Export with Shader assignements only, "unresolved" error?

Hey,

I have a few buildings with various shaders assigned, which I then scatter on a grid to make a very basic city. I exported each building to its own .ass file and load them back as instances. So far so good.

Since I'd like to be able to continue tweaking the shaders or at least not save every shader in each archive, I unchecked the "export shader" box and kept "shader assignements". I supposed it would then automatically resolve the shaders paths. Instead, I get this error :

00:00:05   627MB ERROR   |  [ass] line 21: /obj/exportBuildings/polygons.shader: unresolved reference to '/mat/AR_Glass_Toon/standard_surface2'
00:00:05   627MB ERROR   |  [ass] line 21: /obj/exportBuildings/polygons.shader: unresolved reference to '/mat/AR_Base_Toon/standard_surface2'
00:00:05   627MB WARNING |  Aborted by user:  received abort signal

In order to get the render to proceed, I have to be sure the original object I exported the buildings from is visible and the needed shaders are assigned. Doesn't matter if the geo is now a grid, as long as the materials are all assigned to it.

What am I missing ? Can't instanced ass files find their materials back in the scene provided the path and names are exactly the same ? Do I have to export the shaders too ?

Thanks

Labels (3)
6 REPLIES 6
Message 2 of 7
Stephen.Blair
in reply to: Anonymous

Sounds like you're not forcing the export of the shaders from the scene.



// Stephen Blair
// Arnold Renderer Support
Message 3 of 7
Anonymous
in reply to: Anonymous

How should I proceed with that ? I tried both forcing the relevant materials in the rop and ticking Export Referenced Materials, in both the archive exporting and the image rendering rops... Still no luck. I suspect /mat/ since it's pretty new and it doesn't yet appear in all UIs ...

Message 4 of 7
Stephen.Blair
in reply to: Anonymous

Forced Materials



// Stephen Blair
// Arnold Renderer Support
Message 5 of 7
Anonymous
in reply to: Anonymous

No luck ... I had tried it already and it didn't work, still give it another go but no dice. I'll try to make a mockup when I'm back home...

Message 6 of 7
Anonymous
in reply to: Anonymous

Aaaah well. It was indeed because of the MAT context. Transfered the shaders to SHOP and forced them in the rop, it works. But forcing from MAT doesn't work. 😞

Looks like the mat context is still a work in progress as of 4.2.0 !

Message 7 of 7
Stephen.Blair
in reply to: Anonymous

It's working for me.



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report