MadJik Posted June 14, 2007 Posted June 14, 2007 Light rays Effect Plugin What's this? This is a Render Texture Effect plugin. NB: Moved from Render (too crowded) to Texture submenu. Starting from the center (that you could offset) it will draw alternated triangles as rays. It uses the Primary and Secondary colors as default and could be multi-colors from the current palette of colors. Up to you to store your palettes and load your favorite before running this effect. The brush width is used to draw the empty triangles (uncheck “Fill the rays”). Download it! Plugin LightRays.dll Here is the DLL The MadJik's All plugins package is available ! http://forums.getpaint.net/index.php?showtopic=7186 How to install Close Paint.net Classic version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects Microsoft Store version of Paint.net Unzip and (re)place the DLL in your Effect folder usually: /My Documents/paint.net App Files/Effects/ You have to adapt for your language My Documents The User interface This plugin is added to the menu Effects, submenu Texture (was previously in Render). Quantity of rays It works well in the range 4 to 200. Less than 4 give nothing or strange triangles. More than 500 gives strange figures and requires CPU... Even number is better for symmetry than odd number. Also for symmetry with colors from palette try to use multiple of the quantity of colors. Colors from palette: Number / Start It works only with the current palette of colors! Number: 0 to use primary and secondary colors. 1-96 to load the colors from the current palette. Each colors are repeated around the circle till it is filled. Start: From the standard palette (black, dark grey, red, orange, yellow, etc.) you could choose to skip black and dark grey, set the value to 3 to start by red color. The color index is modulo 96 (number of colors in a palette). Center position offset X / Y (in %) Negative value to move left/up, positive to move right/down. 100% is the width/height of the image, 0% is at the center, 50% is on the edge of the image. Radius External / Internal Allows you to reduce/increase the length of the ray. It's in %, not in pixel. Allows you to reduce/increase the center point/circle. You could obtain a ring instead a circle. Rotation Angle / Ratio of the rays Rotation: Allows you to choose different angle for the whole result. Ratio: Allows you to change the ratio of the rays to have one thick one thin and so on. Use random Check it to allow some chaos based on the random factor. Random factor This factor is here to set the strength of the randomness. 0 is no random effect. The impact is on the external/internal radius of each ray. Reseed (0=auto) If not 0 set the random generator to this fix value. It means the result won’t change while you are playing with the other setting. If set to 0, every change will produce different random result. Fill the rays Check/Uncheck to choose as you like, filled or empty triangles. The lines are drawn with the actual brush width. Fill with color gradients The rays are filled with a gradient from primary color to secondary color. With colors from the palette, the gradient use actual color and previous color from the palette. If Offset secondary color is checked then the gradient uses the actual color and the color below from the palette (on the standard black on the first row will be used with white on the row below). Radius of gradient The gradient is based on the extreme limits of the triangle but here you could change the limits to make a repeatable gradient. Swap the gradients Invert the direction for the gradients. Draw the gradient as ray As it says! Check the box you will understand. Offset secondary color If Offset secondary color is checked then the gradient uses the actual color and the color below from the palette (on the standard black on the first row will be used with white on the row below). Use anti-aliasing Check/Uncheck to choose as you like. The Examples: Voilà! Enjoy! Let me see what you could do with it! 1 1 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Leif Posted June 14, 2007 Posted June 14, 2007 Hey, that is really cool. This can bee a lot of fun. Thanks for the plugin Madjik. Quote My DA: http://leif-j.deviantart.com/ -------------- Some people seek justice so persistent, that they will do great injustice themselves.
vobie Posted June 14, 2007 Posted June 14, 2007 looks good but might i suggest a center chooser sort of like the zoom blur deluxe's: Quote
The_Lionhearted Posted June 14, 2007 Posted June 14, 2007 Excellent Madjik! I used to do this by using Interlace at full strength and then a rect to polar! Don't worry about anti-aliasing...a quick zoom blur deluxe should clear that up. Quote My Gallery
Myrddin Posted June 14, 2007 Posted June 14, 2007 ^^Agreed on both the greatness of the plugin and using zoom-blur. To be honest I don't mind it not having AA because it give me a chance to try out other blurs which in turn created something very funky. Thanks Madjik. Quote How to Save Your Images under Different File Types My dA Gallery
MadJik Posted June 14, 2007 Author Posted June 14, 2007 looks good but might i suggest a center chooser sort of like the zoom blur deluxe's: I haven't choose this for two reasons: - more complicate for me to program - not as precise (in %) as sliders in pixels Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
pyrochild Posted June 14, 2007 Posted June 14, 2007 Oooooh very nice MadJik! Yousa gonna be sharin' da source? Mesa curious! Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it!
BoltBait Posted June 14, 2007 Posted June 14, 2007 Nice. I'm thinking that aatwo is gonna like this one as well. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game
Ash Posted June 14, 2007 Posted June 14, 2007 not as precise (in %) as sliders in pixels Thanks for another cool plugin and agreed. Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]
BoltBait Posted June 14, 2007 Posted June 14, 2007 .Sorry no anti-aliasing available! Could you use a transparent secondary color, then feather it? Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game
MadJik Posted June 14, 2007 Author Posted June 14, 2007 .Sorry no anti-aliasing available! Could you use a transparent secondary color, then feather it? Yes but (...) Hey guys, lot of tuts to create! Let's go! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
david.atwell Posted June 14, 2007 Posted June 14, 2007 Oooooh very nice MadJik! Yousa gonna be sharin' da source? Mesa curious! Well, no, NOW he's not...Jar Jar... In other news, I LOVE this plugin. MadJik is my new favorite person. EDIT: It's a plugin, not a tut. Quote The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him.
Bob Posted June 14, 2007 Posted June 14, 2007 The good thing with % is there are infinite. If you make a 10000*10000 canvas, 50% still works, you're not limited to 600px. M2c. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio
barkbark00 Posted June 15, 2007 Posted June 15, 2007 ^Agreed! Quote Take responsibility for your own intelligence. 😉 -Rick Brewster
MadJik Posted June 15, 2007 Author Posted June 15, 2007 The good thing with % is there are infinite.If you make a 10000*10000 canvas, 50% still works, you're not limited to 600px. M2c. Note for myself : Future version should change the sliders mini/maxi depending on the picture size The error margin is greater then... 1% of 10000 is how many pixels? Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Bob Posted June 15, 2007 Posted June 15, 2007 Sure. The best way would be to provide both http://getpaint.net/doc/latest/en/ImageMenu.html#Resize Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio
cjmcguinness Posted June 17, 2007 Posted June 17, 2007 Madjik Just wanted to say I love this plugin; great for backgrounds; nice job. One small point, though, regarding the "Number of rays in the circle" slider (and this is not a criticism, just an observation). You cannot render an odd number of rays, yet your slider/arrows and the text entry box allow for selection/entry of odd numbers. Would there be any way you could get the slider/arrows to go up/down in increments of two? Maybe I am being a bit picky! Probably just jealousy as I'd love to be able to write plugins. Quote
pyrochild Posted June 17, 2007 Posted June 17, 2007 @CJ: Not unless MadJik decides to convert this into a "normal" plugin, as CodeLab does not give you anywhere near enough control over the interface to do that. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it!
BoltBait Posted June 17, 2007 Posted June 17, 2007 ...CodeLab does not give you anywhere near enough control over the interface to do that. You say that like it's my fault. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game
pyrochild Posted June 17, 2007 Posted June 17, 2007 wellllll it wouldn't be hard to add an option to override the CreateConfigDialog() function.... EDIT: and technically it is your fault, as you're the one who added UI creation to CodeLab in the first place... Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it!
Crazy Man Dan Posted June 17, 2007 Posted June 17, 2007 Don't make him angry! You won't like him when he's angry... :evil: Quote I am not a mechanism, I am part of the resistance; I am an organism, an animal, a creature, I am a beast. ~ Becoming the Archetype
pyrochild Posted June 17, 2007 Posted June 17, 2007 Really? I actually like most people better when they're angry... Maybe it's the lovely shade of red their faces turn. 1 Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it!
OmgWtfBbq Posted June 17, 2007 Posted June 17, 2007 Lol Pyro. Offtopic; where can I get the font in your avatar? I don't want to copy it as most have done, just use it for some other stuff Quote
Myrddin Posted June 17, 2007 Posted June 17, 2007 I do believe it is this (sorry to steal your thunder pyro): http://www.dafont.com/evanescence.font Quote How to Save Your Images under Different File Types My dA Gallery
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.