art3mis Posted July 22, 2017 Share Posted July 22, 2017 (edited) Ok So I understand that now we are using the new constraints for 'Loot At' and Follow path. But what if you need to pull focus as well using a shallow DOF. How is this accomplished? Can anyone possibly share an example(camera on path + pull focus) ? A simple checkbox under the Sampling tab labeled 'Focus on Look At Object' would be the simplest solution! A search here on odforce turned up this thread which suggests a convoluted python script as the only solution. Further searching on the forums turns up this expression for Focus Distance abs(vtorigin("/obj/cam1", "/obj/focus_follow")[2]) but when I try my camera renders nothing! Can anyone suggest what might be wrong? Edited July 23, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
adrianr Posted July 23, 2017 Share Posted July 23, 2017 That expression should work fine, but bear in mind that will place the focus of the camera at the centroid of the follow object, which isn't how we usually focus on things, so you might want to subtract a slight value from the result to shift the focus distance more in line with the nearest face of the object. You can check where the focus distance is by hitting Z when you have your camera transforms active in the viewport - This brings up the focus handles. You can also right click and select focus handle there. Oddly when you have a camera lookat constraint it doesn't orient the focus handle with the look direction of the camera which makes visualizing it a bit tricky - Not sure if there is a fix for this or if you'll just have to do spot renders and check focus. Follow_focus_01.hip 2 Quote Link to comment Share on other sites More sharing options...
art3mis Posted July 24, 2017 Author Share Posted July 24, 2017 Thanks Adrian! Quote Link to comment Share on other sites More sharing options...
bonassus Posted April 20, 2018 Share Posted April 20, 2018 (edited) Thanks for this topic and solution. This helped me build a camera rig. Edited April 21, 2018 by bonassus Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted September 7, 2018 Share Posted September 7, 2018 (edited) edit: I didnt mean to reply to this post, I had another tab open : ( Edited September 7, 2018 by ejr32123 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.
Note: Your post will require moderator approval before it will be visible.