Posts by GIOLETS

    I often use that code in order to set the transparency angle for my hotspot:


    I all my Tour works without problems, but I have noticed that if I add the Tooltip plugin there is some conflict between the codes and my hotspots remains invisible, no matter which value of transparency I insert...
    Can someone give me an help , please?
    Thanks
    Luca

    First of al: many thanks for your answer.
    I have to say that I am really a novice about this kind of arguments.
    So the things that I have done are :
    1) in my tour.html file I've added after the <head> section:

    Code
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=xxxxxxxxxx "></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){window.dataLayer.push(arguments);}
      gtag('js', new Date());
    
    
      gtag('config', 'xxxxxxxxxx');
    </script>


    where "xxxxxx" is the Google Analytics ID code
    2) in my tour.xml file I've created an action associated to my hotspot with the following code:

    Code
    <action name="pippo_clicked">
    
    
    js gtag('event', 'pippo', {
     'event_category': 'schede',
     'event_label': 'apertura schede',
     'value': '000'
    });
    </action>


    So I really wish to know if I have made some mistake or have to add something other.
    Sorry for my very novice question.

    A client ask me if is possible to track in Google Analytics every single hotspot in the tour.
    .
    I've tryed an action like this one:

    js ga('send', 'event', 'schede', 'a91qm', '91qm' ,'91q', '91qm');


    and also

    gtag('event', 'a91qm', { 'event_category': 'schede', 'event_label': 'apertura schede', 'value': 'test'});

    but with no success

    So I ask if someone copuld help me !
    Thanks a lot.

    Luca

    Hi to all!
    I'm really a beginner, so sorry for my question:


    I've learn through the forum how to "group" some hotspot and I've learn also how to control the transparency (in relationship to the point of view) of a single hotspot using this code:

    Now I need to modify that code in order to control an hotspot group...Someone could help me?

    Sorry I've moved the question here from the "Beginners Forum" since the argument is perhaps not only for "beginners":

    I need to have in my tour scene 3 sqared hotspots that while
    rotating the scene must stay aligned (see image attached) and possibly not distorted.

    I've try to create 3 hotspot with distorted=false option, but with no success (they not remain aligned rotating the scene).

    Anoter way that I've tryed: have a first , inactive, not distorted,
    hotspot (using an image with all the icons aligned inside), and 3
    transparent hotspot placed in front of this one.But I'm not able to
    create a child-parent structure, so my trasparent hotspot don't follow
    the position of the inactive hotspot while rotating the view.

    In other way I try to realiza an hotspot with 3 different zone of activations.

    Can anyone suggest me with an example how to achieve that?
    Many thanks,

    Luca

    I need to have in my tour scene 3 sqared hotspots that while rotating the scene must stay aligned (see image attached) and possibly not distorted.

    I've try to create 3 hotspot with distorted=false option, but with no success.

    Anoter way that I've tryed: have a first , inactive, not distorted, hotspot (using an image with all the icons aligned inside), and 3 transparent hotspot placed in front of this one.But I'm not able to create a child-parent structure, so my trasparent hotspot don't follow the position of the inactive hotspot while rotating the view.

    Can anyone suggest me with an example how to achieve that?Many thanks,
    Luca

    wow good news!
    Many thanks Klaus for the answer!
    I surely don't want to pressure you, but when do you think the new release will be ready?
    I'm asking if is better to wait to update the tours until 1.20.7 is avaiable or update all with the current version (also with the wrong scale, but giving to clients the chance to view some parts of the tour)...

    I have to add some words in addition to my previous post: since the terrible last Oculus Browser update all my tours not working anymore with Oculus Go (I have no word to say...).
    So I have started to manually update the .js file, using the 1.20.6 Update Tool.

    So this is the reason why I've found all the hotspots of the tour with wrong dimension using Oculus.I have now undestand that my (very dirty) code:

    Code
    depth.mobile=xxx


    not work anymore in Oculus Browser (!)
    and the correct code should be now:

    Code
    depth.mobilevr=xxx


    or better:

    Code
    scale.mobilevr=xxx


    So I ask you a very clear example that shows the easiest way to setup globally the scale for different devices.
    I've read that post:
    https://krpano.com/forum/wbb/inde…&threadID=13968
    but really I don't undestand where and how to insert a global value in my tour.xlm file or in my tour.html file
    Luca

    Dear Klaus, I'm referring to this old post:

    https://krpano.com/forum/wbb/index.php?p…obile#post75947

    Where I asked how is possible to have the same hotspot aspect for the different device utilizations:

    - PC
    - Oculus
    - Tablet

    As showed in the images of that post I have different aspect of the hotspot using Pc than using Oculus Go.
    I've resolved using different values for depth.mobile and depth.normal parameters.
    But now I've seen on my old tour in web that they are not worked anymore!
    I've many clients that says me that the tour are not more utilizable in Oculus since the textwindow (made with an hotspot type=text) are hudge!

    As you can seee here for example:

    https://demo.visual4d.it/VR_angeleye/tour.html

    where you can see that visualising the tour with PC the text dimension
    is correct while using Oculus the windows is about 5 times more bigger.

    So this is a little disaster for me because I've to setup again all my published tour.


    I am open to do this huge work but at the moment I don't know how.


    At the moment both settings produce correct aspect visualizations on PC but no on Oculus GO (about 5 times more bigger):

    Code
    <hotspot name="p4_parete" type="text" html="data:p4_parete" padding="25" 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"
    zoom="false"
    distorted="false"
    mipmapping="true"
    oversampling="1.4"


    So in few words: I need an help in order to fix the Oculus (WebVR) aspect of my window text and hostspot.

    Thanks to indexofrefraction and Klaus for the prompt and useful tips.
    I've resolved and understood about the visibility of the VRSETUP button now.
    About the second question, pherhaps I was unclear.
    I'm trying to explain me better:using an Oculus Go, I wish to position a .png file (my logo) in order to have always the same orientation in relationship to the user eyes, also with if he moves the head around.

    In other words I wish to have the words present in my logo always readable (I've attached a sample of what I need).

    In desktop view I have correctly realized it defining:in webvr.xlm

    <hotspot name="spot9" style="skin_hotspotstyle_logo" keep="true" ath="0" atv="90" depth="160" torigin="view" zorder="999" scale="1" />in vtourskin.xml
    <style name="skin_hotspotstyle_logo" url="logo_tondo.png" edge="center" distorted="false"
    tooltip=""
    linkedscene=""
    linkedscene_lookat=""
    />

    But with Oculus Go the image still remain locked.
    Since the "VR Setup" button works exactly how I wish, I suppose that in some parts I have to insert an expression like:
    onloaded='renderloop( copy(ath,view.hlookat)',

    I think it's too much for me... can I have a little help?