Beiträge von Matru42

    Hi Tuur

    Thanks for your answer. To remove some strangeness for my question, this is extracted from KRPANO doc...

    and this one extracted from release notes for version 1.21, but OK, not in "official" documentation

    Code
    New: Support also <action> autorun="true" (same as autorun="onstart").
    New: deprecatedwarnings - show a warning when using old deprecated actions.

    according to the doc , the real problem is rather the unexpected behavior of += operator for strings...

    Last point, i am sorry for my bad english. (i am French...)

    Hi everybody

    operator += seems not working properly when the initial var is an empty string or if the string contains only white spaces. Is it normal ?

    krpano version 1.21 is used.

    have a good day.

    Code
    	<action name="x" autorun="true" >
    		set(a, '');
    		def(b, string, ' ');
    		
    		txtadd(a, 'aaa');  
    		b +='bbb';
    		trace ('a= ', a, ' b= ', b);    // result is a= aaa b= 0bbb    leading 0 unexpected...
    </action>

    Hi everybody
    not very annoying for me, but it seems the "nolu" flag has no effect on class B private networks (tested only on 172.16.X.Y...) No local usage error is reported in such case and the panoramas can be lauched normally.
    An error normally occur when on class A(10.X.Y.Z) or C (192.168.X.Y) private networks
    Have a good day...

    I have a workaround... Work fine when i use two (left and right) flat images. So what is the so particular SBS file format expected ?

    Code
    <!--image stereo="true" stereoformat="SBS">
    			<flat url="data/DSCF7631.jpg" /-->
    		<image stereo="true" stereolabels="l|r" >
    			<flat url="data/DSCF7631_%t.jpg" />
    		</image>

    Hi
    just trying to play with stereo images. The image is a jpeg file, in SBS format. I cannot view it with display.anaglyph = true. Am i missing something ?

    Code
    <krpano logkey="true" showerrors="true" debugmode="true">
    	<scene name="stereopano1" autoload="true" onstart="set(display.anaglyph, true);">
    <!-- startup view -->
         <view hlookat="110" vlookat="10" />
    		<image stereo="true" stereoformat="SBS" >
               <flat url="data/DSCF7631.jpg" />
        </image>
    	</scene>
    </krpano>


    See the result here
    https://pano360.jpmassard.fr/Try
    Thank you for your help

    Hi everybody
    I cannot get correct initialisation for network object. Some fields are always empty (htmlpath, currentxmlpath, ...)
    DEBUG: network=[Object] type=object
    DEBUG: network.retrycount=[2] type=number
    DEBUG: network.txtretrycount=[0] type=number
    DEBUG: network.cachesize=[7] type=number
    DEBUG: network.maxdownloads=[20] type=number
    DEBUG: network.maxrequests=[9] type=number
    DEBUG: network.maxdecodes=[4] type=number
    DEBUG: network.maxdecodetime_moving=[12] type=number
    DEBUG: network.maxdecodetime_still=[28] type=number
    DEBUG: network.stats=[Object] type=object
    DEBUG: network.swfpath=[../viewer/] type=string
    DEBUG: network.viewerpath=[../viewer/] type=string
    DEBUG: network.firstxmlpath=[] type=string
    DEBUG: network.currentxmlpath=[] type=string
    DEBUG: network.htmlpath=[] type=string
    DEBUG: network.basepath=[%FIRSTXML%] type=string
    DEBUG: network.ispanoloading=[false] type=boolean
    I am using krpano 1.21 ( 02 09 2023) and Edge 114.0
    Do you think it is a browser, server or krpano problem ?
    Thanks in advance.

    HI all
    Playing with this great tool krpano1.20.11
    Is seems %VIEWER% dos not have a correct value in this case

    Code
    <script src="../viewer/krpano.js"></script>
    <div id="pano" style="width:100%;height:100%;">	<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>	<script>		embedpano({xml:"Noel2021.xml", target:"pano", html5:"only", mobilescale:1.0, passQueryParameters:"startscene,startlookat"});	</script></div>


    unless the swf param is specified

    Code
    <script src="../viewer/krpano.js"></script>
    <div id="pano" style="width:100%;height:100%;">	<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>	<script>		embedpano({swf:"../viewer/krpano.swf", xml:"Noel2021.xml", target:"pano", html5:"only", mobilescale:1.0, passQueryParameters:"startscene,startlookat"});	</script></div>

    Happy new year for everybody...