Lens Flare plugin
This is one more free open source plugin for Flash Panorama Player.
Paste this code to your Hotspots plugin XML:
<spot id="lens" url="files/lensFlare.swf" pan="-44" tilt="45" align="LT" buttonMode="0" blendmode="lighten" scaleable="0" radiance="0.3" />
(blendMode=”lighten” makes it more natural in my opinion, you can remove it; radiance=”0.3″ defines the power of “blinding effect” when the flare is on the screen, use values from 0 till 2).
Use Editor plugin to superpose the lens flare spot to the source of light (sun, for example) on the panorama image.
If you have Adobe Flash CS3, you are able to create your own lens flare plugins. Open the source of the plugin and edit the graphic elements. I made a simple flare effect with rounded barely visible glares. You can add any shaped glares in any color. Good glare effect can animate the scene a lot. But be careful with number of glares, too many glares with various alpha and blur effects require additional processor time and can slow down your panorama.
If you have Actionscript 3 knowledge, you are able to change everything in the source. This source is a good template as well if you want to create some plugin with interactive elements on the panorama image.
I remind that there are no differences between various types of panorama images (QTVR files, cube faces, spherical or cylindrical images) inside the player. You can use any player extension with any panorama type. This is another example (cylindrical QTVR file with lens flare effect).
There is no restrictions for open source plugins. You can change, rewrite, distribute and use them as you wish. You can write your own plugins based on open source code and you can sell your work and your plugins to other Flash Panorama Player’s customers (if you can implement something worthwhile of course ).
I think the community of Flash Panorama Player now is big and smart enough and I’m not going to implement all possible features myself always. You can do some too. Meanwhile I’m going to focus on API documentation and the engine improvements.
If you are customer of Flash Panorama Player but you are still not on this forum (http://flashpanoramas.com/forum/), please, register. You can find there some people who know about the player more than me! It’s true, I saw some questions on the forum and I have no idea how to answer them, but some other users answer them without a problem. I got some new info about my player usage at that time. It’s amazing!
Thanks for all, guys.
This entry was posted on Saturday, November 17th, 2007 at 1:21 pm and is filed under Flash, Flash Panorama Player. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.