Jump to content


Photo

Sparkles Effect Plugin (ymd:100725)


  • Please log in to reply
36 replies to this topic

#1 MadJik

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

Posted 12 April 2008 - 08:49 AM

Sparkles Effect Plugin

What's this?
First of all, the initial idea belongs to kshotts: scanning the picture to find out the little shinning stars to add them some sparkles.

Second I'm calling flaRe the circle and flaKe the star.

This is a plugin under Effect/Render menu.

Download the DLL
Plugin Sparkles.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 place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects

The User interface
This plugin is added to the menu Effects, submenu Render.
Posted Image
Maximum quantity of sparkles to add (security limit):
If the image is too light (white) the plugin was hanging, because all and every pixels were considered as a brilliant spot to add a sparkle to!
And so it was running for hours/days/weeks!
The limit is here to avoid this problem.
Play between the limit and the brightness threshold to have a good coverage over the image...

Brightness Threshold:
Increase the value to select only the brightest pixels.

Maximum Glitter Size:
Maximum (if random checked) radius.

Glitter Possibility :
Possibility (0=none, 100=all) for a bright pixel to receive a glitter.

Flare/Flake ratio:
0=only flares, 100=only flakes, other=ratio between flares & flakes.

Flare normal/invert ratio:
0=only normals, 100=only inverts. Normals are brighter in the center.

Flake normal/invert ratio:
0=only normals, 100=only inverts. Normals are brighter in the center.

Flare number of vertices:
Quantity of rays to draw for the flare (0=perfect circle).

Flake number of vertices:
Quantity of vertices for the flake (star).

Random size:
If checked all glitters have a random radius up to the selected maximum size. Else they all have the same size to the maximum.


Some examples:

Original model:
Posted Image

Only flakes:
Posted Image

Only flares:
Posted Image

Fireworks!
Posted Image

Shooting stars!
Posted Image
____________________________________________

Caviar:
Posted Image


Some tips:
__The glitters are created from the top-left corner to the bottom-right corner. The last one overwrites the first one.
__A spot with a small radius is made with several pixels and each pixel of the spot could receive a glitter.

#2 IceFusion

IceFusion
  • Members
  • 394 posts
  • LocationSouth Africa
  • Reputation:0

Posted 12 April 2008 - 10:20 AM

Shooting stars! Jay, it looks great.
Do you sleep at night or keep on writing plugins? :D
Thanks!

Posted Image
:) Visit-> My Website <-Visit :)
Please Call Me Elite Override

The trick to flying is throwing yourself at the floor and missing.


#3 pipp92

pipp92
  • Members
  • 1,297 posts
  • Reputation:2

Posted 04 May 2008 - 01:00 PM

Great plugin thanks!

#4 tekkaro

tekkaro
  • Newbies
  • 3 posts
  • Locationi forget ):
  • Reputation:0

Posted 13 May 2008 - 02:51 AM

Can be used in SO MANY ways. Thanks :AddNoise:
Posted Image

#5 Dalton

Dalton
  • Members
  • 572 posts
  • Reputation:1

Posted 15 May 2008 - 08:09 PM

Shooting stars!

:lol:
I like that. Looks awesome.
I'm gonna definitely use this sometime. :D
MyBB Tutorials, check out my site. :)

#6 hossa_x

hossa_x
  • Newbies
  • 6 posts
  • Reputation:0

Posted 25 May 2008 - 05:16 PM

after u go to effects where do u go :?:

#7 Simon Brown

Simon Brown
  • Members
  • 10,185 posts
  • Reputation:15

Posted 25 May 2008 - 05:21 PM

after u go to effects where do u go :?:


Try This: viewtopic.php?f=16&t=2023
I recommend using search next time, it will save karma and allow you to reach the answer without waiting for a response.

Welcome to the forums. :)
Posted Image

#8 Division

Division
  • Newbies
  • 7 posts
  • Reputation:0

Posted 11 June 2008 - 10:45 AM

I actually tried adding this to a black background, and nothing happened.

#9 MadJik

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

Posted 12 June 2008 - 02:19 PM

I actually tried adding this to a black background, and nothing happened.

You need to spot some white dots on a dark background to see the effect...

#10 old-scouse

old-scouse
  • Members
  • 18 posts
  • LocationDoncaster England
  • Reputation:0

Posted 17 August 2008 - 05:17 PM

Brilliant Madjik, Thanks. :D :D

#11 tulip

tulip
  • Members
  • 24 posts
  • Reputation:0

Posted 26 November 2008 - 11:55 AM

This is a great effect but I can't seem to get the controls to render the same effects as your examples above!
Failing to prepare for a Yeti attack is preparing to fail a Yeti attack.
http://listen2missy.blogspot.com
http://paintdotnet.f...hp?f=26&t=27828
Posted Image

