Jump to content

Photo
- - - - -

ppEffect collection


  • Please log in to reply
83 replies to this topic
Thread Starter
Tajin
Tajin

    Master Gunnery Sergeant

  • Members
  • 1096 posts

#1

Posted 22 June 2009 - 08:44

Hi, since there is no documentation available for this yet, lets help ourselves.

Here is a list of all the ppEffects I know so far. If anyone knows any effects not listed here, please share them with us.

"colorCorrections" ppEffectAdjust [brightness, contrast, gamma, [R, G, B, multiplier], [R, G, B, multiplier], [R, G, B, multiplier]];
Cant give a more detailed description on the rgb-values, you'll have to play around with them a bit. First pair seems to add a tint, second is general colorbalance and the last pair is some sort of filter. But see for yourself.

"dynamicBlur" ppEffectAdjust [blur];
Full screen blur

"radialBlur" ppEffectAdjust [blur_x,blur_y,start_x,start_y];
Blur with seperate x,y values, wich fades away at the center of the screen.

"filmGrain" ppEffectAdjust [strength, alpha, scale, blend-light, blend-dark, <boolean>no idea what this is for];
... well, cool for camera/Tv effects

"colorInversion" ppEffectAdjust [R, G, B];
name says it

"chromAberration" ppEffectAdjust [amount_x, amount_y ,<boolean> exponential ?];
this baby seems to shift the the color channels apart from each other, good for erm.... any sort of drug-effect.

"wetDistortion" ppEffectAdjust [?];
Water-effect



Thats that. Now as a goodie, I'll also post some ppEffect settings im using as examples. Should give you an idea of what is possible.

My favourite:
"colorCorrections" ppEffectEnable true; "chromAberration" ppEffectEnable true; "radialBlur" ppEffectEnable true;
"colorCorrections" ppEffectAdjust [1, 1, 0, [1.5,-1,-1.5,0.5], [5,3.5,-5,-0.5], [-3,5,-5,-0.5]]; "colorCorrections" ppEffectCommit 1;
"chromAberration" ppEffectAdjust [0.01,0.01,true]; "chromAberration" ppEffectCommit 1;
"radialBlur" ppEffectAdjust [0.02,0.02,0.15,0.15]; "radialBlur" ppEffectCommit 1;
Turns your screen into an colorful infrared vision, blue=cold, yellow=hot... only that it doesn't actually show heat, it is still based on brightness but nevertheless it looks cool and with a bit of scripting an true IR-effect can also be achieved. We all know this, don't we ? Anyway its a bit of an change to the regular FLIRs out there :)


"colorCorrections" ppEffectEnable true; "filmGrain" ppEffectEnable true;
"filmGrain" ppEffectAdjust [0.1, -1, 0.1, 0.05, 2, false];  "filmGrain" ppEffectCommit 1; 
 "colorCorrections" ppEffectAdjust [1, 0.75, 0, [0.8,0.9,1,-0.1], [1,1,1,2], [-0.5,0,-1,5]]; "colorCorrections" ppEffectCommit 1;
Stalker anyone ? This may need some adjustments, contrast is a bit too high. It adds a bit of grain and gives everything a reddish tint aswell as more contrast.


Now, go ahead surprise me, I wonder if there are any effects out there I've not yet came across. :rolleyes:

Edited by Tajin, 26 June 2009 - 08:09.


Mr-Murray
Mr-Murray

    Retired member

  • Members
  • 227 posts

#2

Posted 22 June 2009 - 09:05

Thaks Tajin
I already used it very successful in the past but I don´t know sth. about the array parts.

That´s a really great documentation!!! Thanks for it!!!


Kind regards,

Mr-Murray
MR-MURRAY presents

Posted ImageArmA Editing Guide Deluxe Edition - English Version Download
Posted ImageArmA Editing Guide Deluxe Edition - German Version Download

Posted Image Visit me at Facebook! Mapfact Murray

Website: www.mr-murray.de.vu

MattXR
MattXR

    Captain

  • Members
  • 6026 posts

#3

Posted 22 June 2009 - 23:42

high contrast postprocess added
//high contrast postprocess added
//sleep 0.01;
//"colorCorrections" ppEffectAdjust [1, 0.9, -0.002, [0.0, 0.0, 0.0, 0.0], [1.0, 0.6, 0.4, 0.6],  [0.199, 0.587, 0.114, 0.0]];  "colorCorrections" ppEffectCommit 0;  "colorCorrections" ppEffectEnable true;

Blue color corrections added (movie night style)
// Blue color corrections added (movie night style)
//sleep 0.01;
//"colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.6, 0.6, 1.8, 0.7],  [0.199, 0.587, 0.114, 0.0]];  "colorCorrections" ppEffectCommit 1;  "colorCorrections" ppEffectEnable true;


//color corrections
//	sleep 0.01;
//	"colorCorrections" ppEffectAdjust [1, 0.8, -0.002, [0.0, 0.0, 0.0, 0.0], [0.6, 0.7, 0.8, 0.65],  [0.199, 0.587, 0.114, 0.0]];  "colorCorrections" ppEffectCommit 0;  "colorCorrections" ppEffectEnable true;


