Hi everyone,
i get an issue with the 1.20.11 and IOS 12.4.8 safari 12.1.2
"device.touch" is not detected anymore...
if i change back the tour.js by an old one it works.
nb: if i put device.mobile it's work...
Any idea ?
Hi everyone,
i get an issue with the 1.20.11 and IOS 12.4.8 safari 12.1.2
"device.touch" is not detected anymore...
if i change back the tour.js by an old one it works.
nb: if i put device.mobile it's work...
Any idea ?
Ok i've found a solution with Js who call my php file...
Hello Klaus !
Thanks for the 1.20.9 update, and this major feature => includexml(%file.xml%); that allow to import xml dynamicly...
I'm trying then to create the same action as this exemple but dynamicly... include all file in the folder but with a loop to check if a new one come.
it's work the first check, it get all xml on the folder but if i put another .xml file to the folder it doesn't get it.
here is an example:
<action name="xml_include">
delayedcall(3,
<!-- every 3sec we check to the folder if new xml come -->
includexml("%SWFPATH%/xml/include_all.php");
<!-- loop to the action -->
xml_include();
);
</action>
!! PHP file !!
<krpano>
<action autorun="preinit"> // create action trace..
trace("
<?php
$dir = ("xml_folder"); //
if ($handle = opendir($dir))
{
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != ".." && substr($file,-4) == ".xml")
{
echo $file."\n";
}
}
closedir($handle);
}
?>
");
</action>
</krpano>
can you help me ? if i've tested to put an action name and look to this one but it's not work too it's only get the file when the first check is do.
regards
Hello allz,
I'm looking for a simple things...
i've a Layer with text on it but when i scale, the text doesn't change...
i've found a way to do it but i would like to know if it's not possible to do another way...
my code is to load new style with a different font-size...
but i've tested with an hotspot and the text on hostpot scale well...
Does anyone have an idea/examples ?
regards
For Flying/sliding hotspot it's because i've used renderer=css3d... Now it's Ok !
thx klaus !
Klaus
Few day ago you had talk that Krpano will be able to have 3d model without using treejs, did it still on your plan ?
regards
i've write a small Average FPS added to the fps.xml,
it will take the average FPS on the tour... nothing special but it will help me to know when i add some "effect" what does they influence my FPS (on phone etc...)
<action name="fps_install" autorun="preinit" scope="local">
delayedcall(0.5,
addlayer(fps_display);
set(layer[fps_display],
type=text,
keep=true,
align='lefttop',
css=calc('font-size:'+(device.mobile AND stagescale LT 1.0 ? 24 : 12)+'px; color:#FFFFFF;'),
txtshadow='0 0 1 0x000000 1.0',
bg=false,
parent=STAGE,
vr=true,
enabled=false
);
addlayer(bench_display);
set(layer[bench_display],
type=text,
keep=true,
align='lefttop',
y='15',
css=calc('font-size:'+(device.mobile AND stagescale LT 1.0 ? 24 : 12)+'px; color:#FFFFFF;'),
txtshadow='0 0 1 0x000000 1.0',
bg=false,
parent=STAGE,
vr=true,
enabled=false
);
set(bench_cnt, 1);
set(average, calc((display.currentfps+0.5) BOR 0));
setinterval(fps_plugin, 0.25,
inc(bench_cnt);
calc(layer[fps_display].html, 'FPS: ' + ((display.currentfps+0.5) BOR 0));
add(average,calc((display.currentfps+0.5) BOR 0));
calc(layer[bench_display].html, 'MOY: ' + ((average/bench_cnt) BOR 0));
);
);
</action>
regards
oh god !
ok it's need names...
that's amazing, but why when they are hotspot i don't need to have name on it ?
regards.
Hi,
I would like to know how to access to points ATV ATH when my file looks like :
<krpano> <elements name="hotspots">
<item name="polyspot_1" style="my_style" > <point ath="-4.687" atv="-5.712" /> <point ath="4.505" atv="-5.735" /> <point ath="4.417" atv="13.633" /> <point ath="-4.517" atv="13.601" /> </item><krpano>
i can access to the name and style by :
but how to access to point ath atv ?
i've tried,
trace(get(elements[hotspots].item[0].point.count));
trace(get(elements[hotspots].item[0].point[0].atv));trace(get(elements[hotspots].item[0].point[0].ath));
[size=10][size=10]
[size=10][size=10]but always return "null"[size=10][size=10]
[size=10]regards
Hello allz,
My Vtour contains, maybe 60 scenes, each scene have 2-3 hotspots for the navigation and 1-2 hotspots sound...
All my sounds/hotspots are in a file with attributes, and action will show/play if attributes are valid !
On my iphone6/ipad2 he can't load the scene... error and reload again and again...
i've check the FPS and it's drop down ... it's animated hotspot (circle ani_black)
Other things, when i create dynamicly hotspots they seems to fly/slide a little bit... ?
If i put them to the tour.xml on the scene it will not fly/slide.
Yes it's my option, add and remove dynamicly them but maybe it will be better to use other method.
i've tested keep="" true/false, but doesn't work...
they are animated hotspot...
i'll try to add and remove them...
Hello there, i've an issue with a strange things...
I've all my hotspot writted in a single file...
i've an action who set my hotspot [visible/invisible] if theses attribute are in the scene or not, but i've finished my Vtour with more than 100 hotspots, and it take memory...
in my first scene i have only 2 hotspots visible (98 other are visible = false), but my fps down to (20-24), if i remove all of other hotspot and keep only 2 hotspot in the file my fps go to 60...
Can i put a specific state to my unvisible hotspot to not take memory ?
regards
Hi,
there will be support for 3d-models in krpano in one of the next releases (without the need of three.js).
Best regards,
Klaus
Hello Klaus, can you give any news of this ?
regards.
arf i've tested with: <krpano logkey="true" debug="true"> but it's named "debugmode"..
Thx tuur
Hello, i don't find on the new version 1.20+ how to show the hotspot or layer in the console log, i press "²" the console appear but "L" and "D" doesn't work anymore...
Can someone help me ?
kind regards
<events onviewchange="clamp(view.tx,-1000,+1000); clamp(view.tz,-1000,+1000);" />
Hello there, i would like to know if it's possible to have:
1: 3d position for point of Polygonal hotspot. ? like this (<point ath="-41.754" atv="-31.809" rx="50" ry="-50" rz="500" />)
2: does it's possible dynamically set the depth, it's work on normal hotspot but not on polygonal...
thx in advance.
Hello, i would like to know if it's possible to see layer on the oculus Go, i've tried some exemples but they disapear only on oculus GO...
regards
check to my tour editor ;)
https://krpano.com/forum/wbb/inde…&threadID=16597
when you create a hotspot it's automaticly keep the direction that you come from...
does is this feature that you need?