Jump to content

MadJik

Members
  • Posts

    2,690
  • Joined

  • Last visited

  • Days Won

    68

Everything posted by MadJik

  1. Water Reflection Effect Plugin 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 WaterReflection.zip 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 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. Transparent water: Progressive transparency Distort full height: The effect applies also on the upper part of the image. Use transparency as shore: 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. It isn't a tutorial... It isn't a globe, just a drawing in a circle... But most of vampires draws are impressives...
  3. Easy ? Humm yes with the polygone effect plugin http://paintdotnet.12.forumer.com/viewtopic.php?p=18110#18110 and the rectangle to polar effect plugin http://paintdotnet.12.forumer.com/viewtopic.php?t=1849&highlight=polar For the color I mixed three layers with gradient and I've tried several blending modes...
  4. Joke: The spelling checker isn't working with PDN ?
  5. EDIT: :oops: Oops ! Cross your eyes to read Christmas...
  6. Don't ask me how I did that... :oops:
  7. Ok Vercingetorix. You've got it... (Clermont-Ferrand 63000, Place de jaude) http://en.wikipedia.org/wiki/Vercingetorix
  8. 1.isolate the subject (lasso + madjik wand..) 2.copy it to new layer 3.1 play with Adjustment/Curves RGB 3.2 play with Adjustment/Curves Luminosity PS:He's not Paul Revere!
  9. Ok let's have a run for image transformation... Before... After... Bonus question : who's this guy ?
  10. fumes are following the particules... if particules are inside and fumes outside to me it is implosion!
  11. On a simple image (gradient + tile reflection), effect with last cde version:
  12. Yes I suggested that. This is an example. Choose the font and the size and mix the capital letters. Humm, I'm not an artist on this one :oops: !
  13. I'm playing around with the codelab to find an alternative to the sphere plugin. I want to have a cylinder effect. Just like the sphere but only on X axle or Y axle. For now this is where I am: void Render(Surface dst, Surface src, Rectangle rect) { float Radius = 0.250f; float XDiv = dst.Width; float YDiv = dst.Height; float XCoef = XDiv / 2.0f; float YCoef = YDiv / 2.0f; float Pi = (float)Math.PI; float XDecal = Pi / 2.0f; float YDecal = Pi / 2.0f; int mode = 2; // selection 0=X & Y, 1=X, 2 = Y for(int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { int srcX = (int)(XCoef + (Radius * XCoef * (Math.Tan(XDecal + (Pi * x / XDiv))))); int srcY = (int)(YCoef + (Radius * YCoef * (Math.Tan(YDecal + (Pi * y / YDiv))))); if(mode==0) dst[x, y] = src.GetBilinearSample(srcX,srcY); if(mode==1) dst[x, y] = src.GetBilinearSample(srcX,y); if(mode==2) dst[x, y] = src.GetBilinearSample(x,srcY); } } } Could someone check my formulas and help me to understand them? This effect doesn't refill the whole surface... Best way to test it is to create a gradient and apply a tile reflection effect. Then copy/paste the code to the codelab... Once this done, I'll create the GUI and DLL for the plugin! EDIT: Code last version: void Render(Surface dst, Surface src, Rectangle rect) { float Radius = 1f; float ImgTLx = dst.Width; float ImgTLy = dst.Height; float ImgHLx = ImgTLx / 2.0f; float ImgHLy = ImgTLy / 2.0f; float Pi = (float)Math.PI; int mode = 2; for(int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { float wX = (float)Radius *((Pi * x / ImgTLx) - (Pi / 2)); float wY = (float)Radius *((Pi * y / ImgTLy) - (Pi / 2)); int srcX = (int)(ImgHLx + (ImgHLx * (Math.Tan(wX)))); int srcY = (int)(ImgHLy + (ImgHLy * (Math.Tan(wY)))); if(mode==0) dst[x, y] = src.GetBilinearSample(srcX,srcY); if(mode==1) dst[x, y] = src.GetBilinearSample(srcX,y); if(mode==2) dst[x, y] = src.GetBilinearSample(x,srcY); } } }
  14. Did I missed something? Link 1 and link 2 give the same topic: Contest ONE. What is the difference between Round and Contest ? Where are the new pictures? How to subscribe for the next run?
  15. (Sorry if the request already placed, then mine is a new vote for it) Each time we want to apply an effect or a tool or adjustment with parameters a window is open (GUI) right on the middle of the image! To see how the effect is working, each time I have to move the window to the left or to the right to give me a better view on the image. It is more annoying with the codelab. I'm used to have two screens (in extended desktop). So I move the codelab windows on the second screen. And each time I have to resize it. Could we expect in a futur version to memorize position/size per windows?
×
×
  • Create New...