Mobile and normal scale for windows text

  • I use these parameters for my text windows:
    <hotspot name="p4_parete"
    type="text" html="data:p4_parete"
    padding="10"
    width="250"
    bgalpha="0.90"
    bgcolor="0xe5e5e5"css="font-family: MiloPro; font-size:14px"
    bgroundedge="5"
    flying="1"
    ox="0"
    enabled="false"
    zorder="999999999999"
    alpha="0"
    distorted="true"
    mipmapping="true"
    oversampling="4"
    depth.mobile="200"
    depth.normal="80"
    scale="0.1" />

    I have to scale down the text in "mobile" version 'cause on Oculus Go the text appear huge at the same scale of "normal" view.

    So I obtain a correct visualization both in desktop view as in Oculus GO
    or other Web VR visualizations.But when I'm on a mobile devices, before
    to enter in VR mode, the text windows appear very small, like you can
    clearly see (on mobile) in that vr tour:http://demo.visual4d.it/VR_terraxcube/to…tscene=scene_p5


    Obviously I've missed something.


    There's a way to unify the window dimension in all these 3 scenarios?Thanks a lot for help me.


    Luca



  • I think to have resolved by myself, so want to share the solution for other users:
    Setting distorted="false" have resolved the problem, the size of the windows text between Mobile smarthpone/tablet and mobile Oculus are ok now.

    So these are the parameters that works correctly in all devices:


    distorted="false"
    depth.mobile="150"
    depth.normal="100"
    scale="0.1"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!