Hi I am using phonegap wikitude sdk.I want to display the video based on the different device screen resolution.
How to convert the pixel in SDUs to use in VideoDrawable.
Thanks in Advance.
W
Wolfgang Damm
said
over 9 years ago
If the goal is to have a physical size that is similar across all screens, you can set the AR.scene.globalScale property to -1 which enables auto scaling. We have introduced this with SDK version 3.3.
There is no easy way to calculate how many pixel an object with a certain size in SDUs will use. This depends on the viewing angle of the camera, the distance of the object, screen resolution, ... .
If the above does not help you to reach your goal, just let us know.
Pallavi Pawar