SqHd Posted February 5, 2016 Share Posted February 5, 2016 (edited) Anybody have a working DoF example?All I've seen is the empty room mission where you zoom in, look off into the sky, and it blurs everything else.Thanks.Specs: Win 10 x64, T3D 3.8 Edited February 8, 2016 by SqHd Quote Link to comment Share on other sites More sharing options...
Duion Posted February 5, 2016 Share Posted February 5, 2016 Just activate it in the postFX manager, it is avilable in T3D by default, or what do you want? Quote Link to comment Share on other sites More sharing options...
SqHd Posted February 5, 2016 Author Share Posted February 5, 2016 Correct. But when enabled, the settings do not change anything.The only time I notice any difference is when looking at the sky and zooming in the gun sight (which is the default behavior on the included missions).Figure I am missing something and hoping for some tips. 8-) Quote Link to comment Share on other sites More sharing options...
Duion Posted February 6, 2016 Share Posted February 6, 2016 I have it active in my desert ruins map in Uebergame. Quote Link to comment Share on other sites More sharing options...
Azaezel Posted February 6, 2016 Share Posted February 6, 2016 Talking: https://github.com/GarageGames/Torque3D/blob/2044b2691e1a29fa65d1bdd163f0d834995433ce/Templates/Empty/game/core/scripts/client/postFx/postFxManager.gui.cs#L338? Quote Link to comment Share on other sites More sharing options...
SqHd Posted February 6, 2016 Author Share Posted February 6, 2016 @Duion: Cool. I'll check it out. Is it possible to get to the editor to check settings in Ubergame?@Azaezel: Yes, those are the options I'm talking about. Quote Link to comment Share on other sites More sharing options...
Duion Posted February 6, 2016 Share Posted February 6, 2016 Yes, it is open source. Quote Link to comment Share on other sites More sharing options...
L3zak Posted February 6, 2016 Share Posted February 6, 2016 If You want to use autofocus try aiming at ground or some other object with collision, if You don't need it (autofocus should be off by default) check min. focus range - if it's too high you won't see any effect, also try increasing blur curves. Quote Link to comment Share on other sites More sharing options...
SqHd Posted February 7, 2016 Author Share Posted February 7, 2016 @Duion: I checked out the desert level, but didn't see any DOF. (It was enabled as you said.)@L3zak: Thanks for the info. Tried it out, still no DOF.I must be missing something. When enabled in my own project, all objects (near and far) receive no blur, no matter which one I'm looking at.(Only time I get blur is if looking at the sky, then everything is blurry - except the sky.)If there are 3 columns, one near, one in the middle, and one far and I look at the middle column, the other 2 should be blurry.That's my understanding of DOF. Is that correct? Quote Link to comment Share on other sites More sharing options...
Duion Posted February 8, 2016 Share Posted February 8, 2016 If you look closeley you will see for example the hills go out of focus, or the ruins if you look into the distance, it is not very strong, since I did not want to overdo it. Quote Link to comment Share on other sites More sharing options...
Azaezel Posted February 8, 2016 Share Posted February 8, 2016 http://imgur.com/a/cQ16H seems to work in head. do note that as shown in the third pic, that took adjusting both the maxes and curves for near and far. Quote Link to comment Share on other sites More sharing options...
SqHd Posted February 8, 2016 Author Share Posted February 8, 2016 @Duion, @Azaezel, and @L3zak: Thanks for the tips, images, and time you spent checking. With your help and a discovery I made (that the level 'visible distance' drastically affects DOF), I was able to see it working and adjust as needed. By setting the visible distance to 100 or 1000, the DOF settings are more noticeable (especially auto-focus). :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.