Jump to: Board index » General » Fusion

Zdefocus

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Carl June

  • Posts: 2
  • Joined: Tue Dec 23, 2014 6:38 pm

Zdefocus

PostTue Dec 23, 2014 7:14 pm

Hi there,

my first post here.

I'm trying Fusion and I'm liking it a lot so far.
One of the thing I couldn't find though is a good zdefocus tool. Is there anything to add realistic defocus using zdepth passes?
Offline
User avatar

Marek Subocz

  • Posts: 66
  • Joined: Mon Nov 10, 2014 9:21 pm

Re: Zdefocus

PostTue Dec 23, 2014 10:09 pm

a quote from different thread on this forum:

michael vorberg wrote:there is no native depth based defocus in fusion right now. if you have a studio version which can load plugins the best solution is the frischluft plugin. which is really nice.
for the free version you could try a macro: http://web.archive.org/web/20110823131222/http://vfxpedia.com/index.php?title=Settings_and_Macros/DepthDefocus_Description
Offline

Carl June

  • Posts: 2
  • Joined: Tue Dec 23, 2014 6:38 pm

Re: Zdefocus

PostWed Dec 24, 2014 12:51 am

Thank you for your reply Marek,

Sorry if this was already posted, next time I'll try to search better ;)

I'm trying to decide what to pick, if Fusion or Nuke. At work I can already play around with Nuke, and with Fusion free I can test Fusion as well.
3d wise I prefer Fusion, way better. Also, not sure if it's because I've already started with Nuke, but Fusion seems very intuitive.

I really hope they'll add a native Zdefocus in the next version.

Best,
Carl
Offline
User avatar

Marek Subocz

  • Posts: 66
  • Joined: Mon Nov 10, 2014 9:21 pm

Re: Zdefocus

PostWed Dec 24, 2014 1:29 pm

no problemo, Carl
glad to be of a help.

happy fusioning and Merry Christmas, Everyone! ;)
Offline

ChrisWilliamson

  • Posts: 23
  • Joined: Tue Nov 25, 2014 10:46 pm

Re: Zdefocus

PostWed Dec 31, 2014 8:51 pm

Someone pointed me to a macro on this forum that does a pretty good depth defocus. But the built in Variblur node also does a pretty good Z-defocus (but without shaped aperture) you just need to use a use a 'bitmap' node to convert your depth image to a 'mask' & set the blur type to 'defocus'

heres a little flow to demonstrate:

{
Tools = ordered() {
Bitmap1 = BitmapMask {
Inputs = {
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Image = Input {
SourceOp = "Background1",
Source = "Output",
},
Channel = Input { Value = FuID { "Red", }, },
},
ViewInfo = OperatorInfo { Pos = { 587, 139, }, },
},
Background1 = Background {
Inputs = {
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
Type = Input { Value = FuID { "Vertical", }, },
TopRightRed = Input { Value = 1, },
TopRightGreen = Input { Value = 1, },
TopRightBlue = Input { Value = 1, },
BottomLeftRed = Input { Value = 1, },
BottomLeftGreen = Input { Value = 1, },
BottomLeftBlue = Input { Value = 1, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
},
ViewInfo = OperatorInfo { Pos = { 394, 139, }, },
},
VariBlur1 = VariBlur {
Inputs = {
Method = Input { Value = 2, },
Quality = Input { Value = 7, },
XBlurSize = Input { Value = 7.1, },
BlurLimit = Input { Value = 1.48, },
Input = Input {
SourceOp = "Paint1",
Source = "Output",
},
BlurImage = Input {
SourceOp = "Bitmap1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { 587, 228, }, },
},
Paint1 = Paint {
Inputs = {
Input = Input {
SourceOp = "Background2",
Source = "Output",
},
Paint = Input {
SourceOp = "Rectangle9",
Source = "Out",
},
},
ViewInfo = OperatorInfo { Pos = { 455, 228, }, },
},
Rectangle9 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Paint = Input {
SourceOp = "Rectangle8",
Source = "Out",
},
},
},
Rectangle8 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.469265375286341, 0.12666667252779, }, },
Paint = Input {
SourceOp = "Rectangle7",
Source = "Out",
},
Width = Input { Value = 0.803598217666149, },
Height = Input { Value = 0.0026666671037674, },
},
},
Rectangle7 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.467016499489546, 0.618666678667068, }, },
Paint = Input {
SourceOp = "Rectangle6",
Source = "Out",
},
Width = Input { Value = 0.784107960760593, },
Height = Input { Value = 0.0106666684150696, },
},
},
Rectangle6 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.488005992025137, 0.319999992847443, }, },
Paint = Input {
SourceOp = "Rectangle5",
Source = "Out",
},
Width = Input { Value = 0.784107930958271, },
Height = Input { Value = 0.0106666684150696, },
},
},
Rectangle5 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.467766117304564, 0.845333337783813, }, },
Paint = Input {
SourceOp = "Rectangle4",
Source = "Out",
},
Width = Input { Value = 0.785607196390629, },
Height = Input { Value = 0.0053333044052124, },
},
},
Rectangle4 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.814092963933945, 0.512000013142824, }, },
Paint = Input {
SourceOp = "Rectangle3",
Source = "Out",
},
Width = Input { Value = 0.00299853086471558, },
Height = Input { Value = 0.922666691243649, },
},
},
Rectangle3 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.562218904495239, 0.512000005692244, }, },
Paint = Input {
SourceOp = "Rectangle2",
Source = "Out",
},
Width = Input { Value = 0.0029984712600708, },
Height = Input { Value = 0.928000010550022, },
},
},
Rectangle2 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.308845579624176, 0.513333346694708, }, },
Paint = Input {
SourceOp = "Rectangle1",
Source = "Out",
},
Width = Input { Value = 0.00599700212478638, },
Height = Input { Value = 0.94133336097002, },
},
},
Rectangle1 = Rectangle {
IsThreaded = false,
Brushes = {
},
ApplyModes = { "PaintApplyColor", },
Inputs = {
Center = Input { Value = { 0.121439278125763, 0.513333339244127, }, },
Width = Input { Value = 0.00299850106239319, },
Height = Input { Value = 0.946666680276394, },
},
},
Background2 = Background {
Inputs = {
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
},
ViewInfo = OperatorInfo { Pos = { 292, 228, }, },
},
},
}
animationsbychris.com
Offline

