"color_space" parameter is not exported to ass

"color_space" parameter is not exported to ass

kitaguchi-kazuya
Enthusiast Enthusiast
1,064 Views
5 Replies
Message 1 of 6

"color_space" parameter is not exported to ass

kitaguchi-kazuya
Enthusiast
Enthusiast

When you exported a shader graph including aiImage nodes to an ass file from "Export Selected Shaders" command,

the ass would have no "color_space" parameter regardless of changing the default value.
This is obsolutely a bug.

 

My environment is MtoA5.4.2.1 on Maya2024.2.

0 Likes
Accepted solutions (1)
1,065 Views
5 Replies
Replies (5)
Message 2 of 6

kitaguchi-kazuya
Enthusiast
Enthusiast

Case1: Arnold > Scene Export > Export Selection to .ASS

image
{
name aiImage1
filename "C:/Users/#####.png"
color_space "sRGB"
filter "closest"
multiply 0.314999998 0.314999998 0.314999998
offset 0.5 0.5 0.5
missing_texture_color 0 0 0 1
}

Case2:Arnold > Shaders > Export Selected Shaders

image
{
 name aiImage1
 filename "C:/Users/#####.png"
 filter "closest"
 multiply 0.314999998 0.314999998 0.314999998
 offset 0.5 0.5 0.5
 missing_texture_color 0 0 0 1
}

 

0 Likes
Message 3 of 6

Stephen.Blair
Community Manager
Community Manager

In case 1, you're also exporting a color manager node, right? 

MtoA does not export image.color_space if there's no color manager. I guess that's a bug, or it was a design decision.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 4 of 6

kitaguchi-kazuya
Enthusiast
Enthusiast

@Stephen.Blair wrote:

In case 1, you're also exporting a color manager node, right? .


Yes.I exported a color manager node as well.
I noticed the following about "Export Selection to .ASS".
If  I turned off "Color Manager" in the options dialog and then pressed "Export Selection",
"Color Manager" option in the next file dialog was turned on again.

I figured out that MtoA didn't export color space parameter when a color manager node was not exported.
But this specification was not good for me because a definition in a shader graph was not able  to be exactly represented.

0 Likes
Message 5 of 6

kitaguchi-kazuya
Enthusiast
Enthusiast

This issue still occurs when exporting to ASS or USD.
There were no issues with MTLX.

0 Likes
Message 6 of 6

Stephen.Blair
Community Manager
Community Manager
Accepted solution

Yes, the ticket is still open.

MTOA-2045
Export Selected Shaders does not set image.color_space



// Stephen Blair
// Arnold Renderer Support