Prev Previous Post   Next Post Next
Old 01-07-2019, 05:55 PM   #1
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,538
Default Resizing blur presets

Today I tried to hack the blur presets code a bit so that it can be restricted to a box and positioned anywhere.

pretty simple, just add some parameters

Code:
//@param11:pos_x 'Position X' 0 0 2560 1280 1
//@param12:pos_y 'Position Y' 0 0 1440 1920 1
//@param13:size_x 'Size X ' 1 1 100 50 0.1
//@param14:size_y 'Size Y ' 1 1 100 50 0.1
and change the line with gfx_eval… to
Code:
gfx_evalrect(pos_x,pos_y,project_w/size_x,project_h/size_y,

Unfortunately there are some major artifacts when doing this






Probably something obvious I'm missing. Please make it better!
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.