Register | Login Welcome back  | My Account | Logout
 
    FXhome Team Member

Cogz

FXperience: 13300 | Joined: 18 Jun 2002 | Posts: 957

 
Profile  Message  Website  

VisionLab User VideoWrap User PhotoKey 3 Pro User MuzzlePlug User PowerPlug User FXpreset Maker Windows User MacOS User

Posted: Tue Jan 31, 2006 5:10 pm    Post 1 of 11

Rating: 

+10 (-0 / +10)

 info

Quote

Some people have had difficulty getting to grips with the Optic engine, so I have thought I'd do a tutorial which runs through step-by-step on making a lens flare, and also includes a bit of tech info along the way.

The lens flare I have created has been added to the presets library which I will link to at the end. I haven't included all the settings but rather given you a general overview about specific parts, so download the preset after you're done reading to see for yourself how it all ticks.

This tutorial applies EffectsLab DV, EffectsLab Pro and VisionLab HD. I'm using EffectsLab Pro specifically to create the tutorial and preset.

1. Locate the 'Effect' tab and add an Optic engine to the canvas, you can do this by double clicking on it or click+drag onto the canvas or the timeline.

2. Click on the 'Optic movement' track on the timeline. You will notice a square box 'handle' appears on the canvas. This is the origin for the lens flare. Currently it is located in the center of the canvas, click and drag it to move it near one of the edges, I've placed mine in the top left, but basically move it away from the center to begin.



Tech: Optic Movement

The optics shapes you add are based along a line, which always runs through the center of the canvas irrespective of where the origin handle is. This is what happens in the real world when you move the camera lens in relation to a light source. To illustrate this point I've drawn lines on the canvas below.




3. Now we're going to start adding shapes to build up our effect. The way I've done my other presets is by starting on the main flare, then adding the secondary flares after. On the timeline, click on the 'Optic shapes' track, this brings up the attributes window in the toolbox. Click on the 'Circle: filled' to add the first shape. I think we'll do a funky blue flash type flare, so click on the color (default as red) and set it to the colors similar to this. Note you can use more than one color.



Tech: The Color Gradient

The shapes in the optics engine are actually greyscale, they are colored either using a single color, or a range of colors which stretch over the range of grey. Taking the example of a palm tree, the image has been desaturated meaning the RGB (red, green, blue) channels are all the same. The range stretches from white to black as you can see by the gradient below the image. Mapping different colours onto this gradient changes how the image is colored, as you can see I've changed white -> green, and black -> blue. You can see where there was white before, its now green, where it was black, its now blue. And the greyscale range between these extremes have a mixture of both green and blue.





Back to our 'Circle: filled' shape, its still looking a bit odd, so lets change the radius to 20, and the outer feather to 131.



4. Now that we have a start, lets add a Spike: star. I've chosen six sides, meaning six points on the star. The width refers to the number of lines which make up each point. I've reduced the brightness of the shape so that the lines appear finer. This trick works with all of the spike shapes.



5. Now we'll add a bit of a burst by adding two 'Spike: fan' shapes; both have 34 sides, meaning 34 lines emitted from the shape. The fan has an angle, defaulting to 0 degrees, the aperture is the angle range plus and minus from this angle. I've given the fan an aperture of 50 degrees.



Tech: Seeding

Some of the variables used in the effects are created using a random function. Using a simple example, picking 5 random numbers from 1 to 100, the result might be 3, 87, 45, 32, 65. If you 'seed' this function with a number, seed=1, the 5 random numbers will be the same every time, changing the seed number creates a different set of random numbers. Tweening this 'seed' over time will cause the effect to change.


6. I still don't think our flare has enough energy, so I'm going to add a couple of 'Line' shapes. Multicoloring them to white ----> blue, like we did for the filled circle in the beginning. I've rotated the lines so that they cover up some of the star spikes, this makes it look like that star is even brighter.



7. To make our flare glow, I'm now going to add a Circle: gradient to cover the whole thing. Wow, ok, that’s looking quite good now. Onto the secondary flares.



8. As I explained earlier the Optic engine runs along this line which extends both sides from the origin going through the center of the canvas. The secondary flare shapes we're going to add next will all run along this line. Since we have a six-sided star, I'm going to use six-sided polygon shapes, but you could use circles or whatever you like.

Click on the 'Polygon' to add it, when it appears its located in the center of our main flare. To move it, change the distance to 62, this is where I'm going to place the first polygon. I don't want these secondary flares to appear too sharp and clear, so I'm going to add some Shape blur, and also adjust the transparency down to about 25. The color of these secondary flares can vary from the main flare, but I'm going to stick to blue/purple colours myself.

9. Add a few more polygons, varying the distance, size, color and transparency until you think you have enough, I've stopped at 5. The end result is a finished flare, now its just figuring out a name, I've decided on Cobalt Crash, and save it as a preset.



See the full sized flare here

Find the preset here

It's also worth mentioning some of the options which I have not used in this Optic effect.

Offset x/y - As I mentioned, the Optic effect runs along this line; you can offset the shape away from this line by changing these variables. As you move the origin about you will notice that the shape sticks to this offset distance.

Controlled/Static - If you have the shape, e.g. a 'Line' set to "controlled", when you click on 'Optic movement' and rotate the entire shape, the 'Line' will also rotate along with the whole shape, set the 'Line' to static, and it will stay at the angle set within the shape.

Can you use the Optic engine for anything other than lens flares?

Having watched Battlestar Galactica 2003 recently I decided to try and recreate the ship 'jumping' effect, using the principles I've laid out in the above tutorial. For those of you not familiar with the show, the spaceships have to perform some sort of hyper light jump, which on screen looks like a few flashes.

