Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-8 von insgesamt 8.

Montag, 24. April 2023, 09:51

Forenbeitrag von: »ctt360«

Option "vlookatoffset" and "fov" for "set3dtransition"

Hi Klaus, is this something you will consider for one of the next releases? Please let me know, if the description is unclear, so I can clarify. Kind regards, Christian

Montag, 3. April 2023, 13:12

Forenbeitrag von: »ctt360«

Option "vlookatoffset" and "fov" for "set3dtransition"

Hi Klaus, the action "set3dtransition" has an optional "hlookatoffset" option. It would be nice to also have such an option for the vertical axis. For some panos, we set the "vlookat" attribute of the "view" tag to capture the most important part of the image (e.g. looking upwards to see more of a building from the outside). When the user moves to the next scene (to the inside of the building), we need to correct the vlookat mostly to "0", but it might also need to be set to another specific val...

Donnerstag, 23. März 2023, 21:54

Forenbeitrag von: »ctt360«

krpano 1.21 (pre-release)

Zitat von »kme« Workaround: Quellcode 1 2 3 4 5 6 7 8 9 <action name="pos_update" scope="localonly"> if (get(global.layer[text-pos].visible) == "true", set(global.layer[text-ath].text, calc(roundval(global.view.hlookat, 2))); set(global.layer[text-atv].text, calc(roundval(global.view.vlookat, 2))); set(global.layer[text-fov].text, calc(roundval(global.view.fov, 2))); ); </action> Nice workaround, it does seem to work reliably this way. ---- Zitat von »San7« Hi, most likely when "visible" is dis...

Donnerstag, 23. März 2023, 16:28

Forenbeitrag von: »ctt360«

Layer text not reliably updated when the layer is invisible

Hi Klaus, I noticed, that the text of invisible layers is not reliably updated, even after they switch to being visible. Please see this test case: https://36o.de/test/krpano1.21-text-update/ After loading the tour, move the panorama at least a little bit, then press the character "p" on your keyboard. This will show the current numbers for hlookat, vlookat and fov in the bottom right corner of the tour. However, most of the time the number for ath (hlookat) will not be displayed. Sometimes, two...

Freitag, 17. März 2023, 17:58

Forenbeitrag von: »ctt360«

Some properties from 'css' attribute are not applied to text layers when the 'cssstyles' attribute is set

Hi Klaus, in 1.21 (2023-03-16) some properties from the 'css' attribute are not applied to text layers when the 'cssstyles' attribute is set (it worked as expected in 2023-02-09). Some properties like 'background-color' work, but others like 'color', 'font-family' and 'font-size' are filtered. Please see this test case: [redacted] This is the complete code to reproduce the issue: Quellcode 1 2 3 4 5 6 7 8 9 10 11 <cssstyles> <![CDATA[ .test {} ]]> </cssstyles> <layer name="text1" type="text" tex...

Donnerstag, 2. März 2023, 11:29

Forenbeitrag von: »ctt360«

3D transitions with hlookatoffset and prealigned scenes

Hi Klaus, please see this test case: [redacted] The first two scenes are taken from your apartment demotour, but I added an hlookatoffset to the onclick action when walking from the entrance to the bedroom ("scene3dtransition(br, 90);"). The transition works as expected. In the next two scenes (016 and 017), the "prealign" attribute is used in the <image> tag. When you walk from scene 016 to scene 017 (via the white arrow; hlookatoffset is set in the onclick action: "scene3dtransition(scene_017,...

Freitag, 24. Februar 2023, 15:16

Forenbeitrag von: »ctt360«

krpano 1.21 (pre-release)

Zitat von »klaus.krpano« Zitat von »ctt360« I noticed a strange behavior when calling "loadscene" inside an action with its scope argument set to "localonly". This action code will only load the preview image of the new scene (plus its hotspots etc., but the pano will stay blurry): Sorry, I can't reproduce this... Do you use version 1.21? Hi Klaus, yes, I use version 1.21. After some more testing I have now isolated a test case, please see [redacted] (view-source:[redacted]) Executing this comm...

Freitag, 24. Februar 2023, 11:56

Forenbeitrag von: »ctt360«

Calling loadscene from within a localonly action

Hi Klaus, I noticed a strange behavior when calling "loadscene" inside an action with its scope argument set to "localonly". This action code will only load the preview image of the new scene (plus its hotspots etc., but the pano will stay blurry): Quellcode 1 2 3 <action name="change_scene" scope="localonly" args="new_scene"> loadscene(get(new_scene)); </action> When I change the actions scope to "local" the full pano image gets loaded as expected: Quellcode 1 2 3 <action name="change_scene" sc...