3DGS : Point cloud effect on start

  • Hi,

    How to have the point cloud effect on start like the demo ? ... see picture...

    I search in splat or display attribut but nothing...

    Ok for yhe light effect but i would starting with the beautiful point cloud effect...

    Can you help me please...

    Damien

    • New
    • Official Post

    Hi,

    there is an explicit example for such effects included:

    krpano.com - Examples

    Source:
    krpano Code Editor

    It works by using a WebGL GLSL shader that can dynamically modify the parameters of a single splat.

    E.g. here the default and most simple shader - it scales a splat depending on the distance from the world-center:

    The 'uniform' variables (e.g. range and progress) in this shaders are parameters that can be controlled from xml/actions/js. E.g. The unveil effect is done by animating (tweening) the progress value.

    See here the <image> <splat> declaration for details - the shader is set, the parameters are set and in the onloaded event the animation is started:


    That means just add the shader code to the xml, and the parameters to the <splats> element,(and probably adjust the parameter like range to your model) and it should work.

    And because basically every parameter of splat can be dynamically modified at runtime, various effects are possible. You can use the included shaders or try creating own ones.

    Best regards,
    Klaus

Participate now!

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