Old 01-07-2019, 05:55 PM   #1
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 7,568
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
Old 01-15-2019, 05:59 AM   #2
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Holy Banana! (⊙_◎)

Haven't seen that post until now.

I will try this out shortly. But I'm pretty sure I'm not the one who can fix this.

Many thanks, Jon.

PS: I butchered wwwmaze's warp preset and added lots of more functions. Will upload in the next days with examples. That's really fun. Even though I have no idea what I did there.

EDIT: The cool thing is, this overlays the blur like a glass plate. It kind of mirrors the left border to the right border like a reflection. Would be nice to use this. But it really gets messed up if you turn the sigma up.

Blur is so much fun. I recently saw a radial blur with offset which looked like an old film effect with only a blurred vignette. Ah, there are so many nice ideas.
__________________
☆.。.:*・°☆.。.:*・°☆.。.:*・°☆REAPER//✿◔‿◔)°☆.。.:*・°☆.。.:*・°☆

Last edited by Eliseat; 01-15-2019 at 06:44 AM.
Eliseat is offline   Reply With Quote
Reply

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 01:42 AM.


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