Wrong uvw_matrix data when importing Arnold Shader in Houdini

Wrong uvw_matrix data when importing Arnold Shader in Houdini

osukas
Advocate Advocate
202 Views
2 Replies
Message 1 of 3

Wrong uvw_matrix data when importing Arnold Shader in Houdini

osukas
Advocate
Advocate

Hello, we are importing some shaders .ass in Houdini

The standard surface has an IMAGE conected through a UV_TRANSFORM to move the texture
to move it we use the UVW_MATRIX at the bottom of the Uv_transform node

 uvw_matrix 
 0.5 0 0 0
 0 0.5 0 0
 0 0 1 0
 0 0.09 0 1


The shader was made in 3dsmax with Arnold, when we export it we checked the .ass file in "text editor" and the uvw_matrix has the right numbers.

But when imported to Houdini my shader looks wrong, we saw the uv_transform and got this:

image (3).png

 if we manually change the numbers the material looks good, for testing we exported this shader .ass and then reimported to Houdini. The reimport has the wrong uvw matrix again, we checked the .ass file in text editor and the writting on the file is right

uv_transform
{
 name /mat/PALM_tree_leaf_1/Map__70
 passthrough /mat/PALM_tree_leaf_1/Map__70_image
 uvcoords 0 0 0
 coverage 0.5 0.5
 scale_frame 1 1
 translate_frame 0 0
 pivot_frame 0.5 0.5
 wrap_frame_u "mirror"
 wrap_frame_v "mirror"
 wrap_frame_color 0 0 0 1
 repeat 1 1
 offset 0 0
 pivot 0.5 0.5
 noise 0 0
 wset "w"
 uvw_matrix 
 0.5 0 0 0
 0 0.5 0 0
 0 0 1 0
 0 0.09 0 1
}

remported the Houdini ass to Max and i get the right numbers

osukas_0-1731404071321.png


is this a bug? or there is another way to import this data?

 

0 Likes
203 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager

It's a bug.
Maybe you could use a Float to Matrix node, plugged into the uvw matrix? And export that shader tree.



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3

osukas
Advocate
Advocate

Hello Stephen, thanks, with the Float to Matrix node is working when imported in Houdini

I need to try to make a maxscript that I can read the data from the uvw matrix and automatically pass it through a Float to Matrix node, I have like 50 images that i need to manually check

0 Likes