Ass Procedurals rendered red

Anonymous

Ass Procedurals rendered red

Anonymous
Not applicable

Hello, I have one scene and work on it with 2 computers. I use relative paths for textures and ass files. Althoug geometry is loaded textures on some procedurals fail to load and turn up red. Some procedurals render ok, like the bed in the back and bush on the left. I have designated search paths. Still textures wont load.
I would like to ask for advice.
5898-screenshot-2020-02-12-at-165304.png5896-screenshot-2020-02-12-at-165223.png5895-screenshot-2020-02-12-at-165215.png5894-screenshot-2020-02-12-at-165208.png

0 Likes
Reply
Accepted solutions (1)
1,587 Views
24 Replies
Replies (24)

peter.horvath6V6K3
Advisor
Advisor

Seems like your textures are specified with absolute paths, probably in the procedural ASS files. The Texture Search Path works only for relative paths. Make sure all textures specified relative when you export the procedurals (you can check in the Asset/Tx Mananger).

If your setup seems fine and you still have the error, it could be a bug somewhere.

0 Likes

peter.horvath6V6K3
Advisor
Advisor

Actually I could reproduce it. Seems like a bug with auto tx. If you disable auto tx or specify TX textures directly, then relative paths exported fine. I'll fix this ASAP.

0 Likes

Anonymous
Not applicable

Hello Peter,
I am relative path man, you won´t find single abosolute path in my assets or textures. It seem that when I export .ass file, .tx paths are exported along as absolute links.
5809-screenshot-2020-02-12-at-184258.png5808-screenshot-2020-02-12-at-184319.png

0 Likes

peter.horvath6V6K3
Advisor
Advisor

Yes, it's a bug, see my comment below.

0 Likes

Anonymous
Not applicable

not sure how exactly to reproduce your work-around, I still get red textures, or should I just wait for some sort of quick hot fix?

0 Likes

peter.horvath6V6K3
Advisor
Advisor

If you disable auto tx and re-export the procedural ASS files, that should work. Alternatively you can replace the absolute paths manually in the ASS files.

Or wait for the next release (coming soon) which will the fix the export. That means you have to re-export the procedural ASS files with the new build.

0 Likes

Anonymous
Not applicable

First option did not work for me. How/where can I change the .tx paths of .ass manually?

It would be good if during export .tx paths would copy behavior of original textures. Absolute stay absolute, relative stay relative.

thank you
daniel

0 Likes

peter.horvath6V6K3
Advisor
Advisor

You can open ASS files in a text editor.

0 Likes

peter.horvath6V6K3
Advisor
Advisor
Accepted solution

C4DtoA 3.0.2 has been released which has the fix to keep relative paths when auto tx is on. You have to re-export your procedural ASS files using this build. Please let me know if you still have issues.

0 Likes

Anonymous
Not applicable

Hello Peter,
after taking steps you mentioned, it still renders red. It is like it cannot find .tx files. But there are there, just like search paths.

5924-screenshot-2020-02-13-at-181716.png

5923-screenshot-2020-02-13-at-181705.png

5922-screenshot-2020-02-13-at-181657.png5921-screenshot-2020-02-13-at-182548.png

0 Likes

peter.horvath6V6K3
Advisor
Advisor

Do you have 'Search In Subfolders' enabled? What if you define the full folder path in the search path: /Users/MIKOLAJCAK/assets/Decoration/Organic/Textures/Pine Cones

0 Likes

Anonymous
Not applicable

I had "search subfolder on" all along. Arnold finally finds .tx when I specify exact search path: /Users/MIKOLAJCAK/assets/Decoration/Organic/Textures
is this another bug perhaps? Textures in the scene and .ass geometry are loaded fine without exact path specification.

0 Likes

peter.horvath6V6K3
Advisor
Advisor

Right, it's a current limitation, the subfolder option does not work for textures in procedurals. You have to specify the full path. I'll take a look if this can be solved.

0 Likes

Anonymous
Not applicable

Although as workaround it is ok, It would be very good if it need not to be specified for each ass object.
thanks

0 Likes

Anonymous
Not applicable

Hello Peter,
any success in the matter of subfolder search for ASS textures? ASS are in my opinion best way to reference external assets.

0 Likes

peter.horvath6V6K3
Advisor
Advisor

Sorry, it's not fixed yet. Since procedurals are black boxes, the difficulty here is to find the right solution which does not affect performance. Will let you know if I have a fix.

0 Likes

Anonymous
Not applicable

No Problem, take your time

0 Likes

Anonymous
Not applicable

Hello Peter,
since you mentioned viewport performance of ASS objects it reminded me that once ASS are set to display as wireframe, polywire, shaded polywire or shaded, FPS drops drastically to 4 fps.
when set to pointcloud fps goes to 20 and when it is set to bounding box, fps is 200.

However when I import original 3d plant (688000 triangles) mesh and display it as shaded mesh, fps stays at 200 and is barely affected. It is not ASS specific and happens with every referenced mesh.

I guess this has something to do with the subfolder path mapping as well.

Anyway viewport performance is already now very bad.

0 Likes

peter.horvath6V6K3
Advisor
Advisor

Sorry I missed that. I'm not aware of this issue, must be something with the viewport display code. Will take a look.

0 Likes