Posts by Peter360
-
-
And here another idea by using a krpano layer:
Chromakey Video as LayerCode:
Code
Display More<layer name="chromakey" type="krpano" align="center" width="500" height="500" bgborder="1 0xFF0000" capture="false" videourl="video.mp4|video.webm" onloaded="chromakey_layer()" onclick="togglepause();" /> <action name="chromakey_layer" type="Javascript"><![CDATA[ var view = caller.krpano; view.fovtype = "VFOV"; view.fov = view.fovmin = view.fovmax = 90; var hs = caller.krpano.addhotspot("chromakey","webgl"); hs.url = "%VIEWER%/plugins/videoplayer.js"; hs.videourl = caller.videourl; hs.loop = true; hs.chromakey = "0x238E54|0.294|0.133"; hs.flying = 1; hs.width = "100%"; hs.height = "100%"; hs.capture = false; hs.pausedonstart = true; function updatesize() { if (hs.videoheight > 0 && caller.pixelheight > 0) { var aspect = (hs.videowidth / hs.videoheight) / (caller.pixelwidth / caller.pixelheight); hs.width = aspect > 1.0 ? "100%" : (100*aspect) + "%"; hs.height = aspect < 1.0 ? "100%" : (100*aspect) + "%"; } } hs.onvideoready = function() { updatesize(); // forward the videoplayer actions to the layer caller.togglepause = hs.togglepause; // ... } ]]></action>
This still seems to load an ugly black background on mobile (android) which stays until there is a keystroke? Any ideas?
-
Thanks Klaus, I'll give ir a try
-
Thanks Klaus
I guessed that was the case , I'll try a different approach .
it's useful to know I'm not missing something obvious.
Thanks again
Peter
-
Hi Folks
Taking Birdseyes suggestion I have been trying to include the "Compare Panorama" example as one scene within an xml file with other (single image) startscenes. The only thing I could think was to "nest" scenes like this (see code) but it doesn't seem to work (it creates the left/right framework OK but the left panel is empty and it seems to load the next scene into the right panel).
<scene name="compare" title="Test" >
<include url="../4d/4d.xml" />
<scene name="pano1" >
<preview url="panos/0033ramsPettHigh.tiles/preview.jpg" />
<image prealign="0|205|0">
<cube url="panos/0033ramsPettHigh.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="1024,1280,2560,5248" />
</image>
</scene>
<scene name="pano2">
<preview url="panos/0290ramsgateBeach.tiles/preview.jpg" />
<image>
<cube url="panos/0290ramsgateBeach.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="1024,1536,3072,5632" />
</image>
</scene>
</scene>
(note "4d.xml" = compare-panos.xml less the " <!-- the two pano images to compare -->" section)
I am sure my approach is totally wrong but any pointers would be very much appreciated.
(I guess possible conflict between general xml loadscene action and IMAGEONLY pano setting?)
Thanks
Peter
-
Even wearing my deerstalker and poirot moustache, struggling on spotting the difference, but I'll concede......
Another silly question..... Is there any way for the compare panos example to dynamcally add the left and right images on url.... e.g. ?leftstart=vvvvv&rightstart=yyyyy (or something with shorter syntax)
-
-
thanks
Perhaps i am geting this wrong but...I am refering to tile size not number of tiles... it is a byproduct of removing the 512 size tile level (before running the tour maker) that means when you produce the tiles the number of files is reduced to c. a third: a matter of mathematics.
I did create a modified multires command with tile size changed and then dropped the pano file to create tiles.
I think your original answer answered my point: i didnt realise the different meaning of the first number but that makes sense when I look at other xml outputs...
Thanks again
Peter -
my thinking is that there seems no need for 512 tiles for interior shots where no one really wants to zoom and the result of changing to 1024 tiles means the no of files is c. 1/3. Important if your hosting counts inodes.
-
Hi Hopefully just me being daft.
In the tour creator (MakeVTour) I have edited the multires tour parameters from 512 to 1024 tile sizes.
This all works but when I review the xml the "1024" level appears twice and if I manually remove the first one it doesn't work?
e.g.
<cube url="panos/7010.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="1024,1024,2112,4224" />
Does this cause a problem and if so how can I correct?
Thanks in anticipation
Peter -
it is many to many video/audio calls and text chat.
yes. somehow it supports screen-sharing.
and a few more cool and practical features
Sounds good and presume it works OK on windows, android and ios? Any ideas on timings? -
The KR Pano Tools Application ran fine on 1.19 but on 1.20 + it doesn't open (blue spinner but nothing further). I note it is now strictly 64 bit but that shouldn't be a problem?
Anyone else had this experience?
My laptop spec
intel core 17 6500u cpu
8gb ram
64 bit operating system x64 processor
windows 10 home
Any ideas?
Thanks
Peter -
Hi Klaus
Have you come across this any ideas?Tks
peter
google indexing loading error message
Hi there
Can anyone give me ideas how to stop google indexing the "INFO: krpano 1.19-pr8 (build 2016-09-30) INFO: HTML5/Desktop - CSS3D INFO" .... as the search results snippet for pages with embedded krpano tours?
e.g. http://www.margate.one is indexed as
http://margate.one/[/size]
https://www.google.hr/search?q=site%3Amargate.one&oq=site&aqs=chrome.0.69i59j69i57j69i59j69i60.2452j0j7&sourceid=chrome&ie=UTF-8#INFO: krpano 1.19-pr8 (build 2016-09-30) INFO: HTML5/Desktop - CSS3D INFO: Registered to: Peter Ryder INFO: startscene scene_9 INFO: aici intra pe else ...
Any help appreciated
[size=10]Peter
-
Hi there
Can anyone give me ideas how to stop google indexing the "INFO: krpano 1.19-pr8 (build 2016-09-30) INFO: HTML5/Desktop - CSS3D INFO" .... as the search results snippet for pages with embedded krpano tours?
e.g. http://www.%5b/size%5D%5Bcolor=#545454%5D%5Bfont='arialmargate.one is indexed as
Margate, KentINFO: krpano 1.19-pr8 (build 2016-09-30) INFO: HTML5/Desktop - CSS3D INFO: Registered to: Peter Ryder INFO: startscene scene_9 INFO: aici intra pe else ...
Any help appreciated
Peter
-
As I write this I can guess that I am probably asking the obvious. However it's best to clarify thinking with those who know/are more experienced than me!
I want to within a single website embed individual panos on separate pages.
So the process;
1. Create panos by using create multires pano droplet.
2. Discard individual html, skin files, etc. (I have a template with my settings created for each)
3. In my html pages refer to a single krpano.js file (can I also use a single swf file or do I need a specific one for each?)
4. Upload individual xml and tiles folders (and swf?) to (in my case secure) server.Is that an efficient way or are there better approaches?
Tks in anticipation
-
Very Nice Umalo
Yes would use; very intuitive, only question is how will hotspots work on phones/tablets; scaling is a bit of an issue and of course mobile device is the growth area/reason for upgrades.Add a more elegant looking multi-level drop down menu editor (I remove the bottom thumbnail navigation in mine) and you'll have it cracked!
Cheers and thanks again.
Peter -
Hi there
I'm guessing something a bit daft but....Sorry forgot to include link...
http://360hotel.co.uk/sandsAuto.php
I have set this up from an existing krpano tour to load individual panos in a sequence<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE,);
action (move-4);
</action><action name="move-4">
wait(20);
loadscene(scene_LobbyAndBar ,null,MERGE,BLEND(2));
action(move-5);
</action>
<action name="move-5">
wait(20);
loadscene(scene_RestDinner ,null,MERGE,BLEND(2));
action(move-6);
</action>etc... and looping
and autorotate
<autorotate enabled="true"
waittime="0.3"
speed="20.0"
/>to work as an effective looping (pseudo) video show...
However it works fine on laptop but doesn't on mobile/tablet???? (the autorotae command is "global")
Any thoughts or is it just my poor coding?Cheers
Peter -
Do you already have your layers with maps and mappoints created. If not you have in examples code for simple usage.
Hi Umalo
With your guidance I have now put it all in one xml file...If you take a look at http://www.360vista.net/floor2.php then you will see where I am ...what I believe I need to do is change the x axis for the four floorplans to send them out of screen to right and then have an onclick action that moves the respective one to the right position by changing the value again....but how do I do this?
The current code for the correct combobox is;
<plugin name="floor" url="plugins/combobox.swf" alturl="plugins/combobox.js" align="rightbottom" x="1%" y="63%" width="15%" height="4%" visible="true" keep="true" alpha="1" rowcount="10" >
<item name="ground" caption="Ground" onclick="loadxml();" />
<item name="lower" caption="Lower Ground" onclick="loadxml();" />
<item name="first" caption="First Floor" onclick="loadxml();" />
<item name="second" caption="Second Floor" onclick="loadxml();" />
...
</plugin>The layers are like this: with layer name "ground", "lower", "first", "second"...
<layer name="ground" url="grndfloor.jpg" keep="true" align="rightbottom" x="5%" y="12%" width="15%" height="50%"
visible="true"
handcursor="true"
scalechildren="false"
maskchildren="true"
onclick="closemap();"
zorder="2"
>The idea of tweening is good and would look much nicer and I think I can suss it out if I can get to the next stage?
Thanks
Peter -
I see Umalo
My actual idea was a simple drop down within the visible(normal pano) area but if they could be dragged from outside even better.. so what I would find useful is the link (onclick) code between selecting an item from the list and dispalying one of those images with hotspots (I reckon I can sort those out ok; although I've avoided radar as a bit too complex for me) I'm actually quite happy to find someone I can turn to in this area as I say I ain't no programmer.... -
Thanks Umalo
I understand I have not made my question v.clear...
this is the typeof thing I am trying to achieve...
http://www.vpix.net/index.php?tour=102855
however this involves using the combobox plug in and creating some form of onclick command that says (as in your advice I think) set a particular layer to "visible". So if there are 4 layers (=floors) then one of them could eacjh be selected from the drop down list. I just thought this would be a fairly normal requirement.
I have been tried loading some additional xml code by ten selected although I guess this is a clumsy way of achieving what I want?
BUT I DON'T BELIEVE THIS IS THE RIGHT WAYe.g.
<plugin name="floor" url="plugins/combobox.swf" alturl="plugins/combobox.js"
align="rightbottom" x="1%" y="63%" width="15%" height="4%" visible="true" keep="true" alpha="1" rowcount="10" >
<item name="ground" caption="Ground" onclick="loadpano(floor.xml, null, MERGE, BLEND(2));" />
<item name="lower" caption="Lower Ground" onclick="loadpano(lower.xml, null, MERGE, BLEND(2));" />
<item name="first" caption="First Floor" onclick="loadpano(first.xml, null ,MERGE, BLEND(2));" />
<item name="second" caption="2nd Floor" onclick="loadpano(second.xml, null, MERGE, BLEND(2));" />
...
</plugin>As you will see I don't really understand xml at all... I'm a photographer!!
Any guidance really appreciated!
Peter