"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

Loading slideshow problems

Hi,

I tried to change a bit CloudReco sample, so that I can show a slideshow insted of one image. Ended up with various wrong results:

- on target it's showing one slide, off target another one... this is the most frequent situation. Do I have to do something extra to be able to show norml slideshow insted of one resource? I made a method to switch slides, but I ended up with static image (slide #1) on target and static image off target (slide #3).... any idea?

I have a NSMutableDictionary in my Content class (equvalent of Book class) and in TargetOverlayView I have methods for firing up NSTimer and changing slides...

Hi chwastek

Just wondering whether you might be better off by changing the code in CROverlayViewController.mm

... as this controls the view - if you look at the code you can see where sets up the book cover and uses timers etc.

actually, I'm trying to implement scrollView inside TargetOverlayView, but still no success :( can anyone tell me one thing for now: how to force ON target overlay, to refresh its content from time to time - it is working OFF target, but ON it's a mess.

In my experience UIViews can be slow to update if you set any IBOutlet / member outside the actual class/object.  I have seen this when decoding JSON outside a UIView  and then calling setNeedsLayout().

edit:

bookCover image is updating! Whole TargetOverlayView is updating too, but when I point ON target every update inside TargetOverlayView makes 3d stuff, shown on a plane, dissappear - so I have to repeat steps: targetLost -> targetReacquired....

 

I mean, how hard can it be to just change texture on the run - whatever if you tap, set timer or anything else - I don't believe that you don't have ways, to simply change texture without loosing & reacquiring target....