Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error invalid Image file

13 REPLIES 13
Reply
Message 1 of 14
Luis_Echevarria
2790 Views, 13 Replies

Error invalid Image file

Hi,
I'm doing a night scene with a building in it

1427-screenshot-7.png

and i want to put a concrete texture but when i try to connect it to the material it shows me that error

1426-screenshot-8.png

Tags (3)
Labels (3)
13 REPLIES 13
Message 2 of 14

Maybe it's because of that special character in the path (the user name). Could you try from another directory?

Message 3 of 14

Hi, I have the same problem, and I tried to another directory, still not solved.

When I use user_data_string to control image name that I meet this error. Textures are available when I connect directly to image_note.

Message 4 of 14
Stephen.Blair
in reply to: Zoe_Chen

What's the path shown in the error message? Is it the right path?



// Stephen Blair
// Arnold Renderer Support
Message 5 of 14
Zoe_Chen
in reply to: Stephen.Blair

ERROR| [texturesys] Invalid image file""

Message 6 of 14
Zoe_Chen
in reply to: Stephen.Blair
Message 7 of 14

It works fine for me.

That error message means there's no user data string on the object (or whatever is in the user data resolves to an empty string). Put a default for the user data shader so at least you see a default image.

2201-c4dtoa-user-data-example.jpg



// Stephen Blair
// Arnold Renderer Support
Message 8 of 14
Zoe_Chen
in reply to: Stephen.Blair

Thank you!

It can work fine after putting a default for the user data shader, but if don't put a default, It still can't render.

That video has no default also can work fine, and other user data notes (tint/rgb/rgba/float) do not need a default can work fine too.

A special node?

Message 9 of 14

The shader uses the default value because it does not find the user data on the object. What's the name of your User Data in C4D and what do you set as the attribute in the user_data shader? Note that special characters or space, etc. are not allowed in the name, they are replaced with underscore (_) when translated to Arnold.

Message 10 of 14

Hi stephen. how would we go about this if we're using a bitmap node to load a sequence.

much appreciated,
Jeffrey.

Message 11 of 14

Unfortunately reading the path from a user data does not work with a sequence. I can add support for a simple case, using the # characters in the name (e.g. /path/to/myimage.####.exr), but not for more complex cases (like looping, etc.).

Message 12 of 14

Hi there,

I have the same problem than Luis. I wanted to add an image to an Arnold texture and a 'Could not open the file' and 'Invalid image file' appear in the console. It's the same when I want to have an hdri in an Arnold Sky, I have this problem (I tried even without underscore (_) in the image name): 

Capture d’écran 2023-03-13 à 18.24.42.png

I'm on a MacBook Pro, 13" Intel i7, and running Arnold 4.5.1.2 on C4D R26.

 

Sorry if you already said the solution, but I don't understand how to make a "default for the user data shader" as I'm using an hdri? I'm a bit confuse when its needed to go deeply in c4d, I'm a new user of the software :'(

 

Thanks for your help,

Marion

Message 13 of 14

I'm not sure what's wrong. Maybe it's the space in the folder name "MARION/ TRAVAUX PERSO", although I don't see why it should not work. Permission issue perhaps? Does the same texture work in a Cinema 4D material?


// Peter Horvath
// C4DtoA developer
Message 14 of 14

Yes it's working with the C4D material. But you're right, it was because of the space (an emoji in my files) that Arnold couldn't found the files. 😅
Thanks a lot for your quick answer!

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

Post to forums  

Autodesk Design & Make Report