question

Olivier Colchen avatar image
Olivier Colchen asked ·

[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

shadershtoa arnold houdiniinstances
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.

Stephen Blair avatar image
Stephen Blair answered ·

It's working for me.

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.

Olivier Colchen avatar image
Olivier Colchen answered ·

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 !

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.

Olivier Colchen avatar image
Olivier Colchen answered ·

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...

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.

Stephen Blair avatar image
Stephen Blair answered ·

Forced Materials

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.

Olivier Colchen avatar image
Olivier Colchen answered ·

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 ...

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.

Stephen Blair avatar image
Stephen Blair answered ·

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

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.

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.