# Paneling Effect Plugin (ymd:100718)

## Recommended Posts

For me it's in Distort

AHA!

Thx a lot

"Ah, i love it when huge pineapples try to take over the world, it makes me sentimental :')"

-Stephan

##### Share on other sites

For me it's in Distort

AHA!

Thx a lot

No prob 8)

All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]

##### Share on other sites

For me it's in Distort

AHA!

Thx a lot

No prob 8)

All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]

##### Share on other sites

`...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);...`

What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten.

Take responsibility for your own intelligence. -Rick Brewster

##### Share on other sites

`...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);...`

What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten.

Take responsibility for your own intelligence. -Rick Brewster

##### Share on other sites

`...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);...`

What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten.

...initialy for rounding!

(3 + 2) / 2 = 2.5 ; integer is 2

(3 + 2 + 0.5) / 2 = 2.75 ; integer is 2

Conclusion: It's useless! (wrong formula!)

It's should be:

(3 + 2) / 2 + 0.5 = 2.5 + 0.5 = 3.0 ; integer =3;

(2 + 2) / 2 + 0.5 = 2.0 + 0.5 = 2.5 ; integer =2;

##### Share on other sites

`...PixD.R = (byte)((float)(Pix1.R + Pix2.R + 0.5f)/2.0f);...`

What does adding 0.5f do? It seems that this kinda makes the results a little brighter, is that right? Thats why I initially thought of Lighten.

...initialy for rounding!

(3 + 2) / 2 = 2.5 ; integer is 2

(3 + 2 + 0.5) / 2 = 2.75 ; integer is 2

Conclusion: It's useless! (wrong formula!)

It's should be:

(3 + 2) / 2 + 0.5 = 2.5 + 0.5 = 3.0 ; integer =3;

(2 + 2) / 2 + 0.5 = 2.0 + 0.5 = 2.5 ; integer =2;

##### Share on other sites

2. runny BB's helper on top layer.

3. setting top layer opacity to 50%.

Would it be easier to code this by duplicating the source, running the helper effect and the altering the opacity?

Take responsibility for your own intelligence. -Rick Brewster

##### Share on other sites

2. runny BB's helper on top layer.

3. setting top layer opacity to 50%.

Would it be easier to code this by duplicating the source, running the helper effect and the altering the opacity?

I think it's already the way it works pixel per pixel!

##### Share on other sites

I get it.

I'll stop asking dumb questions now.

Take responsibility for your own intelligence. -Rick Brewster

##### Share on other sites

• 1 month later...
I don't know how The Lighten blending mode works!

Pixel Destination = (Pixel1 + Pixel2) /2

Sorry, if it's too late

I find some info (with graphics, examples & formulas) about "blending modes" here:

http://www.pegtop.net/delphi/articles/blendmodes/

&

Thanks! Your plugin very useful! (as all others).

##### Share on other sites

• 1 month later...

thank boss

##### Share on other sites

• 3 months later...

updated for paint.net v3.20 see the first post...

##### Share on other sites

• 4 months later...

New version... Check out the first post!

##### Share on other sites

• 2 months later...

Or you can do this:

##### Share on other sites

• 6 months later...

Halp!!!1111one

It's not in my distort menu. and I can't find it anywhere in any menus

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×