Hi Piotr'
Happy to be using your plugin. Just unpacked and going to explore these flares. But could there be a way to minimize the files that should be uploaded (I understand that all the files in the lensflare folder should be copied to skin folder. But on the server do all these files really need uploading?

UPDATE ver 4.5 - New lensflare plugin for HTML5, Flash and VR!
-
-
Hi
The entire folder is less than 5 Mb, however... you can copy only the folders whose styles are used in the project.
Piotr
-
Hey there,
Great plugin, it seams to work great. However whenever I enable deep linking it appears to disable it's self. Any thoughts? -
However whenever I enable deep linking it appears to disable it's self. Any thoughts?
During the tests it was not a problem with deep linking. Send me a link to PM.
QuoteHey there,
Great plugin, it seams to work great.Thank you
Kind regards
Piotr
-
Hi
I have purchase and add the plugin to my project files as the following steps. however it does NOT work...need for your help.
(1) add the include files in the tour.xml
<krpano version="1.19" title="Virtual Tour">
<include url="skin/vtourskin.xml" />
<krpano flare_dir="skin/lensflare"/>
<include url="skin/lensflare/core.xml" />(2)copy the lensflare folder into the skin folder
(3)modify the lensflaresettings.xml
<krpano>
<lensflares name="obj">
<item name="flarka7151" ath="91" atv="-3" scene="scene_Mars360" typ="blinkstyle4" dust_effect="false"/>
</lensflares>
</krpano>
I use the krpano 1.19-pr5 and the "MAKE VTOUR (MULTIRES) droplet.bat" to generate the project files.Here is the URL:http://www.vliti.com/vr/test/vtour/tour.html (as you see, there are no lensflare in the scene...)
and this is the project files as ZIP:http://www.vliti.com/vr/test/vtour.zip
Thanks for your help
-
Hi
Lensflare based on names of the scenes to separate instance of the all flares. Variable names are case sensitive. Sometimes krpano converts uppercase letters in names to lowercase, and the problem arises. Some servers also do not like to mess with capital letters. This is the general rule.
In your examples scene_Mars360 is the reference variable in lensflare names.
scene_Mars360 != scene_mars360
Look here:
http://spacerywirtualne.pl/krpano/lensflare/mars/Always remember the principle of "server names Friendly" so no: "-,><{}/$%@* and better use Lower case in panorama names before you use droplet.
Best regards
Piotr -
Hi
Lensflare based on names of the scenes to separate instance of the all flares. Variable names are case sensitive. Sometimes krpano converts uppercase letters in names to lowercase, and the problem arises. Some servers also do not like to mess with capital letters. This is the general rule.
In your examples scene_Mars360 is the reference variable in lensflare names.
scene_Mars360 != scene_mars360
Look here:
http://spacerywirtualne.pl/krpano/lensflare/mars/Always remember the principle of "server names Friendly" so no: "-,><{}/$%@* and better use Lower case in panorama names before you use droplet.
Best regards
PiotrHi Piotr
Thanks for your help
It works!
-
-
Hi
The entire folder is less than 5 Mb, however... you can copy only the folders whose styles are used in the project.
Piotr
I just losslessly compressed all the PNG files in this plugin, which yielded a savings of 669.4K (which is 27.8%). This is substantial. I used the free ImageOptim. I'd recommend that you do the same. If you don't have a Mac to run it on, I'm happy to zip up the files and send them to you, Piotr. Cheers!
-
Hi
Thank you for the suggestion. You can send me the zip if you want.
Piotr
-
Hi, I bought this plugin and I find it really great but I'd like to know why we can't use it when we did a tour with, for exemple, "MAKE PANO (multiRes) droplet" (and only with "MAKE VTOUR (MultiRes) droplet"
Thanks in advance
Best egards
JP -
I add a lensflare by action like this :
set(lensflares[obj].item[flareobj].ath,0);
set(lensflares[obj].item[flareobj].atv,0);
set(lensflares[obj].item[flareobj].scene,get(xml.scene));
set(lensflares[obj].item[flareobj].typ,blinkstyle1);
set(lensflares[obj].item[flareobj].dust_effect,false);but not works , and when I change to other scene , the lensflare show .
if I want chang the ath and atv , not works too :
set(lensflares[obj].item[flareobj].ath,10);
set(lensflares[obj].item[flareobj].atv,10);how can I fix it ?
-
There is nothing to fix. This is not an error.
At this moment a flare is loaded after loading the scene. Perhaps in the future, we consider adding a method to dynamically add flare.At the moment you can use this solution:
Perhaps this help.
Piotr -
There is nothing to fix. This is not an error.
At this moment a flare is loaded after loading the scene. Perhaps in the future, we consider adding a method to dynamically add flare.At the moment you can use this solution:
Perhaps this help.
PiotrThx for this ! I see in the demo (addflaremode=1) , can add and remove flare , how can I do it ?
-
Thx for this ! I see in the demo (addflaremode=1) , can add and remove flare , how can I do it ?
Yes,Please explain how you do this?
How you add or remove flare? -
Hello Piotr,
For a tour with multiple scenes, each containing multiple lensflares, is there a performance benefit (memory usage, for example) if I put individual lensflares inside their respective <scene> containers instead of loading them all inside the lensflaresettings.xml file? Thanks.
-
Hi
For a tour with multiple scenes, each containing multiple lensflares, is there a performance benefit (memory usage, for example) if I put individual lensflares inside their respective containers instead of loading them all inside the lensflaresettings.xml file? Thanks.
New lensflare instance is loaded on the onnewscene events. If you go to next scene then lensflare is deleted form whole memory project. This plugin has to imitate a solar flare, the sun is single
With the addition of new flares can have an impact on performance (eg 10 lensflare in one scene). It depends on the individual device. Of course this is happens in this specific scene not entire project. In lensflaresettings.xml file are storen only data settings, methods, and other stuff. This file are loaded on the start, parsing and that's it.
Piotr
-
Hello,
I recently purchased Panotour Pro + krpano + lensflare plugin.
Thank you very much fir these good products.I am trying to add lensflare to Panotour generated tour.
I added:
<!-- flare_dir: var with the address of the lensflare folder -->
<krpano flare_dir="skin/lensflare" /><include url="skin/lensflare/core.xml" />
to my \Park_Placedata\Park_Place.xml (Panotour ) instead of tour.xml (krpano)
and I was hoping to add lensflares then but when I try to open Park_Place.html
I have an fatal error Park_Placedata/skin/lensflare/core.xml - loading filed (404)
Is there any way to make these two things work together?
Thank you,
Dmitry. -
Hi Dmitry
Lensflare plugin at the moment it does not work with Panotour Pro. If our product works with Panotour Pro clearly informed about this in the documentation.
Just like here
It is possible that in the future will be compatible with panotour pro. For now, you can use it with krpano droplet
Piotr
-
Hi Piotr.
Right now the lensflare-effect kicks in very abrupt.
This looks unnatural.
Would it be possible to change this to a more smoother transition?Thanks ...
q-ki -
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!