hi :)
snow plugin is still around but not in vr.
is there an equivalent?
thank you
hi :)
snow plugin is still around but not in vr.
is there an equivalent?
thank you
hi again,
So i spent 10 minutes clicking around and at some time I got it. I must do it while connected to chrome debug to see if i get some error on console or something
lol, sorry. You did better than me :D lots of times i read and answer and then after reading properly i go and delete my comment :D
oh... sorry... i didn't think quest2 could do hand tracking and i just found out it could.
i'll make a screencast to show it
Tried on Quest 2, works perfect on my side ?
but you used the controlers, right?
It's with the hands that i noticed.. it seems that it changes from one hand to the other or something
you "pinch" to click and it does not
hi,
to reproduce while using hands on quest, open this -> https://psmlvr.panoramapalace.com <- and use hands to click around on hotspots while both hands (lasers) are around
I cannot make any sense of it so far but sometimes only left hand work.. sometimes only right hand.. the tittle ball and the end of the laser changes color but does not trigger the "click"...
Is there anything i can call on "onnewscene" event to make it work all the time? or make a delayed call or whatever
thank you.
i ended up with this on "onviewchange"
the roundval is because even when oculos are on a table the value of hlookat has so many decimal digits that it keeps changing
if (webvr.isenabled ,
roundval(newlookat, view.hlookat, 0);
if (newlookat != oldlookat ,
set(oldlookat , get(newlookat));
stopdelayedcall(resettour);
delayedcall( resettour , 20 , resetvrtour(); );
hope it helps
Hi,
you could use an idle time to restart your tourkrpano.idletime = "5";
krpano.events.onidle = "gotostart()"; //After 5 seconds without headset movement gotostart
hi, yes, i used it..till now
I just noticed that the ondile event does not fire when in webvr. this must be something from this version because i was using it successfully before
to reproduce this is just put an action
add an event onidle="resetvrtour();"
an an action
<action name="resetvrtour">
trace('idletime');
and see , in webvr fake mode for example, that in vr trace does not show and in regular mode it does
--- update --
just added a trace to "onviewchange" and, at least in fake vr, this keeps getting called although i'm not moving.. may be this is why onidle does not get fired
just tested it on quest3 and it does not get back to start either
Hi,
just to give a heads up
webvr.xml has this code on it and this adds a webvr setup hotspot on the nadir that jumps a lot and i'm already in immersive view.
if(global.webvr.isvrbrowser AND global.webvr.vrcontrollers[0].buttons.length LE 2,
<!-- when there are only two buttons on the VR controller (e.g. Oculus Go) use an extra hotspot for the VR-setup -->
addhotspot('webvr_vrsetup', vr_setup_hs);
vr_setup_hs.loadstyle('webvr_button_style');
set(vr_setup_hs, keep=true, ath=0, atv=90, depth=160, zorder=999, torigin=view, html='VR SETUP', oversampling=3, scale=0.2, onclick='vrsetup_open();', onloaded='renderloop( copy(ath,view.hlookat); );');
);
It only does this if i'm using hads instead of the controllers so this means that it does not report "buttons"
I'm deleting it for now because i'm sure i'll be using had tracking.
Klaus, can it be fixed in the next webvr version :)
THANK YOUUUUUU
hi
i've tried loadpano with some flags (reset and nokeep) but it removes the webxr plugin and because of that webvr pluigin is removed and so it exits immersive vr
I'll add a screenrecording later
I'l be adding traces with timestamps to all actions to see if i got lost somewhere
thanks again
hi , klaus.krpano
I sent you an email the other day to a site with all (i think) code in clear format
hi
flat pano? or equirectangular?
i sliced 45 gigapixel equirectangular photos
the only thing i can think of is computer limitation.. disk or something.
Good morning, Klaus
It is a offline tour, let me check if i can put it online.
Thank you
additional info -> i'm using latest build (December i recall)
I've just checked the browser console and i only see the "preview" listed in the files in the "network", not all the tiles
I just made another test
while in vr II load the new xml, I get the "preview", I quit vr and re-enter and all is good
so.. i'm stuck now :(
hi,
After testing successfuly on pc I'm trying to use loadpano in quest3 while in webvr
krpano.com - Documentation - Actions / Scripting Reference
I noticed rootpath does not get updated so I'm using and it's working
loadpano('mytour2.xml' , 'soundinterface.rootpath=%CURRENTXML%/mytour2/audio' , null , null, 'loadfirstscene();')
sound plays,it loads the 1st scene as supposed but only the "preview".. not the regular pano itself with higher resolution
If I don't use the vr mode all is good
I'll keep testing but if any of you have any clues.. i'd appreciate
thank you all
hi all , good night
I don't know if this can be qualified as a bug but i've been rewriting this post as i remember to change things and got it working now but what i found is that preinit functions with same name, in loadpano, do not run
My use case
In my tours I usually have a variable definition in a file called "languages.xml" and inside a pre-register defines as "window.languages" . It has all the string in all the languages i'd need for the tour
<action name="pregerister_javascript" type="Javascript" autorun="preinit"><![CDATA[
window.languages =
{'pt' :
{'dummyvalue' : {}
Now there is the wish to load another entire tour into this visit.. a full xml. That 2nd tour has the same "languages.xml" kind of strings definition with the same action name. I use loadpano with the xml, i see in browser console that the languages.xml appear but i added a console.log and it does not show in browser console.
here is my load pano
loadpano('myxml.xml' , 'soundinterface.rootpath=%CURRENTXML%/mytour/audio' , null , null, 'loadfirstscene();')
I just changed the action name and it started working
hope it helps someone.
all the best
nice!
thank you
new one -> multires="729,512,1024,2048,4096,8192" />
old one -> multires="512,768,1792,3584,6912" />
I've added till 8192 because the higher value I had initially
initially I had till 65536 and saw that it did not stop automatically
I messed with auto, level multiplier and some other variables. I'm on 1.21.. it has some more things than 1.18
the closest I got to power of 2 values was that one starting with 729 but with that lack of quality
hopefully the next version will have power of two values out of the box for this.
it's ok not to have 3d transitions in desktop
thanks again.
i see bigger squares beiung loaded
but oddly with levelsizes=512, 1024, 2048, 4096, 8192
i get a 729 there.. it's ok by me
multires="729,512,1024,2048,4096,8192" />
and by messing with those values i get a significant quality decrease
well.. thats life. it's not the time yet. i'll leave the 3d stuff for the vr part and no fancy things in desktop.
thank you for your time and patience