• Yes thank you very much, don't worry for the time, have a good holiday *wink*

    the "lensflaresettings.xml" file is as i said :

    Code
    <krpano>
    <lensflares name="obj">
    <item name="flarka000001" ath="-115.7" atv="-1.1" scene="scene_1" typ="blinkstyle4" dust_effect="false"/>
    <item name="flarka000002" ath="175" atv="-9" scene="scene_2" typ="blinkstyle2" dust_effect="false"/>
    <item name="flarka000003" ath="166" atv="-8" scene="scene_3" typ="blinkstyle2" dust_effect="false"/>
    </lensflares>
    </krpano>

    it could be cool to get the variables (name, ath, atv, scene) from this file, and set them (on loading scene) in flares in each new scene , perhaps adding flares with something like this:

    Code
    <flare name="getlensflare(name)" preset="getlensflare(preset)" ath="getlensflare(ath)" atv="getlensflare(atv)" />

    and functions which get this variables in the "lensflaresettings.xml" file, something like this (very bad code sorry, it's for explain the idea):

    thank you again for your help !       

Participate now!

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