Hello Piotr,
That's a very clever hack and it worked fine. Thank you.
I wished there was a proper way to do it, as I'll loose my edit next time I update the Krpano.
Kind regards,
Rafael
Hello Piotr,
That's a very clever hack and it worked fine. Thank you.
I wished there was a proper way to do it, as I'll loose my edit next time I update the Krpano.
Kind regards,
Rafael
Hello,
I'm trying to change the background color of this tour from the default black to white.
I added the bgcolor attribute to the <krpano> tag as said in the documentation. Doesn't wock:
<krpano version="1.18" logkey="false" showerrors="false" onstart="startup();" bgcolor="0xFFFFFF">
I also changed every possible element background in the HTML file to white. Doesn't work either:
html {background: white; height:100%; }
body {background: white; height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#ffffff; }
div#krpanoSWFObject {background: white !important; }
What am I doing wrong?
PS: Using krpano 1.19-pr8 (build 2016-09-30)
Thanks
Hello everyone!
Thank you very much in advance for helping me.
I’ve got a Canon 5D and I’d like to purchase a lenses and a panoramic head to capture full 360 panoramas taking only 4 photographs. I don’t care very much about the nadir, but I really need to shoot only 4 images in total.
Which focal length should I use?
Can anyone recommend a good panoramic head?
Thanks!!!
Good one Alexey!
Miglo, webvr_gyro_keeplookingdirection setting is only available in krpano 1.19.pr6 (and above), and I believe you're using 1.19pr5
You'll need to upgrade
Hello,
The showetxt plugin only displays text. You can format it by editing the textstyle and including HTML tags in brackets, but that's all. You can't include images.
You can trigger it by using onhover and onclick.
It can display text following the mouse (onhover), somewhere in the screen and full screen. Check the following link to see several examples
I hope it helps.
Sorry to hear nothing of that worked.
I don't know why it behaves like that.
If you don't find a solution, you might consider using the showtext action.
It's a different approach to what you've done. The text would be displayed in a text bubble following the mouse. This method would save you to apply the zorder trick, and also it feels like it shows the information quicker.
Cheers,
Hello,
In VR mode hlookat and vlookat don't work.
<view hlookat="181.073" vlookat="3.204" fovtype="MFOV" fov="123.438" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto"/>
You need to use the action lookat or resetsensor.
https://krpano.com/plugins/webvr/#lookat
Let me know if this works.
<scene name="scene_f09" title="f09" onstart="resetsensor(181.073,3.204)" havevrimage="true" thumburl="panos/f09.tiles/thumb.jpg" lat="" lng="" heading="">
Cheers,
Hello,
That's a very weird behaviour indeed!
1. I know this sounds crazy, but try renaming the hotspot something different than 'hs'. For example:
Once I experienced some problems because I named an action 'hs'. Krpano didn't like that. Maybe this is something similar.
2. Remove the following line, I don't think it's necessary.
3. If I move the panorama and leave the marker near the top left corner, looks like the active area already a bit bigger that it should. Have you tried a different projection? The current one distorts the panorama very much on the edges.
4. The html attribute is dupplicated:
Surely that didn't cause the problem but it helps get the code right.
5. Just curious. Why do you need to change the hotspot zorder?
I hope it helps.
Hello Klaus,
There is a bug with the zorder attribute when textfield is used in a hotspot.
Check the following test:
119-pr7-zorder-bug
XML file
The blue square is a textfield hotspot with zorder set to 10.
The yellow square is a regular hotspot with zorder set as 20.
The pink square is a regular hotspot with zorder set as 30.
You can click on each item to get its respective zorder value.
The blue square should be at the very bottom, but it's not.
The zorder works fine when I use the version 1.19-pr3, but all the following versions seems affected.
Cheers,
Rafael
Hello Klaus,
Could you elaborate more on this point? What is an "Unnamed array item" exactly?
QuoteFix: Unnamed array items, but when the array itself is existent, weren't set (Flash-only)
Many thanks.
I'm on Windows but I use Emacs (with Spacemacs) in a Virtual Box with Linux.
I've been using Emacs to write Krpano code since 2008 so I have plenty of snippets to insert code automatically.
Also, I can run python and bash scripts that help me with some time consuming tasks like creating tiles, batch rename files, find & replace strings, etc...
Hello everyone!
Last week I started a Tweeter list of Krpano users. Here is the link.
I thought it would be cool if many Krpano users could be in touch in twitter and share news, ask questions and show some examples there too.
So far it only has 11 members, but I hope that number increases after this post
You can follow the list by clicking the Subscribe button located on the left side.
If you'd like to join please post your tweeter name here and I'll add it to the list.
Thanks!
Parallax
Thank you very much Klaus!
Hello everyone!
One of my clients has requested a very special feature. He'd like to have a line inside the virtual tour to show the client the direction he should move. More or less like a path to follow.
Here is a link of a Google virtual tour which uses this feature.
Does anyone know a way to do this?
Many thanks,
Parallax
Hello,
I think it depends on what's that 100% applied to.
If it's the screen size, you could use the variables stagewidth and stageheight to get them in pixels.
If it's a layer or hotspot size, you could use the function registercontentsize
I hope you find this useful.
Cheers,
Parallax
Hello,
This time I've tested it and it's actually very difficult to disable the gyro on VR Mode!
My solution doesn't work because VR Mode doesn't use the gyro plugin
I've took a look to the WebVR documentation and it doesn't mention anything about how to disable the gyro. I think the use of it it's defined inside webvr.js itself and I can't find any option to turn it off.
Sorry.
Hello,
Everything looks OK to me.
Try adding the following line to your code:
<action name="open">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,1);
delayedcall(1, trace(get(plugin[sopenimage].scale)); showlog());
</action>
It should print you the value of the scale attribute in your console. If scale is the same value in your desktop and in your mobile, I'd say the explanation is not in your XML code.
Did you add the following line to the HTML file where the virtual tour is embedded?
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
Cheers,
Parallax VT
Hello,
What you need to do is edit the attributes onentervr and onexitvr inside the WebVR plugin which is located in the file 'webvr.xml'. But if I were you I wouldn't edit webvr.xml because you could over write it by mistake upgrading krpano.
Look the following line in tour.xml
AFTER that line (very important) write the following code:
<plugin name="WebVR" devices="html5" keep="true"
onentervr="webvr_onentervr(); set(plugin[gyro].enabled,false);"
onexitvr="webvr_onexitvr(); set(plugin[gyro].enabled,true);"
/>
WebVR plugin original code is:
<plugin name="WebVR" devices="html5" keep="true"
onentervr="webvr_onentervr();"
onexitvr="webvr_onexitvr();"
/>
So basically you're overwriting both attributes by adding some custom code. It's a bit better in my opinion.
I hope it helps,
Cheers,
ParallaxVT
Hello,
You can use the gyro on a panoramic video without involving VR Mode at all
Any of the examples included in the video web page do it. The only thing you need to do is add a gyro layer:
<plugin name="gyro"
keep="true"
url="%SWFPATH%/plugins/gyro2.js"
devices="html5.and.touch"
enabled="true" />
And don't include the file webvr.xml. If you see a line like the one underneath, comment it:
Cheers,
ParallaxVT