Thanks Tuur ! You too !
Posts by datofz
-
-
Hi,
My last VTOUR : Virtual tour of 40 reservoir dams for inland navigation in France
Virtual tour of 40 reservoir dams for inland navigation in France. Lakes, ponds, beautiful structure, sometimes lost in the countryside.
Historic dams over 200 or 350 years old. (Canal du Midi, Canal de Bourgogne, ...)
Map, hotspots, responsive, dedicated mobile mode, identity card of each dam and a bit of history, points of interest by movement and zoom, slideshow, navigation by canal, ...
Thanks for your help and you reply.
Happy New Years 2025,
Damien
-
Hi
I took some time to assimilate and see the different scenarios. Thank you. This was the last point to improve to finalize my last project.
-
Hi,
Sorry for this question... maybe is simple but i don't know how resize a text layer automatically when the sizes of the stagawidth/stageheight change.
A responsive behaviour ...Easy with an image layer, but text layer ... ?
Thanks a lot,
Damien
-
Thanks, that's work.
Cool,
Thanks -
Hi,
I've a problem with scroolarea and maskchildren together.
I'va a layer container and inside a scrollarea.
To close the layer container i've make a button outside the scrollarea with the attribut maskchildren="false" of layer container.
The button is at the topleft of the layer container.
But it don't be visibled at 100% (see picture).If i keep the layer contanier and delete the scrollarea, it be entire visibled. (see picture)
I've you a reason for this behaviour ?
Thanks,Damien
-
Hi,
i've the same problem and i'am with the 1.74 version.
Thanks for your update.
-
Hi,
For me it's work in 1.22.3 but if i'am in fullscreen the lightbox is not visible, if i exit from the fullscreen, i see it.
I'am not in panotour
-
Hi
Thanks,
i've found few parameter and a tag </layer> in the wrong place.
thanks for correction !
I spent time but now i understood the scrallarea i think ... :)
-
Hi,
I have a problem with a scrollarea created dynamically in a container, all in another container.
It's for a sliding and drop-down menu. I don't see the parameter(s) that cause it to crash.
It also flickers sometimes.Without the scroll everything is fluid but I can't see my entire submenu with the height of the layer I chose....
All this for the "Canal du Centre" in the end.
Note that in the scrollarea an arrow is supposed to be clearly visible and allows you to return to the main menu. We only see a small bit of it at the top right.
I also have trouble setting itThe project : https://multimedia.damienlachas.com/barrage_reservoir_360/
Layers
Code
Display More<layer name="BlocNavCanal" type="container" keep="true" parent="bigBlocNav" visible="true" enabled="true" capture="true" handcursor="true" cursor="cursor" capturewheel="true" scalechildren="true" zorder="" align="bottomright" edge="bottomright" x="60" y="5" rotate="0.0" width="425" height="325" scale="1" bgroundedge="0" bgcapture="true" alpha="0" bgcolor="0xffffff" bgalpha="0.5" bgborder="0 0x5E93FF 1" onloaded="tween(alpha, 0.8);" ondown="draglayer();" enablechildren="true" maskchildren="true" > <layer name="navCanal" type="container" keep="true" parent="BlocNavCanal" visible="true" enabled="true" capture="true" handcursor="true" cursor="cursor" maskchildren="true" scalechildren="true" zorder="1000" align="topright" edge="topright" x="0" y="0" rotate="0.0" width="425" height="325" scale="1" bgroundedge="0" bgshadow="" bgcapture="false" alpha="0.8" bgcolor="0x000000" bgalpha="1" bgborder="0 0x5E93FF 1" onloaded="tween(alpha, 0.8);" /> <layer name="navBarrage" type="container" parent="BlocNavCanal" keep="true" visible="true" enabled="true" capture="false" handcursor="false" cursor="cursor" maskchildren="true" scalechildren="true" zorder="2000" align="topright" edge="topright" x="-100%" y="0" width="425" height="380" scale="1" bgcapture="false" alpha="0" bgalpha="1" bgborder="0 0x5E93FF 1" bgcolor="0x000000" onloaded="tween(alpha, 1);" enablechildren="true" > <layer name="scroll" type="scrollarea" width="425" childmargin="20" x="300" align="right" edge="right" scrolltype.desktop="smooth" scrolltype.tablet.or.mobile="inertia" direction="v" draggable="true" mwheel="true" capturechildren="true" autoscrollbars="null,vscrollbar_grip,10" onhover_autoscrolling="false" flow="true" flowspacing="20" flowoverflow="true" flowchildren="v" > <layer name="retourNavCanal" type="image" parent="navBarrage" url="skin/fleche.png" keep="true" visible="true" enabled="true" capture="true" handcursor="true" cursor="pointer" zorder="3000" align="right" edge="right" x="30" y="30" width="45" height="45" rotate="180" scale="1" bgcapture="true" onover="tween(colorize,0xbcff3c );" onout="tween(colorize,0xffffff );" alpha="1" capturefocus="true" onclick="ReverseTranslationBlocNavCanal();" /> </layer> </layer> <!-- Non scrolling layers (scrollbars, buttons, ...) here: --> <layer name="vscrollbar_bg" type="container" align="right" width="16" height="100%"> <layer name="vscrollbar_grip" type="container" align="righttop" width="8" x="4" height="16" bgcolor="0xbcff3c" bgalpha="0.5" bgroundedge="7" bgcapture="true" /> </layer> </layer>Style of layers in scrollarea
Code<style name="styleTitreCanal" type="text" parent="navCanal" visible="true" keep="true" zorder="100" enabled="true" alpha="1" scale="1.0" autowidth="true" padding="10" vcenter="true" wordwrap="false" handcursor="true" bgcapture="true" capture="true" align="topleft" edge="topleft" x="10" height="25" bg="true" bgalpha="0.0" bgborder="0" mergedalpha="true" onloaded="tween(alpha, 1);" css="font-family:Raleway; font-size:18px; text-align: left; color:0xffffff;" onover="set(css, font-family:Raleway; font-size:18px; text-align: left; color:0xbcff3c;);" onout="set(css, font-family:Raleway; font-size:18px; text-align: left; color:0xffffff; );" /> <style name="styleListeBarrage" type="text" visible="true" keep="true" zorder="100" enabled="true" alpha="1" scale="1.0" scaley="1" autowidth="true" padding="10" vcenter="true" wordwrap="false" handcursor="true" bgcapture="true" capture="true" align="topleft" edge="topleft" x="10" height="40" bg="true" bgalpha="0.0" bgborder="0" bgroundedge="0" mergedalpha="true" onloaded="tween(alpha, 1);" css="font-family:Raleway; font-size:18px; text-align: left; color:0xffffff;" onover="set(css, font-family:Raleway; font-size:18px; text-align: left; color:0xbcff3c;);" onout="set(css, font-family:Raleway; font-size:18px; text-align: left; color:0xffffff; );" />Function
Code
Display More<-- panoramagroup is my own xml attribut --> <action name="getNomBarrage" args="nomDuCanal" scope="local"> set(hauteur,30); for(set(i,0), i LT panoramagroup.count, inc(i), removeLayer(get(panoramagroup[get(i)].title)); if(panoramagroup[get(i)].canal === get(nomDuCanal), set(layer[titreCanal].html, get(panoramagroup[get(i)].canal)); translationBlocNavCanal(); addlayer(get(panoramagroup[get(i)].title)); assignstyle(layer[get(panoramagroup[get(i)].title)], 'styleListeBarrage'); set(layer[get(panoramagroup[get(i)].title)].parent, 'scroll'); set(layer[get(panoramagroup[get(i)].title)].html, get(panoramagroup[get(i)].title)); set(layer[get(panoramagroup[get(i)].title)].x, 20 ); inc(hauteur, 30); set(monPano, get(panoramagroup[get(i)].linkedscene)); txtadd(appelload, 'loadscene(', get(panoramagroup[get(i)].linkedscene), ,null,MERGE,BLEND(0.5));'); copy(layer[get(panoramagroup[get(i)].title)].onclick, appelload ); ); ); </action>I hope i'am clear ... and that I have given enough elements
Thanks for your help,
Damien
-
Nice !
I win the lines of code of the inverse function.
Thanks
Damien -
Hello,
One thing that would be really handy would be to be able to switch on tweens.
I may not have the right code but I have tested several formulas and I can't do something like this:
or
I also tried with toogle but no ... :)
What do you think ?
Damien
-
Sorry but I'm not very good with javascript and even less with the implementation in krpano.
I don't know which way to take it.Damien
-
I'am stupid ... its possible to target with the name : ... name[i] ...
-
COOOOL !
Thanks, i'll be able to create my hotspot only with krpano ! Sometime simpler than using photoshop.
Is not possible to create hotspot dynamically with a addhotspot with this structure ?
thanks again,
Damien -
Thanks Klaus, i'll try this quickly...
-
Hi,
No solution ?
I've try to put th include <include url="%VIEWER%/plugins/depthmap_navigation.xml"/>
only in the 3D scene, but it stay again.Damien
-
Sorry if i don't understand but i've always nothing using this code, layer under hotspot :
Code<hotspot name="hs" type="container" zorder="200" depth="1000.0" keep="true" ath="0.0" atv="0.0" renderer="css3d" align="center" edge="bottom" maskchildren="false" enablechildren="true" bg="true" bgcolor="0xFFFFFF" bgalpha="0.5" bgborder="0" bgroundedge="0" width="100" height="200" > <layer name="barre" type="container" parent="hs" zorder="400" depth="1000.0" keep="true" x="0" y="0" align="center" edge="bottom" bg="true" bgcolor="0xFF6600" bgalpha="1" bgborder="0" width="2" height="200" oversampling="1.0" mipmapping="false"/> --> <layer name="titre" type="text" parent="hs" zorder="300" depth="1000" keep="true" x="10" y="10" alpha="1" align="center" edge="center" width="100" height="100" text="sous text" rawhtml="false" css="font-family:Arial; font-size:16px; color:#000000;" textalign="center" padding="2" wordwrap="true" ellipsis="false" interactive="false" selectable="false" bg="true" bgcolor="0xFFFFFF" bgalpha="1.0" bgborder="1" bgroundedge="0" oversampling="1.0" mipmapping="false" /> </hotspot>Thanks,
Damien -
hello,
if hotspot can be a container, it's possible te create a complexe hotspot like layer, no ?
With container hotspot and children, only the first hotspot is visible.
As layer, no problem.
Thanks a lot,
DamienHotspot view and Layer view
Code<hotspot name="hs" type="text" zorder="200" depth="1000.0" keep="true" ath="0.0" atv="0.0" renderer="css3d" align="center" edge="center" maskchildren="false" enablechildren="true" bg="true" bgcolor="0xFFFFFF" bgalpha="0.5" bgborder="0" bgroundedge="0" width="100" height="300" > <hotspot name="barre" type="text" parent="hs" zorder="400" depth="1000.0" keep="true" x="0" y="0" align="center" edge="bottom" bg="true" bgcolor="0xFF6600" bgalpha="1" bgborder="0" width="2" height="200" oversampling="1.0" mipmapping="false"/> <hotspot name="titre" type="text" parent="hs" zorder="300" depth="1000.0" keep="true" x="10" y="10" align="center" edge="bottom" width="100" height="100" text="sous text" rawhtml="false" css="font-family:Arial; font-size:16px; color:#000000;" textalign="center" padding="2" wordwrap="true" ellipsis="false" interactive="false" selectable="false" bg="true" bgcolor="0xFFFFFF" bgalpha="1.0" bgborder="0" bgroundedge="0" oversampling="1.0" mipmapping="false" /> </hotspot> -
Hello,
I rebuilt my tour with photogrametry and deptmap is a cool viever for 3d but not for classic 360
I looking for a solution to activate depthmap navigation only for the 3D scene.
Photogrammétrie et 360° | Église de la Salette, BeaujolaisPhotogrammétrie à 360° pour le Patrimoine. L’Église de la Salette à Létra dans le Beaujolais. Photo aériennes et Image 3D.www.damienlachas.comThanks for your help