MattXR ( MxR )
Posted Image
Check out my Twitter BIS Fans and Sub! :)
-- MRKCCO Twitter --


soul_assassin
soul_assassin

    Chief Warrant Officer

  • Members
  • 3515 posts

#4

Posted 22 June 2009 - 23:45

Trying to use this for faux-IR. Thnx for the info guys!
Posted Image

Edit:

ChromAbberation : http://en.wikipedia....atic_aberration

Edited by Soul_Assassin, 23 June 2009 - 00:20.
added chromatic abberation


DMarkwick
DMarkwick

    Major

  • Members
  • 7298 posts

#5

Posted 23 June 2009 - 10:33

Thanks for the info Tajin, I was looking for this only yesterday :)
Feel like ArmA is letting you down in some way? Watch this:
https://www.youtube....h?v=Fh3webkCo4Y

Cyborg11
Cyborg11

    Staff Sergeant

  • Members
  • 310 posts

#6

Posted 23 June 2009 - 17:07

Does anyone know how i can get the standard effect back?
Want to cancel the IR but i can't do that ^^

EDIT: Found out:
"colorCorrections" ppEffectEnable false; "chromAberration" ppEffectEnable false; "radialBlur" ppEffectEnable false;

Edited by Cyborg11, 23 June 2009 - 17:13.


soul_assassin
soul_assassin

    Chief Warrant Officer

  • Members
  • 3515 posts

#7

Posted 23 June 2009 - 17:53

or:
ppEffectDestroy _ppColor;

assuming you assigned the effect the variablename _ppColor in the first place like so:

_ppColor = ppEffectCreate ["ColorCorrections", 1999];


Thread Starter
Tajin
Tajin

    Master Gunnery Sergeant

  • Members
  • 1096 posts

#8

Posted 26 June 2009 - 08:08

added "wetDistortion" to the list, parameters will be added later

IndeedPete
IndeedPete

    Warrant Officer

  • Members
  • 2617 posts
  • LocationNorthwestern Germany

#9

Posted 01 July 2009 - 21:37

Maybe I'm stupid, but i can't get the "dynamic blur" working. Could someone explain me step by step how to use it? :yay: Thanks in advance!

CarlGustaffa
CarlGustaffa

    Captain

  • Members
  • 6397 posts

#10

Posted 02 July 2009 - 00:28

"dynamicBlur" ppEffectEnable true; "dynamicBlur" ppEffectAdjust [5]; "dynamicBlur" ppEffectCommit 1;

Should make your world very blurry.
Regards
Carl Gustaffa - left this game due becoming Steam Exclusive :(

IndeedPete
IndeedPete

    Warrant Officer

  • Members
  • 2617 posts
  • LocationNorthwestern Germany

#11

Posted 06 July 2009 - 16:48

Thanks, works great!

Lor
Lor

    Corporal

  • Members
  • 99 posts

#12

Posted 11 July 2009 - 15:21

Has anyone been able to figure out what the arguments are for wetDistortion?

Edit: I found an example of it in the BIS scripts, but can't seem to get it actually do anything, no matter what I change the numbers too:

"wetDistortion" ppEffectEnable true;
"wetDistortion" ppEffectAdjust [0.5, 0, 0, 4.1, 3.7, 2.5, 1.85, 0.0051, 0.0051, 0.0051, 0.0051, 0.5, 0.3, 10, 6.0];
"wetDistortion" ppEffectCommit 0;

"wetDistortion" ppEffectAdjust [0.5, _effectPower, _effectPower, 4.1, 3.7, 2.5, 1.85, 0.0051, 0.0051, 0.0051, 0.0051, 0.5, 0.3, 10, 6.0];
"wetDistortion" ppEffectCommit 5;

The two zeros in ppEffectAdjust are "effect power" apparently, so they probably need to be non-zero for the effect to happen, but I can't quite get it to show up.

Double Edit: You need to have your post-processing option in Video Options set to at least "Low" to see this one, but the code above does work - replace _effectPower with 5 and try it out!

Edited by Lor, 11 July 2009 - 15:45.


Thread Starter
Tajin
Tajin

    Master Gunnery Sergeant

  • Members
  • 1096 posts

#13

Posted 11 July 2009 - 16:38

Thanks Lor, maybe we can work out what the specific values are for.

Lor
Lor

    Corporal

  • Members
  • 99 posts

#14

Posted 11 July 2009 - 17:21

I've been playing around with it for a while - here's what I have so far:



"wetDistortion" ppEffectAdjust [

strength of sharpen edges/blur effect

Strength of effect at TOP of screen

Strength of effect at BOTTOM of screen


Speed of left-right wobble

??

Speed of up-down wobble

??


Amount of left-right wobble

??

Amount of up-down wobble

??


Strength of weird frosted-glass effect (0 = off)

??

??

??


]

BadAss -Mapfact.net-
BadAss -Mapfact.net-

    Sergeant

  • Members
  • 166 posts

#15

Posted 10 August 2009 - 16:26

Thank you very much for the explanations and examples, really looking good and really adds to the atmosphere.

But what about the ppEffectCommit command. It doesn't seem to work here. Is it just me or can some one confirm a problem?

Here's what I tried, simple enough:
"colorCorrections" ppEffectEnable true;
"colorCorrections" ppEffectAdjust [1, 0.8, -0.002, [0.0, 0.0, 0.0, 0.0], [0.6, 0.7, 0.8, 0.65], [0.199, 0.587, 0.114, 0.0]];
"colorCorrections" ppEffectCommit 12;

It switched perfecly into the new color setting (one of the above samples) but it does it immediately and not progressivly in the time of 12 seconds! Probably I am doing something wrong, but don't know what, yet. :rolleyes:


EDIT: sorry, guys. I got it working now:

_ppColorC = ppEffectCreate ["colorCorrections", 0];
_ppColorC ppEffectEnable true;
_ppColorC ppEffectAdjust [1, 0.8, -0.002, [0.0, 0.0, 0.0, 0.0], [0.6, 0.7, 0.8, 0.65], [0.199, 0.587, 0.114, 0.0]];
_ppColorC ppEffectCommit 20;

Edited by BadAss [Mapfact.net], 10 August 2009 - 16:47.
Solution found

Posted Image

"Better safe then sorry.", J. C. Denton

ThaSundancekid
ThaSundancekid

    Suspended Member

  • Banned
  • 31 posts

#16

Posted 06 November 2009 - 13:48

OK, how do i add this to, say... "Armory" or user made mission like "Chiper"? Or anywhere else?
Have been looking for this since release of arma 2 :-)