Here's a little movie of what I've come up with

The presets for this is in two parts, so make sure you get A and B

Battlestar Jump... Part A
Battlestar Jump... Part B

I hope you have enjoyed reading this, if you have any further questions or perhaps an idea for another tutorial let me know.

Cogz

Last edited by Cogz on Tue Jan 31, 2006 5:48 pm; edited 1 time in total
    Gold Member

Klut

FXperience: 2338 | Joined: 16 Apr 2004 | Posts: 1535

 
Profile  Message  MSNM  

VisionLab User FXhome Movie Maker FXpreset Maker Windows User MacOS User

Posted: Tue Jan 31, 2006 5:15 pm    Post 2 of 11

Rating: 

0

 info

Quote

Yeah, I've always thought of you as the Effectslab Optic engine's LEGEND!

Great tutorial, I never got to make good stuff with the optics engine, now I can
    Gold Member

Oeyvind

FXperience: 3040 | Joined: 06 Jun 2005 | Posts: 577

 
Profile  Message  Website  

CompositeLab Pro User FXpreset Maker Windows User

Posted: Tue Jan 31, 2006 5:53 pm    Post 3 of 11

Rating: 

0

 info

Quote

Cogz wrote:
I hope you have enjoyed reading this...


Yeah, great tutorial there, dude! Allways wanted to know what looks realistic on a lensflare..! Great job!! +1

Oeyvind
Please check out my list of free softwares here.
Visit us at Bones Pictures!
    SuperUser

Redhawksrymmer

FXperience: 18107 | Joined: 19 Aug 2002 | Posts: 2607

 
Profile  Message  Website  MSNM  MySpace  YouTube  

VisionLab User VideoWrap User PhotoKey 3 Pro User MuzzlePlug User PowerPlug User PhotoKey 3 Plug-in User FXhome Movie Maker FXpreset Maker Windows User MacOS User

Posted: Tue Jan 31, 2006 7:51 pm    Post 4 of 11

Rating: 

0

 info

Quote

Nice Tutorial, very useful! +1
    Gold Member

topcat

FXperience: 2600 | Joined: 30 May 2003 | Posts: 606

 
Profile  Message  Website  YouTube  

VisionLab User FXpreset Maker Windows User

Posted: Thu Feb 02, 2006 8:58 am    Post 5 of 11

Rating: 

0

 info

Quote

Really great tutorial, really helpful +1

TC
    Gold Member

Landon

FXperience: 670 | Joined: 12 Mar 2005 | Posts: 162

 
Profile  Message  

CompositeLab Pro User Windows User FXpreset Maker

Posted: Sun Feb 12, 2006 9:02 pm    Post 6 of 11

Rating: 

0

 info

Quote

Great tutorial! This really helped me out! +1!

-Landon
    Member

111 000

FXperience: 0 | Joined: 12 May 2006 | Posts: 1

 
Profile  Message  MSNM  

Posted: Fri May 12, 2006 11:43 pm    Post 7 of 11

Rating: 

0

 info

Quote

iam very please to read thistutorial its really nicetutorial and true way making just like this as you have made one thanks alot


Dear sir just tell me the name of soft were in which you have created this lenes flare


just full name as i can buy it from any shop

please if you want to write me so please just email me at az_jN2000@yahoo.com or at fxhome please
    Gold Member

Mellifluous

FXperience: 5437 | Joined: 06 Oct 2002 | Posts: 3755

 
Profile  Message  Website  

EffectsLab Pro User Windows User

Posted: Fri May 12, 2006 11:52 pm    Post 8 of 11

Rating: 

0

 info

Quote

The program used to create the lens flare is Fxhome's EffectsLab, from this very website. And no, you can't buy it in any shop, it's available only to purchase from this site. You cannot buy/download EffectsLab from anywhere else.

http://fxhome.com/effectslab/
    Gold Member

Mellifluous

FXperience: 5437 | Joined: 06 Oct 2002 | Posts: 3755

 
Profile  Message  Website  

EffectsLab Pro User Windows User

Posted: Sat May 13, 2006 12:37 pm    Post 9 of 11

Rating: 

0

 info

Quote

FXhomer5312 wrote:
Hi

i really contect to you as you told . but how . there no more information about you neither any email address please Email me your email address as i can email you correctly

just email me at rauf.saand@hotmail.com

or at az_jan2000@yahoo.com be soon



DON'T MESSAGE ME. I did not tell you to. See above. You can only buy the software EffectsLab from this site. The one you're on now:

http://fxhome.com/effectslab/
    SuperUser

Axeman

FXperience: 15414 | Joined: 20 Jan 2002 | Posts: 5844

 
Profile  Message  Website  MySpace  

VisionLab User VideoWrap User PhotoKey 3 Pro User MuzzlePlug User PowerPlug User PhotoKey 3 Plug-in User FXhome Movie Maker FXpreset Maker MacOS User

Posted: Wed Aug 23, 2006 9:16 pm    Post 10 of 11

Rating: 

0

 info

Quote

Interesting fact I just learned and thought I would share: the geometric shapes that sometimes appear in lens flares (pentagons, hexagons, octagonts, etc.) are actually caused by the aperture in your camera lens. The number of leaves in the diaphragm of the aperture determines the number of sides to the shape your lens will create in a lens flare. A long string of shapes is cause by the aperture opening being reflected back and forth between the glass elements in your lens.
    Member

Skatingecko

FXperience: 20 | Joined: 19 Oct 2007 | Posts: 16

 
Profile  Message  

Posted: Thu Nov 22, 2007 3:18 am    Post 11 of 11

Rating: 

0

 info

Quote

Amazing! so many combinations, great galactica optic i loved that