State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:11.0v1|BugID:267674|
Problem summary
Default values cannot be set for a float4x4 matrix and a float3x3 matrix in blink scripts
Customer reported version
nuke.10.5v1
Customer reported platform
10.12
Steps to reproduce
1) Open Nuke
2) Create a BlinkScript node
3) Replace the Kernal Source with the code below, and Recomplie:
kernel TestMatrixKernal : ImageComputationKernel<ePixelWise>
{
Image<eWrite> dst; // the output image
param:
float4x4 testMatrix;
void define() {
defineParam(testMatrix, "test Matrix", float4x4(1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0));
}
void process() {
}
};
4) Check the Kernel Parameters, the Matrix should be filled with 1 values, instead they are 0We're sorry to hear that
Please tell us why