Beiträge von DarManiac
-
-
Hi everyone,
Can anyone please guide me. I want to load images and text using url GET request into a menu in my virtual tour. Any help would be appreciated.
I already have the api url requests. just would like to be guided on implementation.Thanks.
Darmaniac -
Hi anyone can direct me on this ??
-
hi, thnx for replying..
I got the answer to part (1) of my question here,
https://krpano.com/forum/wbb/inde…d&threadID=2764only part (2) I am not able to get.
Reference: https://advrtas.com/immersive-ad-gallery/comed/ -
Good day all,
I am making a virtual tour. but I am trying to do these two things
1. the hotspot will have ping pong animation between two points
2. The hotspot will scale to 1 when in centre of view.hlookat and gradually scale down when the view moves away.
I am trying to use the following for (2) but its not showing anything:<events onviewchange="div(hotspot[disc4].scale, Math.abs(view.hlookat), Math.abs(hotspot[disc4].ath));" />
and how do i go about the action function for (1)can someone assist
Thanks,
Darmaniac -
Hi Jordi,
I am interested in the software, Everpano, and I have been using the trial.
It gives nice outputs but I have run into some issues, even after going through your site tutorials -
1. I cannot still import a previous krpano project.
2. There is no tool to delete independent lines I have made using everpano tool even after deleting attached polygons.Can you please post resolutions to these asap. My trial will expire in next 9 days. I am considering purchase.
Thank you
-
-
-
-
Hi Jerombg,
Thanks. I tried your suggestion but it doesn't seem to be working. Did I do something wrong... ??
Outside Scene:
Code
Alles anzeigen<style name="w_style" url="skin/asst1b.png" crop="0|0|77|153" frames="7" framewidth="77" frameheight="153" frame="1" loopNo="19" loopCount="0" column="1" columns="7" columnframenr="1" onloaded="" altonloaded="if(isphone, mul(scale,2)); onloaded();" scale="1.5" edge="" oy="0" onclick="w_animate();" distorted="true" />
In Scene:
Code
Alles anzeigen<hotspot name="spotOpt3" url="skin/buttons_yellow.png" distorted="true" scale="0.25" enabled="true" ath="45.382" atv="-16.911" onclick="w_animate1(asst_cursor);" /> <action name="w_animate1"> inc(get(hotspot[%1].frame),1,get(hotspot[%1].frames),1); mul(t, get(hotspot[%1].column), get(hotspot[%1].columnframenr)); add(t,1); if(get(hotspot[%1].frame) == t, inc(get(hotspot[%1].column,1))); sub(xp, get(hotspot[%1].column),1); mul(xp, get(hotspot[%1].framewidth)); mul(yp, get(hotspot[%1].frame), get(hotspot[%1].frameheight)); mul(ch, get(hotspot[%1].columnframenr), get(hotspot[%1].frameheight)); sub(cm, get(hotspot[%1].column),1); sub(q, get(hotspot[%1].columns),1); mul(ce, ch,cm); if(cm==q, set(get(hotspot[%1].column), 1)); if(yp GT ch, sub(yp, ce)); sub(yp, get(hotspot[%1].frameheight)); txtadd(crop, get(xp),'|',get(yp),'|',get(hotspot[%1].framewidth),'|',get(hotspot[%1].frameheight)); if(get(hotspot[%1].loopCount) LE get(hotspot[%1].loopNo), inc(get(hotspot[%1].loopCount), 1); delayedcall(0.08, w_animate(asst_cursor) ); , set(get(hotspot[%1].loopCount), 0); ); </action>
-
Hi,
These forums are very helpful. I believe, I have never been stuck on a krpano project and not found an answer here. Krpano itself is a genius piece of software and with the best help in this forum.
My question today is I have a sprite sheet that I am animating on a hotspot, which works fine:
Code
Alles anzeigen<style name="w_style" url="skin/asst1b.png" crop="0|0|77|153" frames="7" framewidth="77" frameheight="153" frame="1" loopNo="19" loopCount="0" column="1" columns="7" columnframenr="1" onloaded="" altonloaded="if(isphone, mul(scale,2)); onloaded();" scale="1.5" edge="" oy="0" onclick="w_animate();" distorted="true" /> <action name="w_animate"> inc(frame,1,get(frames),1); mul(t, column, columnframenr); add(t,1); if(frame == t, inc(column,1)); sub(xp, column,1); mul(xp, framewidth); mul(yp,frame,frameheight); mul(ch, columnframenr, frameheight); sub(cm, column,1); sub(q,columns,1); mul(ce, ch,cm); if(cm==q, set(column, 1)); if(yp GT ch, sub(yp, ce)); sub(yp, frameheight); txtadd(crop, get(xp),'|',get(yp),'|',get(framewidth),'|',get(frameheight)); if(loopCount LE loopNo, inc(loopCount, 1); delayedcall(0.08, w_animate() ); , set(loopCount, 0); ); </action>
Now when I am calling the hotspot in a scene it works fine too.
Code<scene name="" title="" onstart="" thumburl="" lat="" lng="" heading=""> . . . . <hotspot name="asst_cursor" style="w_style" ath="61.016" atv="-5.7" enabled="true" onclick="w_animate();" />
But what I want is to call the animation on that hotspot after clicking on another hotspot and I cannot get my head around how to do that ...
This part below is the problem:Code<hotspot name="spotOpt1" url="skin/buttons_yellow.png" distorted="true" scale="0.25" enabled="true" ath="45.382" atv="-0.911" onclick="set(hotspot[asst_cursor].w_animate(); );" />
Thanks,
DarManiac -
Hi all,
I have really been trying to smoothen transition using slide blend but can't quite get the effect like a walkthrough as here:
http://openspace.3dphy.com/?un=pc&ct=ss&a…4bhk&map=t&md=t
Anybody can direct me on how to get something similar.
Thanks.
Darmaniac.
-
Hi,
Sry for the delay, but I kind of worked out the problem somewhat by adding a lookto function followed by delayedcall to load the new scene. This I placed in the linked scene function that was being called.
I wish Krpano could somehow give provision for 3d movement during transition as mentioned here:
https://krpano.com/forum/wbb/inde…&threadID=11407
Otherwise, krpano is very flexible to work with.
Regards,Datrmaniac
-
Ok let me try and get back to you on that. But there is still that plugin garrows which does not work with this function.
Thanks,
Darmaniac -
Hi Alexey,
Quite right thats kind of what I am looking for but zoom blend is not supported for html5 as far as I have read and my virtual tour will also have option for webvr which I think(not sure) requires html5.
How should I proceed also the linkedscene_lookat does not work with that plugin.
I am trying to emulate the google street view navigation and transition hotspot effect for custom virtual tour.
Thanks
Darmaniac -
Thanks for the swift replies Alexey and Tuur,
I had krpano version 1.19.5. Just got the latest one and tried your suggestions.
It is giving a zoom effect with default hotspots, but zooms a bit and loads the second scene and keeps the new fov in the second scene. I want to zoom into the second scene and start the second scene with the default fov.
Also I am using a great plugin for krpano from here:
http://www.robostitcher.com/Garrows-krpanoThis look at feature doesn't seem to work with this plugin when I use hotspot - skin_hotspot_navigate and then linkedscene.
This is where I am trying to apply this feature of zooming into next view.
Appreciate the help,
Darmaniac. -
Good Day All,
I am kinda stuck trying to add zoom to scene transition in linkedscene method.
or
I have tried adding the above lines of code individually to in vtourskin.xml to the part onclick="if(linkedscene,...."
But it doesn't seem to work. I want to modify the linkedscene and do not want to override it with custom loadscene in tour.xml.
Also zoomblend() does not have html5 support and I want to run this in webvr mode that is why I did not modify the blend function.
Can anyone assist me ?
Thanks,
Darmaniac -
Hi,
To implement the vr cursor manually where do I have to implement the code vtourskin.xml or some other script and what event function would I have to use to continuously measure the distance as Klaus suggested. Also how do I go about this.I am not sure how to begin. Any help would be great.
Thanks,
Darmaniac
-
Hi Klaus,
Yes that would work but the platform I am trying to use it on does not support webvr, so I cannot enter vr mode. I am trying to convert the html project into apk format for locally using as an app and have not been able to enter vr mode in the app. Probably because there is no webgl support in ask as required for VR.
could you please elaborate on your second suggestion like where to write the code and how to go about it.
Could there be any other doable workarounds.
Thanks,
Dar maniac -
Hi all,
I would like to make use of the gyroscope feature without entering vr mode and use vr cursor as it is used in VR mode.
I have already entered stereo mode and enabled gyroscope as Klaus suggested but am unable to use the vr cursor.
Could anyone direct me.Thanks Darmaniac