Camera Resize in SLARToolkitWinPhoneSample

Jun 9, 2014 at 9:56 AM

I am having an issue when i try to resize the size of Camera Screen in SLARToolKitWinPhoneSample into 800x480 (it was 640x480), and add some videoBrush Strecth properties like in this code (the bold one).
 // Fill the Viewport Rectangle with the VideoBrush
                                   var vidBrush = new VideoBrush();
                                   __vidBrush.Stretch = Stretch.UniformToFill;__
                                   Viewport.Fill = vidBrush;
and the object showed not right at the top of the marker, but it moves from the actual position when it was not changed. Please someone help me!


Thank you,