how to use arnold matrix interpolate?

how to use arnold matrix interpolate?

nobody_b
Enthusiast Enthusiast
714 Views
3 Replies
Message 1 of 4

how to use arnold matrix interpolate?

nobody_b
Enthusiast
Enthusiast

 

Matrix Interpolate says interpolates between different matrices
but in Maya, it only has one matrix input (placementMatrix)?
how do i connect more than one matrix to it?

0 Likes
715 Views
3 Replies
Replies (3)
Message 2 of 4

Stephen.Blair
Community Manager
Community Manager

The matrix_interpolate shader takes an array of matrices.

For example:

noise
{
 name aiNoise1
 scale 0.200000003 0.200000003 0.200000003
 coord_space "world"
 P aiMatrixMultiplyVector1
}

matrix_multiply_vector
{
 name aiMatrixMultiplyVector1
 input aiStateVector1
 matrix matrix_interp
}
matrix_interpolate
{
name matrix_interp
 matrix 1 2 MATRIX
 1 0 0 0
 0 1 0 0
 0 0 1 0
 -7 0 0 1
 1 0 0 0
 0 1 0 0
 0 0 1 0
 7 0 0 1 
}
state_vector
{
 name aiStateVector1
 variable "P"
}


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

nobody_b
Enthusiast
Enthusiast

maya hypershademaya hypershade
i guess i can't do this within Maya's UI?

0 Likes
Message 4 of 4

Stephen.Blair
Community Manager
Community Manager

This is the Arnold forum, so I figured you were building the scene programmatically.



// Stephen Blair
// Arnold Renderer Support
0 Likes