Softimage Forum (Read Only)
Welcome to Autodesk’s Softimage Forums. Share your knowledge, ask questions, and explore popular Softimage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Depth Of Field Strength ..

9 REPLIES 9
Reply
Message 1 of 10
Anonymous
578 Views, 9 Replies

Depth Of Field Strength ..

Is There Anyway to Increase the Strength Of The Depth Of Field in Fx Tree ...



when i'm tried to put value more than 1 .. nothing change .. any idea .
thanks is advanced ..
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: Anonymous

Check the doc on this one. The parameter you're probably after is the "Max Circle Of Confusion". I think the streight is just a way to scale it.
Message 3 of 10
Anonymous
in reply to: Anonymous

I have problems with this node too. It's really poor for me. Now i make faked DOF pass based on distant gradient and render DOF in photoshop with plugin DOFpro, it's not good solution too. Slow (one core) and not easy to setup like node in fxtree, but you have total control on dof strenght and result is much better.
Message 4 of 10
Anonymous
in reply to: Anonymous

The DOF node in the FxTree is a version of the older DOF 2D Output Shader.

It requires rendering a .ZPic, otherwise it will apear to not work with a Depth Map and the parameter values won't apear to make sense. You'd need to change ZValueRange in that case.

When you move your mouse over the picture, while editing the DOF node (E), you should be seeing the Z Depth values, right next to RGB/A/XY at the bottom of the Fx Viewer. That's tremendously helpful to set the Near and Far Focus. The Near focus plane must me smaller than Far focus 🙂

Near and Far focus are in Softimage (i.e. Scene) units, in distance to camera.

Everything will be blurred from the camera to near focus, and then from far focus to infinit. The size of blur varies depending on the Z, from zero up to Max Circle Of Confusion (if I'm not mistaken)
Message 5 of 10
Anonymous
in reply to: Anonymous

thanks luceric ... i was read the doc .
but it's seems in my situation changing the Max Circle parameter doesn't affect anything ?
when i comp the same passes in After effect with (Lenscare plugin). it's working very will and let me increase the blur for the out of focus area as mush as i want .

i tried many solution in fxtree to got the same effect with no luck :
-changing all the parameter - color correct the depth to more contrast color - rendering an sgi 16 bit and many other test ...

- maybe i miss something .. If attaching the scene will help .. let me know and i will do ..

many thanks .
Message 6 of 10
Anonymous
in reply to: Anonymous

Not sure what's wrong, but if you're not using actual .Zpic files, and you're changing "Z Value Range", then it's less clear what becomes the meaning of the other parameters, and it become more difficult to use. It's just though out to use Zpic.

Z Value Range is used this way:
actual Depth in softimage units = (1 - (value of the ZPic))* Z_Value_Range

So if Z Value Range is 100 (as it is in the first post),
1.0 (white pixels) in the Z image = 0 (very near)
0.0 (black pixels) in the Z image = 100 (very far)

The Near, Far focus values are no longer in Softimage units if this value is not the default, 100,000.0. Normally, you should not touch Z Value Range if you use Zpic already.

Since your thumbnail for the depth pass apears gray, and not orange, I suspose that you are not using .Zpic.

One thing you should watch out for: does that depth image have an Alpha channel? If it's RGBA and connected to a grayscale input like the Depth Of Field, the FxTree will choose the Alpha, rather than using the RGB. If that's the problem, go in the FileInput node and change the Type to RGB instead of RGBA.
Message 7 of 10
Anonymous
in reply to: Anonymous

I think eternal art want more blur than DOF in fx tree can give. This is no possible to do in fx tree. Fx tree DOF node is very limited and not giving much control, nothing like real bokeh, no aperture blade control.
Message 8 of 10
Anonymous
in reply to: Anonymous

can you not just tighten the range between the near and far value, that should give you more DOF..

I agree with the fact that this node could use a rewrite, it would be nice to have a DOF node in xsi that can do proper dof, i find that the current node doesnt really work when you have an alpha, which you usually have. I've had great success using this on full cg images where the alpha is completely solid but on for example a character that has been rendered separately, it screws up the edges. I'm usually forced to go over to AFX to do dof using the lenscare plugin.

How much work is it to support afx plugins in the fxtree? Because they are compiled for windows i guess they wont run under the linux version, but even if it was limited to the windows platform it would be a big step forward.


edit: when adding the .zpic render channel you need to make sure that the output images are named exactly the same, except for the extension. so if your beautypass is called "my_render_beauty.pic" your .zpic must be named "my_render_beauty.zpic" by default xsi includes the name of the channel in the filename and since they are different channels that setup wont work with .zpic, note that the format of the main pass must be pic, this is due to the fact that .zpic reads some information from the .pic file.

and as for setting the filein node to rgb rather than rgba like luceric suggested is not a good way to do things in my opinion, if you for example do a search&replace on all your file-in nodes the settings will pop back to its default settings i.e rgba, so it's better to use for example a pixel-parser and type in "r" in there to put the red channel into all the channels of the output.
Message 9 of 10
Anonymous
in reply to: Anonymous

i was reading the post looking for more info on that too.
look that you need to render the zpic channel and also a pass of depth with the same name address to the same directory.

(not pretty sure how you set that up)
Message 10 of 10
Anonymous
in reply to: Anonymous

Is There Anyway to Increase the Strength Of The Depth Of Field in Fx Tree ...



when i'm tried to put value more than 1 .. nothing change .. any idea .
thanks is advanced ..


Strength do not support more parameter than 1.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report