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,

    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

    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 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 it

    The project : https://multimedia.damienlachas.com/barrage_reservoir_360/

    Layers

    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


    I hope i'am clear ... and that I have given enough elements

    Thanks for your help,

    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:


    Code
    switch(areaH, 66%, 100%); 
    tween(area.height, get(areaH));

    or

    Code
    switch(area.height, tween(area.height, 66%), tween(area.height, 100%));

    I also tried with toogle but no ... :)

    What do you think ?

    Damien

    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

    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,
    Damien

    Hotspot 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>