By binspaul
on Sun, 06/30/2013 - 03:52
Hello,
1. Is there a way to set the size and position of the screen controls - busy, error and play. Right now, they are getting resized automatically. I would like to set them to a smaller size.
2. Also, is there a way to set the position of them instead of the default center position?
Thanks,
Binu Paul
Screen control size and positioning
Hello,
have a look at the VideoPlayback.cpp file, in the renderFrame() function, this is where you can change the code to adjust both the position and size (scale) of the icons; you will find this code:
Screen control size and positioning
Hello Al,
The solution worked. I have scaled the images by 8.
Is it possible to remove the video overlay image (VuforiaSizzleReel_1 and VuforiaSizzleReel_2) with a transparent one so that I can show the camera stream along with the hour glass overlay.
Thanks,
Screen control size and positioning
Yes, you can add some trasparency; one way of doing it is to modify the shaders so that the alpha component is set to some value between 0.0 and 1.0 (where 0.0 is fully transparent, 1.0 is fully opaque);
the relevant shader code is in:
Screen control size and positioning
Hello Al,
1. How to fix the issues caused by the non availability of the first 2 images? (See below) I want to replace them with a transparent view from the camera (with the busy.png overlay). Once the video is fully loaded, I want to have the opacity restored.
Screen control size and positioning
1. How to fix the issues caused by the non availability of the first 2 images?
Screen control size and positioning
[quote=AlessandroB]
Screen control size and positioning
1. Sorry for the confusing statements.
Screen control size and positioning
Hi,
Thanks for the guidance. Some more details are available at the link: https://developer.vuforia.com/forum/faq/opengl-how-do-i-scale-andor-position-my-models
Thanks,
Screen control size and positioning
Hello Al,