Jump to content


Photo

Water Reflection (ymd:100725)


  • Please log in to reply
182 replies to this topic

#1 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 22 December 2006 - 02:46 PM

Water Reflection Effect Plugin

Posted Image

What's this?
This plugin is added to the menu Effects, submenu Distort.

Based on Tom Jackson's Reflection water code lab...

Download it!
Plugin WaterReflection.dll
Posted ImageHere is the DLLPosted Image

The source is available with the plugins package!
http://forums.getpaint.net/index.php?showtopic=7186

How to install
Close Paint.net
Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects

The User interface
Posted Image
The settings in the dialog box:

Distance: Where does the water reflection start in % of the height of the image.
Values 0 to 400, default is 50 (middle of the image).

Waves period: This is the wave frequency (not the height but the width amplitude).
Values 0.01 to 100, default is 10.

Duration: The wave is fading slowly while it comes to the bottom of the image. You could change the speed of fading with this slider.
Values 0.01 to 200, default is 100.

Blur: As gaussian blur but done within the same effect.
Values 0 to 10 (very slow!!!), default is 0.

Start Angle: You could move the angle to change a bit the aspect of the wave...

Wind: Add some smooth distort effect.
Values -100 to 100, default is 0.

Distort: Add some strong distort effect.
Values -100 to 100, default is 0.

Second formula: Check this box to use another formula to calculate the wave. It doesn't look like water any more but could give some cool distortions. This formula needs big amounts of "Wind" and/or "Distort".

Distort full height: The effect applies also on the upper part of the image.

Use alpha as horizon: This check box allows you to define the line the water should follow. You create a transparent cut in the image (top=image, bottom=transparent). The water effect will follow the curve of the cut.
A smooth curve gives a better result...

#2 trickman

trickman
  • Members
  • 1,151 posts
  • LocationLeiria, Portugal
  • Reputation:1

Posted 22 December 2006 - 02:50 PM

What is the blur for if we can just gaussian blur it after doing the effect?
Posted Image

#3 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 22 December 2006 - 02:54 PM

What is the blur for if we can just gaussian blur it after doing the effect?

It was more like coding exercice...

#4 trickman

trickman
  • Members
  • 1,151 posts
  • LocationLeiria, Portugal
  • Reputation:1

Posted 22 December 2006 - 03:06 PM

What is the blur for if we can just gaussian blur it after doing the effect?

It was more like coding exercice...

Mmm, I think you edited it from another dialog... :P
Just kiddin'.
Posted Image

#5 El Sid

El Sid
  • Members
  • 50 posts
  • LocationSydney, NSW, Australia
  • Reputation:0

Posted 23 December 2006 - 04:31 AM

Nice Lookin Effect Ya got here Madjik, I shall try It Immediately!

#6 BuzzKill

BuzzKill
  • Members
  • 1,020 posts
  • LocationCorpus Christi
  • Reputation:1

Posted 23 December 2006 - 07:17 AM

Thank you Santa! :wink:
Posted Image
- DO NOT contact me asking for the .pdn of my avatar or the PDN logo. Thank you. Have a nice day.

#7 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 25 December 2006 - 11:53 AM

Ho Ho Ho !

You're welcome !

Merry Christmas.....
Posted Image

#8 Illnab1024

Illnab1024
  • Members
  • 1,298 posts
  • LocationMiddle Tennessee
  • Reputation:5

Posted 27 December 2006 - 09:37 AM

Hmm...I don't think Mr. Claus likes his beard wet :P :D
~~

#9 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 27 December 2006 - 10:40 AM

The draw was made after xmas day/night. He's having a bath after a hard time ;)

#10 korteck

korteck
  • Members
  • 89 posts
  • Reputation:0

Posted 06 January 2007 - 11:02 AM

I love this plugin! Thanks MadJik.
I used the effect twice in this picture. I used it in the regular way to make the first (foreground) reflection, then I flipped the word vertically and made a second reflection. I used the second reflection to make a watery shadow behind the word.


Posted Image
Posted Image

#11 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 06 January 2007 - 11:33 AM

glad you enjoy it...
Thanks.

I also play with it:
Posted Image

#12 TinSoldier

