Hi.
I have implemented the cloud reco for augmneted reality on image. it is working perfectly.. but the main problem is that in the sample app of cloud reco there is frame of TargetOverlayView is when i change the view frame from x = 512 (width in xib), y= 256(height in xib) to x = 320 (width in xib), y= 460(height in xib) for iPhone device at that time. when i scan image and try to show augmented overlay view on image at that time my TargetOverlayView view becomes black nothing i can see. but moving from scanned image to another at that time my target overlay view i can see. but when i change its frame size to original x = 512 (width in xib), y= 256(height in xib) than its works perfectly... is this augmented works only for that particular frame....
i thought this is problem regarding to Transition3Dto2D i have changed the code in this method
QCAR::Matrix44F Transition3Dto2D::getFinalPositionMatrix()
from // iPhone Portrait // iPhone Portrait x = 512; changed this to the frame x = 320; y = 256; y = 460;
but nothing change i am still getting the ovarlay image black....
can anybody please tell me what is the problem?
problem with targetoverlayview frame in cloudreco sample.
The most likely problem is that you are trying to use Non Power of Two (NPOT) texture sizes which are probably not supported in the OpenGL implementation of the device you are using.
If you try with 256*128, and other POT sizes, chances are it will work.
HTH
N
problem with targetoverlayview frame in cloudreco sample.
Thanks NalinS for your help and giving me time..... i found that problem it was same as you answered me.... and i have to make some (several) changes in my application but it solved my problem...
Thanks again.
problem with targetoverlayview frame in cloudreco sample.
No problem, glad to help and glad to hear the problem is sorted :)
N