You are viewing an archive of the old fxhome.com forums. The community has since moved to hitfilm.com.

Fish eye lens effect? [ANSWER]

Posted: Thu, 26th Oct 2006, 7:14am

Post 1 of 13

Mugsy42

Force: 806 | Joined: 13th Apr 2003 | Posts: 34

CompositeLab Pro User EffectsLab Lite User Windows User

Gold Member

Hi Guys ,

Anyone have any ideas how i can make a fish eye lens effect using either comp lab or effectls lab?

I'm thinking the displacement filter might be the key to it, but not sure how.

Any help would be great.

Thanks
Posted: Thu, 26th Oct 2006, 10:50am

Post 2 of 13

Multiwagon

Force: 1513 | Joined: 2nd Jul 2006 | Posts: 494

CompositeLab Pro User EffectsLab Pro User FXpreset Maker Windows User

Gold Member

Umm what is a fish eye lens effect
Posted: Thu, 26th Oct 2006, 11:12am

Post 3 of 13

Jazzmanian

Force: 765 | Joined: 3rd May 2006 | Posts: 719

CompositeLab Pro User Windows User

Gold Member

Multiwagon wrote:

Umm what is a fish eye lens effect
Check out this page and down at the bottom click on the link for the Fisheye movie. It's not live action, I don't believe, but it shows the effect nicely.

As to the OP's question, that's an interesting one. I'm wondering if you could produce that with a radial blur? If it's already been done, I'm sure one of the PTBs here will clue you in. I might go home later and try that out on a test clip.

Good question!
Posted: Thu, 26th Oct 2006, 12:34pm

Post 4 of 13

petet2

Force: 2899 | Joined: 27th Dec 2005 | Posts: 1043

VisionLab User VideoWrap User Windows User

Gold Member

I think I worked out OP (original post?) but what's a PTB?
Posted: Thu, 26th Oct 2006, 12:46pm

Post 5 of 13

Jazzmanian

Force: 765 | Joined: 3rd May 2006 | Posts: 719

CompositeLab Pro User Windows User

Gold Member

petet2 wrote:

I think I worked out OP (original post?) but what's a PTB?
Powers That Be
Posted: Thu, 26th Oct 2006, 1:14pm

Post 6 of 13

petet2

Force: 2899 | Joined: 27th Dec 2005 | Posts: 1043

VisionLab User VideoWrap User Windows User

Gold Member

Cheers!
Posted: Fri, 27th Oct 2006, 7:31am

Post 7 of 13

Mugsy42

Force: 806 | Joined: 13th Apr 2003 | Posts: 34

CompositeLab Pro User EffectsLab Lite User Windows User

Gold Member

Ok I've cracked it!

It is all down tothe displacement setting

You need to creat a new displacement map that is clean except for a sphere in the middle of the screen and simply place it over the top of the footage you want converted and then activate the displacement feature.

Granted its not a real fish eye lens, you would need a specific lens to do that but it does give you a really close approximation.

i'd put a link on here but linking on youtube does my head in
Posted: Fri, 27th Oct 2006, 9:05am

Post 8 of 13

petet2

Force: 2899 | Joined: 27th Dec 2005 | Posts: 1043

VisionLab User VideoWrap User Windows User

Gold Member

Can you create a Preset of the effect? I'm sure it would be welcomed by other users.
Posted: Fri, 27th Oct 2006, 9:31am

Post 9 of 13

Mugsy42

Force: 806 | Joined: 13th Apr 2003 | Posts: 34

CompositeLab Pro User EffectsLab Lite User Windows User

Gold Member

here is the effect in action

http://www.youtube.com/watch?v=4DQuZ4EjOz4

I cant put it into a preset but I have spoken to PTB and they are going to try and incorporate it into a update.
Posted: Fri, 27th Oct 2006, 10:45am

Post 10 of 13

Jazzmanian

Force: 765 | Joined: 3rd May 2006 | Posts: 719

CompositeLab Pro User Windows User

Gold Member

Rating: +1

I decided to take a crack at this today and here's what I came up with. First I took a short, 9 second clip from our recent film in .avi format and began experimenting with it in CLab Pro to produce the fisheye lens effect.

Here's a still shot from the original clip.


First I tried a displacement map composite as Mugsy42 did. I took two layers of the same clip and applied a feathered circle mask over the top layer along with a displacement map with the vertical and horizontal displacement set up to 146. Anything less than that didn't seem to produce enough distortion.



As you can see, I found the results unsatisfactory. It sort of produced a fisheye lens effect, but the distortion was uneven going out from the undistorted center, no matter how much I played with the feathering.

Next I decided to scrap that approach and tried a radial blur. For this run I applied the radial blur to the bottom layer and then put an *inverted* circle mask with the same amount of feathering on the top layer. The results were far more satisfactory to me. I had to keep the amount of radial blur down very low, a setting of only 3, as anything above that took the image from fisheye distortion all the way out to "bad LSD trip lala land".



Here's a picture of the circle mask I used to get an idea of how much feathering was applied. (NOTE: the circle looks distorted into more of a vertical oval, but that's because the clip had been cut in WMM and it doesn't recognize widescreen until your final export, when it looks fine. It was actually a default, even circle.)



Here's a short movie file I made as sort of a tutorial showing the original footage and both of those effects, with title screens explaining the settings I used. That way you can see the effect on a live action clip rather than a still photo. It's one minute long and around 8 MB in size for easy download in .wmv format.

Hope that's of some help.
Posted: Fri, 27th Oct 2006, 7:44pm

Post 11 of 13

Dancamfx

Force: 2558 | Joined: 7th Sep 2006 | Posts: 873

VisionLab User FXpreset Maker MacOS User

Gold Member

It always looks better with the actual fish eye lense on the camera.
Posted: Sat, 28th Oct 2006, 8:00am

Post 12 of 13

Mugsy42

Force: 806 | Joined: 13th Apr 2003 | Posts: 34

CompositeLab Pro User EffectsLab Lite User Windows User

Gold Member

That goes without saying, having the "real deal" on anything will pretty much make it better than a "make do" or "fudge fix".

However, if you dont have the fiscal resources, equipment of knowledge to do these things, this is a "cheap" alternative. For me part of the fun of the FXhome programs is seeing what I can do with them and seeing if i can replicate "big budget" effects or shots.

I also believe that the next generation of film makers and "Stan Winstons'" will come from people using programs like FXhome programs and trying to "make do", pushing the limits.

So I agree with you whole heartedly Dancamfix, but neccesity really IS the mother of invention.
Posted: Mon, 30th Oct 2006, 9:11am

Post 13 of 13

Cogz

Force: 16050 | Joined: 18th Jun 2002 | Posts: 674

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

FXhome Team Member

Rating: +1

A fish eye lens effect is done by converting the pixel Cartesian coordinates into polar coordinates, adjusting some parameters, then converting back to Cartesian coords.

http://en.wikipedia.org/wiki/Fisheye_lens

I think the Basu and Licardie model would probably work:

http://vision.fe.uni-lj.si/docs/janezp/pers-wwk2002.pdf

Maybe this can be encorporated into some of the programs in the future, its a good idea!