Log in or register to post comments

renderingPrimitives is invalid

August 1, 2017 - 3:41am #1

 

I have run below code every tick

renderingPrimitives = new Vuforia::RenderingPrimitives(Vuforia::Device::getInstance().getRenderingPrimitives());

viewport = renderingPrimitives->getViewport(Vuforia::VIEW_SINGULAR);

but  viewport is {0,0,0,0}  forever .

 

I have called Vuforia::CameraDevice::getInstance().init 

 

what should i do 

Log in or register to post comments