EDIT:

Ok i solved it for the mission "Cipher"! Here comes a short dummy explenation for anyone who wants to try it and are not as bright as the one posted before me...
Unpack Ciphers PBO and open the file "init.sqf" in notepad. Add the lines:

"colorCorrections" ppEffectAdjust [1, 0.9, -0.002, [0.0, 0.0, 0.0, 0.0], [0.6, 0.6, 1.8, 0.7], [0.199, 0.587, 0.114, 0.0]];
"colorCorrections" ppEffectCommit 1; "colorCorrections" ppEffectEnable true;

anywhere in the file and save, then repack the folder to a PBO again...
This will give the nice cold blue touch to the game!

Edited by ThaSundancekid, 08 November 2009 - 16:18.


Dead Kennedy
Dead Kennedy

    Sergeant

  • Members
  • 162 posts

#17

Posted 17 November 2009 - 19:36

OFP1 gamma :))
"colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.6, 1.4, 0.6, 0.7],  [0.199, 0.587, 0.114, 0.0]];  "colorCorrections" ppEffectCommit 1;  "colorCorrections" ppEffectEnable true;
Posted Image

Golden autumn
Posted Image
"colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [1.8, 1.8, 0.3, 0.7],  [0.199, 0.587, 0.114, 0.0]];  "colorCorrections" ppEffectCommit 0;  "colorCorrections" ppEffectEnable true;


przemek_kondor
przemek_kondor

    Gunnery Sergeant

  • Members
  • 478 posts

#18

Posted 17 November 2009 - 19:58

Cool! Nice filters.
Big problem is lack of documentation about parameters. So we have to playing with this blindly.
I've created mission which allows you to play with colorCorrection filter (using sliders to find interesting values):

colorCorrection viewer mission
Usage:
-run the mission
-call proper radio
-click "enable" button
-move sliders and find interesting filter
->on hint you will see current parametrs (you can also save them in arma2.rpt file via proper button)
-remember than most of the combination are black, so don't give in if you don't see anything - maybe start with values which were posted above

Some screenshots:
OFP:DR filter:
Posted Image
hell filter:
Posted Image
other:
Posted Image

Unfortunatelly documentation for colorCorrection filter is insufficient so propably ranges of values aren't correct.

Jelliz
Jelliz

    Gunnery Sergeant

  • Members
  • 495 posts

#19

Posted 17 November 2009 - 22:02

Przemek_kondor thats a fantastic example mission! Think about what would have happened to Arma 2 usermissions if it was released in the 60's:P

EDIT: no sarcasm intended!!

Dwarden
Dwarden

    BI Developer

  • 9646 posts
  • LocationBrno, Czech Republic

#20

Posted 17 November 2009 - 22:38

Cool! Nice filters.
Big problem is lack of documentation about parameters. So we have to playing with this blindly.



You must missed this :

http://community.bis...process_effects

which i posted about here in this sticky
http://forums.bistud...t.php?p=1432743
and also there in this sticky

or still missing something? specify what more You want to know and need why :)
http://forums.bistud...456&postcount=7

RealTimeChat ~ARMA2 in Your browser (w/o Java), RealTimeChat ~ARMA3 in Your browser (w/o Java),
irc.GameSurge.net/ARMA2 (external IRC clients) irc.GameSurge.net/ARMA3 (external IRC clients)
ARMA 3 Feedback Tracker: http://feedback.arma...y_view_page.php
~100k fans @STEAM ARMA 2 + ARMA 2: OA + ARMA 3: + ~2k @XFIRE A2:OA
Follow my Twitter: http://twitter.com/FoltynD or my Facebook http://facebook.com/FoltynD