TinSoldier
  • Members
  • 175 posts
  • LocationAloha, OR USA
  • Reputation:0

Posted 07 January 2007 - 04:20 AM

Korteck: That's an awesome pic!

I haven't downloaded this one yet...

#13 korteck

korteck
  • Members
  • 89 posts
  • Reputation:0

Posted 08 January 2007 - 02:28 AM

Thank you Tinsoldier. :)
You definitely should get this. It's easy to use and good for lots of things besides water.
Posted Image

#14 newbie_painter

newbie_painter
  • Members
  • 26 posts
  • Reputation:0

Posted 31 January 2007 - 02:14 AM

Sweet :P Thx

#15 newbie_painter

newbie_painter
  • Members
  • 26 posts
  • Reputation:0

Posted 31 January 2007 - 05:26 AM

Lol. I really like this plugin tysm :) :!:
Posted Image

#16 Ghost_ARCHER

Ghost_ARCHER
  • Members
  • 13 posts
  • Reputation:0

Posted 31 January 2007 - 08:55 PM

My water reflection effect. Implement with lua script on artweaver, not with .net code yet -- Honestly, I have not install paint.dot on this computer, and still have trouble to write the whole thing from loading to save.

I have not apply distortion on y direction. Working on it now, but first want to see if it is necessary.

Right now I got 10 control parameters, have not figure out which is more important yet, still need to try to get rid something not important.

As I feel, it is one of the fastest filter in lua on artweaver, because it just has one loop thru.

Effect with different paramters, which I have not found way or proper name to discribe them.

Edit by Rick: Images removed. They're kinda cool but we don't need 20 pages worth of them.

Now with y distortion, 11 control parameters
weak y distortion factor

Edit by Rick: Images removed. They're kinda cool but we don't need 20 pages worth of them.

#17 barkbark00

barkbark00
  • Members
  • 3,336 posts
  • Reputation:2

Posted 31 January 2007 - 09:08 PM

Dude, those are way too big. Just post the thumbnails...
Posted Image
Take responsibility for your own intelligence. ;) -Rick Brewster

#18 BoltBait

BoltBait
  • Administrators
  • 8,910 posts
  • LocationCalifornia, USA
  • Reputation:103

Posted 31 January 2007 - 09:22 PM

My water reflection effect. Implement with lua script on artweaver, not with .net code yet -- Honestly, I have not install paint.dot on this computer

Yeah, that's nice.

So, what are you doing with Paint.net?
Click to play:
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Download: BoltBait's Plugin Pack | CodeLab | More... and how about a Computer Dominos Game

#19 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 31 January 2007 - 09:24 PM

Yeah, I understand he's not using PDN nor its plugins (only 3 sliders!).

#20 Ghost_ARCHER

Ghost_ARCHER
  • Members
  • 13 posts
  • Reputation:0

Posted 31 January 2007 - 09:37 PM

I am studying .not now, that is the first reason.

I like computer graphics, that is the second reason.

I installed it on another computer, and wish sometimes later I will not need to pivate paintshop pro, therefore I support all good free paint programs (paint.net start slow on this one, therefore I use artweaver, as a comparison, some good freeware painter including:
paint.net
photobie.net --- not tried yet.
paintstar
artweaver
deep paint -- large
gimp
photoplus
Studioline -- large
and the huge ms acrylic preview and graphic designer (not tried)
pixia
graphicgale
photoclinic
photofiltre

As I know, gimp start very slow, then paint.net on this computer, artweaver a little faster but slower than paint.net on the other. The other software nearly same and fast.

I hate pixia's interface. I hate ms' huge size. And photoplus seems have lots of svg component. But the company freeware normally not attractive. They will make it candylike and there will be no improvement for years.

I like to try and see if there is new function or effect in other software. Like photoclinic, they have a swirl distortion that is much clearer than the one in the artweaver.


Last, I once was trying to enter your college:)



I am trying to use the lua to create the dialog for the controls. Artweaver dies or ignores all the time. There is suggestion in lua interface -- syntax error notification! No I have to adjust the parameter by hand:)

I made the first .net paint program yesterday, seems easier than using the openGL and original C graphics. But I still have problems to totally understand madjik's code. Algorithm part is ok, the beginning loops is hard to understand without any context.