question

ratus ra avatar image
ratus ra asked ·

C4DtoA no material preview (black square with red around)

Hello,

I don't know why but since I updated arnold to 2.5.0 and now 2.5.1 all my materials previews turn to black with a red contour but my renders are ok

Any thought ?

Thanks

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

ratus ra avatar image
ratus ra answered ·

Well done peter !

Would be nice to report preview render errors in the console, trying to add this to the next release.

on this site or with c4d application ?

what should I do exactly ?

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

You don't have to do anything. I will update the code to display the error message in the console, so users will have a better understanding of why the material preview is not rendering.

0 Likes 0 · ·

ah ok I understand, yes it's a good idea to inform users

0 Likes 0 · ·
Peter Horvath avatar image
Peter Horvath answered ·

OK, got it. At least on my system the previews fail, because the color manager in the scene is set to OCIO and the config file is defined by the OCIO environment variable ($OCIO) which is not set on my system.

Would be nice to report preview render errors in the console, trying to add this to the next release.

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 ·

I'm glad you could finally solve it. I can reproduce the issue in your scene and I'm trying to figure out what's going on and fix this.

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.

ratus ra avatar image
ratus ra answered ·

Ok finally I have found a solution to recover my corrupted materials:

1. create a new scene

2. merge the corrupted scene

3. right clic on a black square of death an choose "Render All Materials"

4. some materials will stay black because of the path of the texture not good

5. to fix this go to plugins>c4dtoA>Asset/tx Manager

6. in the manager clic "select missing" and clic "relink" button next to it

7. choose texture location and that's all, everything is fixed !!

Thank to Peter and Alex for their help !

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.

ratus ra avatar image
ratus ra answered ·

Alex and peter, thanks for your help

I have already done this with my corrupted scene and it was not working so peter you are right, it's a problem with the local scene

Here it is and if I try to Render Materials as Alex said, it's not working at all, materials stay black

arnold-corrupted-scene.zip


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.

ALEX ALTMANN avatar image
ALEX ALTMANN answered ·

Was playing with this a little more. Fastest way is to select all of the shaders with the black box, then right click and select "Render Materials". Don't have to do them individually then.

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.

ALEX ALTMANN avatar image
ALEX ALTMANN answered ·

I've had this happen as well. Double click on the shader in question. When the window opens, right click on the black square with red outline and select either a new size or preview type. It recreates the preview.

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 ·

If I change a parameter or open the network editor, which triggers an update, then the previews render fine.

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.

ratus ra avatar image
ratus ra answered ·

When I import them they are black

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.

ratus ra avatar image
ratus ra answered ·

Here is the corrupted materials library

arnold-corrupted-mat.zip


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.