"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Real image size

Hi, Basically, my question is very simple, and I just want to make sure that I get things right. I followed (successfully) the instruction from this link: [url]https://ar.qualcomm.at/qdevnet/forums[/url] in order to render a 2D image. Now, assuming that the real size of my image is twice as big as the size of the image target, and I want to use the target size in order to set the drawing area accordingly. My question is whether I should set the planeVertices to: static const float planeVertices[] = { -1.0, -1.0, 0.0, 1.0, -1.0, 0.0, 1.0, 1.0, 0.0, -1.0, 1.0, 0.0, }; or maybe to write something like this: SampleUtils::scalePoseMatrix(2.0 * targetSize.data[0], 2.0 * targetSize.data[1], 1.0f, &modelViewMatrix.data[0]); Are these two solutions valid/equivalent? More over, what does the 'kObjectScale' stand for? And why is it set to '3'? Best, S.

[QUOTE] Are these two solutions valid/equivalent? [/QUOTE] Yes, they are basically equivalent.

Thanks Kim, I'd also vote for the unit plan solution (and setting the scale), but I thought maybe there's a specific reason for which you (Kim) chose to use '0.5' in the example you posted for 2D rendering. If both solutions are equivalent, I'd also prefer to use the unit plane approach. Tnx, S.

I was defining a unit plane as one that is 1 unit across, centered at the origin (hence -0.5, 0.5). Use what works best for you though! - Kim