PostFX Options GUI (0.2)
by FuzzYspo0N · 10/12/2009 (1:04 pm) · 28 comments

I needed control over the postFX system, so i made a temporary GUI. Hope this helps until the engine gets its own shiny new controls :)
To install :
Copy the cs and the GUI file into the CORE folder of the game (/game/core/scripts/gui) (/game/core/art/gui) respectively.
First, load the GUI's in game/core/main.cs ( I load it right after the options GUI : about line 79 ).
exec("./scripts/gui/postProcessOptionsDlg.cs");
exec("./art/gui/postProcessOptionsDlg.gui");Second, add the menu item in game/tools/worldEditor/scripts/menus.ed.cs (about line 139)
item[14] = "Post Process Options" TAB "" TAB "Canvas.pushDialog(postProcessOptionsDlg);";
Third, i added a "ctrl [" shortcut so i can load it in game, without loading the editor.
in game/scripts/client/default.bind.cs (Around line 468) :
function bringUpPostFXOptions(%val)
{
if (%val)
Canvas.pushDialog(postProcessOptionsDlg);
}
GlobalActionMap.bind(keyboard, "ctrl [", bringUpPostFXOptions);0.2 Update
New section in the install above (convenience factor only). The ctrl [ shortcut is up to you, i used that because ctrl P was bound to doScreenshot? Either way ;)
Changelog ( 0.2 ) :
.: HDR Effects Blue shift Color picker implemented.
.: SSAO Ranges fixed / tweaked for the near and far tabs. Also clamped the values to non 0.
.: Renamed a few labels to make more sense
.: Added tooltips to all LABELS (hover for info), tooltips on the controls now show the current value.
.: Fixed the GUI loading on the last random tab (loads on the first one now)
.: Made sure all values updated while in game, so changes can be seen in realtime
TODO :
Finish the preset loading and saving.
Feedback, ideas, fixes - Yes please.
Downloads [6kb]
Mediafire
Direct Link
Discussion :
http://www.garagegames.com/community/forums/viewthread/103709
#22
b) Does your PC support the HDR postFX etc (it shows up normally)
c) The bright pass threshold is more brightness = lower slider value.
Let me know if this helps!
10/17/2009 (6:47 am)
a) Obvious but, do you have HDR enabled in the options menu? b) Does your PC support the HDR postFX etc (it shows up normally)
c) The bright pass threshold is more brightness = lower slider value.
Let me know if this helps!
#23
Is possible ( and legal? ) to ask you to upload these files with the modify? I'm trying everything but I can't find a solution and I really would like to use this great resource!
01/18/2010 (2:40 pm)
I'm having some strange problems! basically I was able to modify the main.cs with the notepad and add the line of code, but when I try to open the menu.ed.cs and the default.bind.cs with the notepad, or jEdit, or Notepad++ or the evaluation of Torsion the formatting disappear and I can't read the text because is not recognizable ( is like when you open a chinese/japanese text and you're unable to read it because you don't have the font... ).Is possible ( and legal? ) to ask you to upload these files with the modify? I'm trying everything but I can't find a solution and I really would like to use this great resource!
#24
01/19/2010 (3:17 pm)
This ressource is great. Is it possible to include the new Posteffects like DoF as well? Think, that would be a great extension to your Gui.
#25
Second, add the menu item in game/tools/worldEditor/scripts/menus.ed.cs (about line 139)
view plainprint?
01.item[14] = "Post Process Options" TAB "" TAB "Canvas.pushDialog(postProcessOptionsDlg);";
However my menu.ed.cs file is a menu.ed.cs.edso and it appears to be full of binary or some such..possibly encrypted? Is this because I have a binary version? If not, can anyone give me a solution to edit this file?
Any help would be sorely appreciated.
02/18/2010 (6:29 pm)
Hey folks, question about this particular resource. Above it says to:Second, add the menu item in game/tools/worldEditor/scripts/menus.ed.cs (about line 139)
view plainprint?
01.item[14] = "Post Process Options" TAB "" TAB "Canvas.pushDialog(postProcessOptionsDlg);";
However my menu.ed.cs file is a menu.ed.cs.edso and it appears to be full of binary or some such..possibly encrypted? Is this because I have a binary version? If not, can anyone give me a solution to edit this file?
Any help would be sorely appreciated.
#26
03/11/2010 (12:12 pm)
Awesome resource, will keep this for later, and I'm using it now to play around with some of the default shaders, might use this idea for modification of my own PPEs. Thanks man!
#27
Same problem here - I have the binary version, too. My work-around is to open the console and type:
06/13/2010 (11:10 am)
Quote:Hey folks, question about this particular resource. Above it says to:
Second, add the menu item in game/tools/worldEditor/scripts/menus.ed.cs (about line 139)
view plainprint?
01.item[14] = "Post Process Options" TAB "" TAB "Canvas.pushDialog(postProcessOptionsDlg);";
However my menu.ed.cs file is a menu.ed.cs.edso and it appears to be full of binary or some such..possibly encrypted? Is this because I have a binary version? If not, can anyone give me a solution to edit this file?
Any help would be sorely appreciated.
Same problem here - I have the binary version, too. My work-around is to open the console and type:
Canvas.pushDialog(postProcessOptionsDlg);
#28
08/17/2016 (10:00 am)
This was already added in commit since "Sep 19, 2012" 
Torque 3D Owner User
I Installed It And Everything... It Shows Up...
But for some reason the effects arnt doing anything.
I.E. I Slide The Bloom Bright Pass Threshold Slider All The Way Up And It Does Nothing.
Help?