OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Trapper on 28 Jun 2009, 16:08:14

Title: Secrets of camera blurring
Post by: Trapper on 28 Jun 2009, 16:08:14
I'm pretty disappointed of my last cutscene because I just can't seem to control the camera focus.

Focus does switch back and forth when soldiers 100m away are passing through the screen center.

And I'm not able to focus real sharp on a speaking character, ~1.3m up close in the center of the camera. - Maybe using a getpos-camera-target instead of just targeting the character by it's name is influencing but I want to avoid the camera wobbling caused by the head movement of the character.

I've found that command setcamerainterest, and the wiki states that the higher it's set the more focus priority. Talking units (say command I gues) are automatically getting value 50.
So I set my main characters to 50 because I'm just using titlecuts, then 1000 afterwards. The autofocus doesn't care.

Are there any workarounds? Some custom intros look pretty decent but I don't find any special commands in them.
Title: Re: Secrets of camera blurring
Post by: Wolfrug on 28 Jun 2009, 18:32:58
Look around here: clicky (http://www.ofpec.com/COMREF/index.php?action=list&game=All&func=cutscenes)

There are various commands there such as camSetFocus which might help you (okay, so mostly just that command). I don't know myself - I never really used the PP effects so blur was never an issue. :dunno:

Wolfrug out.
Title: Re: Secrets of camera blurring
Post by: Trapper on 30 Jun 2009, 00:40:00
Thank you for pointing me to this command. I've stopped looking after finding my first command. :whistle:

camSetFocus/camPrepareFocus did what I wanted when setting the needed focus manually.
Setting the distance is just fine, though I didn't see a big difference between 0.01 or 1.0 blur, but this could be caused by having close shots only. Blur 0 disables the focus effects completely.

PS: The topic solved button seems to be gone...?