Creating custom image-element does not work as expected

  • Hi
    I'm creating a custom droplet.

    Inside the scene-element I need an image-element.
    Something like this:
    <image style="Camera_001">
    <cube url="panos/Camera_001.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1152,2304" />
    <depthmap style="depthmapsettings" center="300,0,0"/>
    </image>

    Question 1

    For the style-attribute I added this in the vtour-normal.config:
    # image element parameters
    xmlimageparameters=style="[BASENAME]"

    But this results as:
    <image style="[BASENAME]">
    <cube url="panos/Camera_001.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1152,2304" />
    </image>

    I tried with the following variants:
    xmlimageparameters=style=[BASENAME]
    xmlimageparameters=style=%BASENAME%
    xmlimageparameters=style="%BASENAME%"

    None of them works. It outputs always the placeholder-name but not the dynamic Basename.
    What do I do wrong there?

    Question 2
    What do I have to do to get a depthmap-element inside the image-element?


    Kind regards
    Alain

    Edited once, last by Alain (November 16, 2020 at 5:44 PM).

  • Just solved it by putting the image-element with its depthmap-element directly into the scenetemplate (without a placeholder like [image]).
    Often I'm just to blind to see the most obvious solutions *wacko* *smile*

    Edited once, last by Alain (November 17, 2020 at 11:43 AM).

Participate now!

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