Log in or register to post comments

Matrix34F projMatrix = mRenderingPrimitives.getProjectionMatrix()

July 19, 2018 - 1:19am #1

Hello guys,

I am using the Vuforia sample for play video. But I take  "Unable to update video background texture" error because of;

Quote:

Matrix34F projMatrix = mRenderingPrimitives.getProjectionMatrix(viewID, state.getCameraCalibration());

method needs 3 parameters but sample use 2 parameters. I added a random int value but it does not work. I am newbiee on Vuforia for Android Studio there for could you guys help me to solve this problem?

 

Thank you

 

Matrix34F projMatrix = mRenderingPrimitives.getProjectionMatrix()

July 19, 2018 - 4:57pm #2

Hello,

Actually, there are two variants of RenderingPrimitives.getProjectionMatrix(). One takes 2 parameters, and the other takes 3:

https://library.vuforia.com/content/vuforia-library/en/reference/java/classcom_1_1vuforia_1_1RenderingPrimitives.html#a08759895c72524aafa3cb9b287f8a070

Thanks,

Vuforia Engine Support

Log in or register to post comments