question

Lurk Lurkson avatar image
Lurk Lurkson asked ·

How to link files in overrides?

Hi,

I am having troubles with the overrides in the arnold procedural. I can't get the disp_map expression to work, it always give me "unresolved reference". I guess I am writing the path wrong, but I tried everything I could guess. Can someone tell me the exact format, if absolute or relative and with or without quotation marks?

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

Peter Horvath avatar image
Peter Horvath answered ·

Displacement and Subdivision modes are added to the Arnold Procedural parameter overrides in C4DtoA 2.3.1. Check this tutorial.

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.

Lurk Lurkson avatar image
Lurk Lurkson answered ·

Thanks Peter, got it working. I couldnt get my head wrapped around it and tried desparedly to specify the file, not the node in the shader :S

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.

Peter Horvath avatar image
Peter Horvath answered ·

Should be the same. Instead of the noise shader in the example you have an image shader or a displacement shader in your Arnold material, right? So you have to reference its name instead of the noise.

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.

Lurk Lurkson avatar image
Lurk Lurkson answered ·

Thanks for that example Peter, the problem is I have a displacement map as .tx. And I still cant get it to load it. It always tells me 'unresolved reference'. this was why I was asking how to properly reference the image node in the shader.

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.

Peter Horvath avatar image
Peter Horvath answered ·

Check out this scene, which uses the set_parameter operator:

displacement-override-example.zip

To see the changes you have to restart the IPR. This workflow will be much better in the next release, which will be out soon.


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.

Lurk Lurkson avatar image
Lurk Lurkson answered ·

The thing is, it loads the shader and loads also all the other maps perfectly fine. Just displacement is not happening.

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.

Peter Horvath avatar image
Peter Horvath answered ·

It's maybe because the shader you want to overwrite with is not exported? Normally a shader/material is exported only when it's 'used', which means the plugin detects that it's linked to an object. If you just specify the name in the override expression, the plugin does not know, it's used.

You can try to use the set_parameter operator instead, which has the 'Linked nodes' field specifically for this.

In the next release I will add a new Displacement option to the procedural overrides to make things easier.

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.