Planetside Software Forums

General => Terragen Discussion => Topic started by: bobbystahr on November 02, 2016, 02:58:35 PM

Title: Depth of Field
Post by: bobbystahr on November 02, 2016, 02:58:35 PM
Well I thought I knew how this was set up but all my suppositions were incorrect so I went to the WIKI hoping to at least garner a glimpse and to my astounded surprise DoF isn't even on the page other than a passing reference...does any one know how it works? Maybe a tutorial would be nice. About ready to say it's useless for my current image as I get no results I expect or want.
Title: Re: Depth of Field
Post by: archonforest on November 02, 2016, 03:10:22 PM
Dof is simple. Lets say you have your camera at 0 and you have your main object 1 meter from the camera. Now go to render tab and the go to Blur tab. Set the Focus distance to 1. Then the more u crank the Aperture diameter the more the background will be blurred. Meaning the main focus will be at 1 meter and the rest behind will be blurred. Or if you have an object at 0.5 meter then that will be blurred too since it is out of the focus.
(Before you render make sure you clicked on the Dept of Field under the Render tab.)
Hope it helps.  :)

Btw render time will increase.
Title: Re: Depth of Field
Post by: bobbystahr on November 02, 2016, 03:13:06 PM
Quote from: archonforest on November 02, 2016, 03:10:22 PM
Dof is simple. Lets say you have your camera at 0 and you have your main object 1 meter from the camera. Now go to render tab and the go to Blur tab. Set the Focus distance to 1. Then the more u crank the Aperture diameter the more the background will be blurred. Meaning the main focus will be at 1 meter and the rest behind will be blurred. Or if you have an object at 0.5 meter then that will be blurred too since it is out of the focus.

Hope it helps.  :)

But how do I only blur the extreme foreground like the leaves peeking into the camera around the edges and have the rest unblurred?
Title: Re: Depth of Field
Post by: N-drju on November 02, 2016, 03:18:07 PM
Wow. Never used it before (never needed it) but seems cool... I didn't even know TG can make this effect.

Educate us Attila. We are listening master! :D
Title: Re: Depth of Field
Post by: N-drju on November 02, 2016, 03:38:47 PM
Woo hoo! ;D

[attachimg=1]
Title: Re: Depth of Field
Post by: Oshyan on November 02, 2016, 03:42:58 PM
To blur the foreground and not the background, set your focus distance further away and use a small aperture.

- Oshyan
Title: Re: Depth of Field
Post by: bobbystahr on November 02, 2016, 03:46:26 PM
Quote from: Oshyan on November 02, 2016, 03:42:58 PM
To blur the foreground and not the background, set your focus distance further away and use a small aperture.

- Oshyan

Thanks, was starting to grok that...as an aside, AVAST tries to block the latest update upon installation and then checks it and says sorry..could you have a word with them...bloody irritating that behaviour, I think I saw this when I wasn't using AVAST...thinking of going back to avira.
Title: Re: Depth of Field
Post by: yossam on November 02, 2016, 03:52:23 PM
Avast doesn't like a lot of software anymore.............think they are being a little over cautious.  ???
Title: Re: Depth of Field
Post by: Oshyan on November 02, 2016, 03:55:53 PM
Avast has been responsible for many of the false positives in the last year for Terragen updates. Very frustrating. Thanks for the report.

- Oshyan
Title: Re: Depth of Field
Post by: Dune on November 03, 2016, 03:14:21 AM
Beware that DOF and GISD don't go well together.
Title: Re: Depth of Field
Post by: bobbystahr on November 03, 2016, 10:12:45 AM
Quote from: Dune on November 03, 2016, 03:14:21 AM
Beware that DOF and GISD don't go well together.

I'm guessing that's why I can't make it work at this point, was also suspecting the fog cloud I put in for the light beams as a contributor to my problem. Gonna try turning that off first and then I'll mess with the GISD..Thanks for the tip Ulco...

EDIT
O K, fog gone GISD gone and still no DoF. The bridge, which I want focused, is 924 M. from the camera measured in the top view with the measure stick and the aperture is set at 1...now this should work right?
Title: Re: Depth of Field
Post by: Dune on November 03, 2016, 11:08:47 AM
I always find it hard to establish the right depth and distance of focus. There's the button on top with the vague red field, but it still takes some cropped tests to check.
Title: Re: Depth of Field
Post by: archonforest on November 03, 2016, 11:15:55 AM
Quote from: bobbystahr on November 03, 2016, 10:12:45 AM
Quote from: Dune on November 03, 2016, 03:14:21 AM
Beware that DOF and GISD don't go well together.

I'm guessing that's why I can't make it work at this point, was also suspecting the fog cloud I put in for the light beams as a contributor to my problem. Gonna try turning that off first and then I'll mess with the GISD..Thanks for the tip Ulco...

EDIT
O K, fog gone GISD gone and still no DoF. The bridge, which I want focused, is 924 M. from the camera measured in the top view with the measure stick and the aperture is set at 1...now this should work right?

I thing DOF is kinda works with close up shoots. Not sure why u wanna focus on something that almost a 1Km away from the cam?
Title: Re: Depth of Field
Post by: Oshyan on November 03, 2016, 03:43:18 PM
 DoF and GISD don't work well together but it's not like GISD makes DoF *not work*. It just renders with artifacts. If it's not working, it's not because of GISD...

- Oshyan
Title: Re: Depth of Field
Post by: Dune on November 04, 2016, 03:34:08 AM
Yeah, that's right. If you need GISD (and you often do) it's always possible to clear up some artifacts in post.
Title: Re: Depth of Field
Post by: bobbystahr on November 04, 2016, 08:41:51 PM
O K,thanks guys... in the one I got it working on I thought I saw some artifacts but it might well be the ambient occlusion I tend to over use as they happen where that would appear.