Michel Zigaib

  • Posts: 16
  • Joined: Wed Jan 07, 2015 1:57 am

Re: Zdefocus

PostWed Jan 07, 2015 2:00 am

Depth blur is working fine for me so far, the only issue is that you don´t have some nice features like bloom and aperture shape.

I hope that helps.

Cheers!
Offline
User avatar

Marek Subocz

  • Posts: 66
  • Joined: Mon Nov 10, 2014 9:21 pm

Re: Zdefocus

PostWed Jan 07, 2015 7:11 pm

actually blooming should be there., but as looked for it i couldn't find it... ?
will look further into it
aperture.. not so much - but You have sth called - Bokeh Profiling- play with that (if You haven't already)
Offline
User avatar

Rony Soussan

  • Posts: 727
  • Joined: Tue Nov 11, 2014 5:33 pm

Re: Zdefocus

PostWed Jan 07, 2015 7:30 pm

ChrisWilliamson wrote:Someone pointed me to a macro on this forum that does a pretty good depth defocus. But the built in Variblur node also does a pretty good Z-defocus (but without shaped aperture) you just need to use a use a 'bitmap' node to convert your depth image to a 'mask' & set the blur type to 'defocus'


I think the most impressive part of the example is the grid made with paint node!
Offline

ChrisWilliamson

  • Posts: 23
  • Joined: Tue Nov 25, 2014 10:46 pm

Re: Zdefocus

PostWed Jan 07, 2015 8:29 pm

haha thanks, I'm an artist at heart... :P
animationsbychris.com
Offline
User avatar

Eric Westphal

  • Posts: 214
  • Joined: Thu Nov 20, 2014 1:59 pm

Re: Zdefocus

PostMon Jan 12, 2015 10:46 am

Sorry to state the obvious,
but there is a GridMaker Macro in Bins->Templates->Layouts...;-)

Cheers.

Eric.
my hovercraft is full of eels.
Offline

ChrisWilliamson

  • Posts: 23
  • Joined: Tue Nov 25, 2014 10:46 pm

Re: Zdefocus

PostMon Jan 12, 2015 8:07 pm

heh, maybe obvious to you, I hadn't even found the bin! :D
animationsbychris.com
Offline

Gregory Chalenko

  • Posts: 17
  • Joined: Wed Sep 17, 2014 3:38 pm
  • Location: London

Re: Zdefocus

PostTue Jun 16, 2015 8:49 pm

Marek Subocz wrote:actually blooming should be there., but as looked for it i couldn't find it... ?
will look further into it
aperture.. not so much - but You have sth called - Bokeh Profiling- play with that (if You haven't already)

Hi Marek,

For blooming, please make sure that the Pre-Gamma / Post-Gamma checkbox is switched on and adjust the Image Gamma parameter.

It sits there for the case, when your input image is in sRGB or another non-linear color space. But even if you work in a totally correct linear way, you can still use that pair of controls to exaggerate the bokeh for artistic purposes.
www.compositing.tv
Offline

Dima Fedotof

  • Posts: 10
  • Joined: Wed Nov 12, 2014 12:38 pm

Re: Zdefocus

PostTue Jul 21, 2015 1:40 pm

i have DepthDefocus made by Chalenko from fusion instruments, but i have no right to give it to anyone, so if you can find it somewhere its yours... this defocus have bloom, normal borders, fast enough, and native and other good things that i can not describe because of luck of englesh language. :geek:
Offline

Dima Fedotof

  • Posts: 10
  • Joined: Wed Nov 12, 2014 12:38 pm

Re: Zdefocus

PostTue Jul 21, 2015 1:41 pm

Wow! i didnt so chalenko post up here :P

Return to Fusion

Who is online

Users browsing this forum: Bing [Bot], KrunoSmithy and 64 guests