Hello,
have a look at the VideoPlayback.cpp file, in the renderFrame() function, this is where you can change the code to adjust both the position and size (scale) of the icons; you will find this code:
SampleUtils::translatePoseMatrix(0.0f, 0.0f, targetPositiveDimensions[currentTarget].data[1]/1.98f,
&modelViewMatrixButton.data[0]);
SampleUtils::scalePoseMatrix((targetPositiveDimensions[currentTarget].data[1]/2.0f),
(targetPositiveDimensions[currentTarget].data[1]/2.0f),
(targetPositiveDimensions[currentTarget].data[1]/2.0f),
&modelViewMatrixButton.data[0]);
SampleUtils::multiplyMatrix(&projectionMatrix.data[0],
&modelViewMatrixButton.data[0] ,
&modelViewProjectionButton.data[0]);
That's where you need to apply your custom changes.
Hello Al,
I have implemented the solution using the shaders. I am setting the alpha value to 0.50. I am having another issue here. There seems to be a dark black background around the busy/play/error icons. How can I fix that? Is there any line of code I need to modify to fix the background color that is applied to the icon overlays?
Thanks,
Binu Paul