Beiträge von warrant

    Hello,

    I am using krpano to pan and zoom into a large product picture. After a certain level of zoom I am trying to insert a 'pixelate' effect. In order to accomplish this I need to have a snapshot of the screen at that zoom level and write it in another canvas where to implement my effect.

    It seems that it's impossible to make this snapshot.....I tried other js libraries like html2canvas or simply 'by hand' (elem = document.getElementsByTagName('canvas')[0];..... and try to draw this krpano generated canvas into mine). The problem is that krpano canvas context is a webgl one and I cannot capture it to be drawn in another canvas. (not to mention that in IE edge the context is null).

    Any ideas of how can I make this 'screenshot' ?

    Thx in advance
    Warrant

    SOLVED

    The correct vfov for this pano set by the droplet was vfov="0.562751". For some reasons I played with the numbers a bit and did not observed the difference in html5 viewer.
    Setting the vfov back to original value solved the hostpots positioning issue (the image was a bit distorted...hence the positioning difference.... not noticeable in htmls though).

    Hope it helps
    W

    Hello,

    I have a flat panorama:

    Code
    <image type="CYLINDER" hfov="1.00" vfov="0.500" voffset="0.00" multires="true" tilesize="512" progressive="true">

    with these view settings:

    Code
    <view fovtype="HFOV" fov="1.0" fovmax="1.0" maxpixelzoom="2.0" limitview="auto" />

    and a lot of hotspots like this (I positioned them using a draggable hotspot and printing out ath and atv):

    Code
    <hotspot name="spot1" style="hotspot_ani_white" visible = "true" alpha="1" ath="-0.028" atv="0.157" onclick="click_action(1)" min_level="1" scoreLvl="1" />

    My problem:
    In html5 view everything is perfect, but in flash view the hotspots are not correctly positioned, but way 'upper' on the vertical coordinate
    Is this a known issue? Is there some workaround (except of having a different set of coordinates for flash case *g* )?

    Thanks in advance for help,
    W

    Hello,

    I have a series of hotspots, and I am adding in each of them (using onclick) some images that I want to animate:

    My problem is that the tweens are overwriting.....so I click a hotspot>> animation inside starts ok>> click another>>the animation in previous is stopped and so on.

    Is there a solution for this? a simply want to have animations in each hotspot completing on their own and don't have them stopped when I click on other hotspot.


    Thank you,
    W