TechnoRobbo Posted July 1, 2013 Share Posted July 1, 2013 (edited) TechnoRobbo's Star Filter (Hollywood Glamour Shots) Trust me,you don't need instructions. Star Filters traditionally are used for: Night Life Shots Car Shots at Night Starry nights Interplanetary Stars (draw dots and try it) Backlit Beach Scenes Holiday Lights Anything with points of lights or Specular reflections. http://en.wikipedia.org/wiki/Photographic_filter#Cross_screen Menu: Effects->Photo The Code Hidden Content: // Submenu: Photo // Name: TR's Star Filter // Title: TR's Star Filter- v1.0 // Author: TechnoRobbo // URL: http://www.technorobbo #region UICode int Amount1 = 200; // [192,255] Threshold double Amount2 = 30; // [1,150] Diffusion double Amount3 = 0; // [0,0.25] Rotation byte Amount4 = 0; // Number of Star Points|4 Points|8 Points|16 Points #endregion void Render(Surface dst, Surface src, Rectangle rect) { Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); int CenterX = ((selection.Right - selection.Left) / 2)+selection.Left; int CenterY = ((selection.Bottom - selection.Top) / 2)+selection.Top; int stars = (int)Math.Pow( 2, Amount4 + 2); int half = stars/2; double[] cosx = new double[stars]; double[] siny = new double[stars]; for (int i=0;i<stars;i++){ cosx[i] = Math.Cos((double)i * Math.PI / half + Math.PI * Amount3) ; siny[i] = Math.Sin((double)i * Math.PI / half + Math.PI * Amount3); } ColorBgra CP; ColorBgra CO; double mix; for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { CP = src[x,y]; bool bo=false; for (int i=0 ; i <Amount2 ; i++){ for (int j=0 ; j < stars ; j++){ CO = src.GetBilinearSampleClamped((float)(x + cosx[j] * i), (float)(y + siny[j] * i)); double avg=CO.R + CO.G + CO.B; avg /= 3; if (avg >= Amount1){ mix = Math.Sqrt( i / Amount2); CP.R = Int32Util.ClampToByte((int)(CP.R * mix + CO.R * (1.0f - mix))); CP.G = Int32Util.ClampToByte((int)(CP.G * mix + CO.G * (1.0f - mix))); CP.B = Int32Util.ClampToByte((int)(CP.B * mix + CO.B * (1.0f - mix))); bo=true; break; } }// j if (bo){break;} }// i dst[x,y] = CP; } } } TRsStarFilter.zip Edited December 28, 2015 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
DrewDale Posted July 1, 2013 Share Posted July 1, 2013 Nice one TR Quote Link to comment Share on other sites More sharing options...
barbieq25 Posted July 1, 2013 Share Posted July 1, 2013 Ditto to what DD said! Thankies!! Quote Knowledge is no burden to carry. April Jones, 2012 Gallery My DA Gallery Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted July 2, 2013 Share Posted July 2, 2013 Similar to MadJik's Star Glow, but still a neat effect. Nice. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
TechnoRobbo Posted July 2, 2013 Author Share Posted July 2, 2013 (edited) Here' a comparison of Madjiks Star Glow and TR's Star Filter. I consider mine a plug-n-play Cross-screen filter simulation. Madjik's offers some adjustments for really creative manipulation Edited December 28, 2015 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
StarryKat Posted June 2, 2014 Share Posted June 2, 2014 Unable to download due to Norton 360 scanning and then removing the file saying it was not safe.. Not sure why as I had no problems downloading other plug-ins this evening.. Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted June 2, 2014 Author Share Posted June 2, 2014 Did you download this file here or at another site? This site has the original - other sites have unauthorized copies with viruses embedded. Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
StarryKat Posted June 2, 2014 Share Posted June 2, 2014 Did you download this file here or at another site? This site has the original - other sites have unauthorized copies with viruses embedded. From here.. Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted June 2, 2014 Author Share Posted June 2, 2014 (edited) Then it's virus free For your own peace of mind I provided the source code in the post so you can grab CodeLad and compile it yourself. Edited June 2, 2014 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
StarryKat Posted June 2, 2014 Share Posted June 2, 2014 (edited) Then it's virus free For your own peace of mind I provided the source code in the post so you can grab CodeLad and compile it yourself. Hehe, I haven't a clue as to what you are talking about.. I use PDN just about everyday but that doesn't mean I know anything about codes.. I just like to add new effects to use in my designs when I create new wallpapers for Alphacoders and I happen to love the 'star-effect' you've created.. I don't know why my Norton won't let this particular effect pass muster, I had no trouble with the others.. I will try it again and see if I can get more info for you from Norton.. Thanks.. Ok, tried it again and Norton just says threat is 'WS.Reputation.1.. Here is the link they gave me with the explanation for it.. http://www.symantec.com/security_response/print_writeup.jsp?docid=2010-051308-1854-99 Edited June 2, 2014 by StarryKat Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted June 2, 2014 Author Share Posted June 2, 2014 I read it and I would say that that is due to the imposters that exist on many sites. I've seen my work on lots of other websites but they're all unauthorized. for instance "paint-net.ru" I have noothing to do with this site and cannot vouch for it's integrity. Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
StarryKat Posted June 2, 2014 Share Posted June 2, 2014 But I did not use another site to download your file, I did it right from here.. I'm not sure why Norton is suspect of your file but I would think you might want to look into it just for your own satisfaction.. Thanks.. Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted June 2, 2014 Author Share Posted June 2, 2014 (edited) the reason is right there in the document WS.Reputation.1 is a detection for files that have a low reputation score based on analyzing data from Symantec’s community of users not on any code that was detected. Only on the existence of an evil twin. But not on this site. Edited June 2, 2014 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
StarryKat Posted June 2, 2014 Share Posted June 2, 2014 the reason is right there in the document not on any code that was detected. Only on the existence of an evil twin. But not on this site. Ok.. But what I'm saying is that, if what Norton is saying is not true and you know it's not, why don't you contact them and file a complaint with them? It says you have the right to do that.. I hope you get the problem cleared up, TR.. You have some really great designs here.. Good luck.. Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted June 2, 2014 Author Share Posted June 2, 2014 (edited) Nortons cannot distinguish between the two Dll's if the comparison based solely on file name, still, If there are some tainted copies of my plugins or any other plugins on disreputable website then the user deserves the chance to be protected. When they visit the forums (as you did) they can then find answers and warning such as the one for Megalo ( http://forums.getpaint.net/index.php?/topic/28270-megalo-virus/) and postings such as yours. I truly believe that there is more malicious software than legitamite software on the internet, so in my humble opinion removing any scrutiny of my dll's or anyone elses is the equivalent to throwing out the baby with the bath water. ... and thank you for bringing up the dialogue, I do believe it's necessary that people are educated on the subject. Edited June 2, 2014 by TechnoRobbo 1 Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
StarryKat Posted June 2, 2014 Share Posted June 2, 2014 You're very welcome.. I'm just glad I was able to download, without problems, your other plug-ins.. I look forward to using them.. I love PDN and people are often shocked when I tell them my wallpapers are not done in PSP or some other expensive software program.. Thanks again to all of you who work so hard to provide PDN users with these great special effect plug-ins.... 1 Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted June 12, 2014 Author Share Posted June 12, 2014 Try renaming the DLL and see. If you have the original your AV should ignore it. Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
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.