Source Filmmaker

Source Filmmaker

[SFM-Script] Useful script to manipulate a camera's focal distance more easily
38 Comments
Nero (ZMK) 29 Dec, 2022 @ 11:47am 
So, all it did was add the bone. No matter what I try, nothing happens. I've followed the instructions and read them several times over, so why isn't it working?
Señor Maracuyá  [author] 13 Sep, 2022 @ 11:55am 
@famix oh that's interesting to hear! It does give a hint towards fixing the script. If we look at the pastebin in the description, on lines 46 and 47 we can see the code that ensures that moving the "bone" does trigger updates to the focal distance.
This means that maybe adding an extra similar lines to connect to the camera's own position could be the desired fix!
It's been a while since I've last touched SFM, so this may be more suitable for somebody other than me ^^'
Famix 12 Sep, 2022 @ 3:32pm 
It won't work properly for a moving camera. It will only keep focus for one frame and the rest bugs out
waterpleskalka 20 Aug, 2022 @ 10:26pm 
"it`s requiem, all what you see is real"
Zа победу! 1 Mar, 2020 @ 1:15pm 
Strange...it's working. Thx for the script!
Chicken Jockey 14 Feb, 2018 @ 10:51pm 
It's broken. Not working at all.
bonbun 5 Sep, 2017 @ 9:18am 
well it messed up and now it won't let me remove the rig. thanks, i just ruined a great shot of my animation
Italian 27 Jul, 2017 @ 9:18pm 
Tried using it and it bugged out and now the focal distance is who knows where
Ponyboy 16 Jun, 2017 @ 8:50pm 
moving the cmera doesnt refresh anything. i tried it 10 times and the image remains a blurry mess.
Soviet Stache 1 Oct, 2016 @ 1:17pm 
YOU ARE A GOD AMONG MEN THANK YOU
Vini Konbini 26 Jun, 2016 @ 12:26pm 
Trying to make a poster with it and i can't http://i.cubeupload.com/DPUmKC.png
Alkateia 14 Dec, 2015 @ 1:16pm 
This is a cool script but it is in dire need of a update to fix the bugs. This script would certainly help a lot into making precise depth during video production, but at its current state it's utility to video development is 0, but for posters on the other hand, it sure is helpful.
Gasoline 27 Sep, 2015 @ 9:55pm 
For those of you having some issues with it... mine kept getting blurry until I moved the focal plane bone into the actual camera view (not the actual camera itself oddly enough). It all depends on the map it seems. Make sure the Focal Plane Bone is IN THE SHOT. At least, this is what helped me. It may not help you. Once you get the desired effect all it comes down to is playing with the Aperture. :) Hopefully this helps someone. Cheers! :D
Señor Maracuyá  [author] 22 Jul, 2015 @ 3:45pm 
Yes, the problem with the script is it requires you move the camera to update/refresh the calculations. If you don't, they're messed up and the image becomes blurry.
Señor Maracuyá  [author] 22 Jul, 2015 @ 10:39am 
This script is actually still too buggy to deserve a tutorial. For poster making it's still useful, but when dealing with movies (where the camera's status channel evolve through time), the focal distance doesn't update unless you manually "attempt to move the camera", which renders this script pretty much useless.
I don't know if it's a limit in the complementary python scripting or that I'm just bad, but I still haven't been able to figure out a solution or workaround :/
kim 20 Jul, 2015 @ 11:26am 
Been months since you said you'd make a tutorial. Where is it?
The Miserer 4 Apr, 2015 @ 1:46pm 
Still waiting on that tutorial. Script looks very interesting, though I too think it's bugged (picture always gets blurry, despite efforts).
Paintbrush Poltergeist 4 Dec, 2014 @ 5:00am 
I think this is broken. It just blurs the hell out everything and I have no clue how to adjust the rig script.
Secret Agent Randy Beans 23 Nov, 2014 @ 8:40pm 
You should release a tutorial. I really want to see how it`s supposed to be used and such.
surfer171 22 Oct, 2014 @ 11:18pm 
@€clipse Yandros
Many thanks :D
Señor Maracuyá  [author] 22 Oct, 2014 @ 3:16pm 
ok, as there seems to be some trouble with using this script, I'll be releasing a tutorial in a few days ...
Smoggylamb 22 Oct, 2014 @ 9:37am 
Why is my image still blurry? I want my old controls back! What do you mean that model is "not a camera"?

HALP ME!
surfer171 18 Oct, 2014 @ 11:57pm 
u know i find the script confusing. everytime i execute the script, i cant manipulate the focal plane bone, could u maybe make a video tutorial of using it?
Smoggylamb 12 Oct, 2014 @ 9:29pm 
Basically adds a bokeh effect to everything you apply to your SFM posters.
glub♥Linux 14 Sep, 2014 @ 1:51am 
Smarrrrt
Spoi 12 Sep, 2014 @ 11:44am 
This is probably the most useful thing I have ever seen in the workshop. I use it for ALL my pictures now.
FinalMoment 9 Sep, 2014 @ 1:34pm 
Of course I find this sexy script after finishing my latest movie....
Penguinsfish 8 Sep, 2014 @ 3:58pm 
This is very, very intuitive. Very well done and very useful
GNX 7 Sep, 2014 @ 3:32pm 
Kibōchen 7 Sep, 2014 @ 11:37am 
HOLY DUMBFRICK. WHAT IS THIS FRICK?
NayRam 6 Sep, 2014 @ 3:26am 
Nice job this is really useful
Maxxy 5 Sep, 2014 @ 1:12pm 
thanks a lot for this! I'll give it a try to use it :)
Señor Maracuyá  [author] 5 Sep, 2014 @ 12:38am 
Thx ! :D
Btw, I contacted the SFM Team for documentation about the functions we may use as Expressions, and they immediately added this article to the official Wiki : https://developer.valvesoftware.com/wiki/SFM/Expression_Operator
Doc_ock_rokc 4 Sep, 2014 @ 10:58pm 
Very well done again. Infact The source is helpful for a feature I was working on with my color script I couldn't quite get it right untill you posted this. very well done.
Orphan Warrior Burger 4 Sep, 2014 @ 11:48am 
Thank you!
fiSSeliS 4 Sep, 2014 @ 10:32am 
Kind of you, sir. Well done!
moshui 4 Sep, 2014 @ 7:01am 
let me kiss ya!
Puzzler 3 Sep, 2014 @ 10:06pm 
Nice work. Thanks.