#12 MadJik

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

Posted 26 November 2008 - 02:21 PM

This is a great effect but I can't seem to get the controls to render the same effects as your examples above!



So the settings for my examples are:

Only flakes:
Flakes/Flares Ratio: 100
Flakes Normal/Inverted Ratio: 0
others at default

Only flares:
Flakes/Flares Ratio: 0
Flares Normal/Inverted Ratio: 0
others at default

Fireworks!
Flakes/Flares Ratio: 100
Flakes Normal/Inverted Ratio: 100
Flakes number of vertices: 50
others at default

Shooting stars!
Maximun Glitter size: 400
Glitter Possibility: 100
Flakes/Flares Ratio: 100
Flakes Normal/Inverted Ratio: 100
Flakes number of vertices: 1
others at default

Caviar:
Put some white dots on a black background (no image used)
Maximun Glitter size: 400
Flakes/Flares Ratio: 0
Flares Normal/Inverted Ratio: 0
others at default

#13 m2lucky

m2lucky
  • Members
  • 164 posts
  • Reputation:0

Posted 05 January 2009 - 04:28 AM

ooo this is a cool effect that I will beable to use alot

Music Brings color to the world
Posted Image
My Gallery|Frozen Text|Snowy Font|MSNBC Effect


#14 Sirzach

Sirzach
  • Newbies
  • 4 posts
  • Reputation:0

Posted 19 January 2009 - 02:09 AM

Nice plug-in! Ill definatly use this one. This could be used...in like, 1000 ways for me! Thanks again!
Posted Image

#15 Possum Roadkill

Possum Roadkill
  • Competition Hosts
  • 2,051 posts
  • LocationHenry County Indiana USA
  • Reputation:6

Posted 14 February 2009 - 08:43 AM

This is the first plugin I downloaded. I don't quite have it down just yet, but it is exactly what I was looking for. I know after I work with it for a while, I'll get the hang of it. Very very nice effect. Thanks so much, I know I will use this a lot. My geography website is all open source except for the logos and other graphics on the Home Page, I use MapServer for the GIS mapping, but I am committed to using Open Source software just to prove that the entire site can be done with Open Source. Everyone said I couldn't do a mapping site with Open Source but I did and now I want to complete the project and replace all the graphics with images from Paint.NET. Thanks again !

Posted Image

My Gallery

SAC, WOTW and Photo Manip Competition Host
To visit the Comps click HERE


#16 MadJik

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

Posted 20 February 2009 - 08:53 AM

This is the first plugin I downloaded. I don't quite have it down just yet, but it is exactly what I was looking for. I know after I work with it for a while, I'll get the hang of it. Very very nice effect. Thanks so much, I know I will use this a lot. My geography website is all open source except for the logos and other graphics on the Home Page, I use MapServer for the GIS mapping, but I am committed to using Open Source software just to prove that the entire site can be done with Open Source. Everyone said I couldn't do a mapping site with Open Source but I did and now I want to complete the project and replace all the graphics with images from Paint.NET. Thanks again !


You're welcome! Please give a link to you website...

#17 boogster1

boogster1
  • Members
  • 69 posts
  • LocationScottsdale, Arizona
  • Reputation:0

Posted 09 March 2009 - 03:42 PM

Nice plugin! Now let's sparkle our teeth, without any brushing!! :mrgreen:

Posted Image

BoogsterSU~Killer's Korner~Photobucket~The 600th User!!! :P

"Yep! Everyone loves dogs! And most of us love to know what heaven looks like! But however, there's one who thinks that "All Dogs Go to Heaven"! And that's me!" --Myself

#18 MadJik

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

Posted 09 September 2009 - 04:24 AM

If the image is too light (white) the plugin is hanging, because all and every pixels are considered as a brilliant spot to add a sparkle to! And so it could be running for hours/days/weeks if the limit is high!
The glitters are created from the top-left corner to the bottom-right corner. So if the limit is too low only the top of the image is covered.

Read the post 1 for more details.

#19 nemo

nemo
  • Members
  • 1,428 posts
  • Locationin your periphery
  • Reputation:0

Posted 09 September 2009 - 07:44 AM

That has some nice possibilities :shock:
Posted Image
My Gallery ------------------------------------Skin painting tutorial
We can push out, sell out, die out.

#20 MadJik

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

Posted 09 September 2009 - 04:24 AM

If the image is too light (white) the plugin is hanging, because all and every pixels are considered as a brilliant spot to add a sparkle to! And so it could be running for hours/days/weeks if the limit is high!
The glitters are created from the top-left corner to the bottom-right corner. So if the limit is too low only the top of the image is covered.

Read the post 1 for more details.