krpano 1.23 - 3D Gaussian Splatting Support

  • On desktop everything works fine but with a mobile / touch interface when you move in 3d space then the Mouse wheel type seems to go back to ZOOM and change the fov not the distance. the pinch no longer make you go further but change the FOV.

    Hi,

    this comes from this setting in the controls3d.xml:

    Code
    <!-- automatically switch between first-person and object-rotate controls modes depending on the object viewing distance  -->
    <control dragscale="link:view.oz:view.oz GT 100 ? -1.0 : 0" />

    It works that way:

    • view.oz is the 'distance' from the view/rotation-center
    • if that distance is below 100, then the control.dragscale setting is 0, which causes the normal/default pano-like control
    • if the distance is greater than 100, control.dragscale becomes -1, which is an 'inverted' and 'fov-independed' pano-control, which is better suitable for an object/orbiting-like control

    So to avoid that automatic distance-based control switching, just remove that line.


    Beside that - the whole 3d controls are all defined in this file and can be customized there in many ways.
    E.g. for 'always' using the zoom-gestures for moving, comment this line:

    Code
    //if (krpano.control.touchzoom && (md > 0.11 || Math.abs(gesture.rotation) > 30))
    Quote

    And on mobile interface it look like it makes us go in Flying mode not in walking mode.

    Actually the flying mode doesn't get enabled, but vertical finger movements are changing the eye-level.
    To change that too - look a few lines below here:

    Code
    var dy = gesture.dy;

    and change that to:

    Code
    var dy = 0;


    Best regards,
    Klaus

  • Hello Klaus ! And Thank you for the fast and precise answer to my questions !

    I have changed all listed above and it's starting to act just like the mouse with the right and left mouse button.

    But I have lost the ability to zoom with the touch instead it make me go front to back. I would like the same behavior as a mouse, 2 fingers make you move right, left, back and front just like the right mouse button using the walk to keep it on the same level, and pinching make you change the distance to the center point.

    Here is what i've got so far : https://medias.2pixels.fr/DEMO/GAUSSIAN/…tml?media=spyro

    Thank you a lot for your time and help !

    2Pixels

  • May I ask when the version supporting the sog format is expected to be released?

    If you need a 3D tour, feel free to contact me for panoramic image 3D tour production services and krpano secondary development. *smile*
    In addition, if you have development business in panoramic image platform, you can also contact me. I look forward to exchanging various application scenarios and exploring panorama applications with you.

    Our company is based in Shanghai, China and we have been engaged in panoramic business since 2017.
    Email:2269544378@qq.com
    web:http://www.good360vr.com

  • Hello Klaus ! I am currently trying to add polygon hotspots in the 3dgs scene using the points3d method. However, I am unable to obtain the x, y, z coordinates with the mouse. How can I obtain the xyz coordinates of the mouse click? Does 3dgs not support the previous method of obtaining xyz coordinates

  • Hello Klaus ! I am currently trying to add polygon hotspots in the 3dgs scene using the points3d method. However, I am unable to obtain the x, y, z coordinates with the mouse. How can I obtain the xyz coordinates of the mouse click? Does 3dgs not support the previous method of obtaining xyz coordinates

    hi
    I believe you can use the helper provided in here to get them with visual aid
    krpano

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!