Jump to content

Asmageddon Prince

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by Asmageddon Prince

  1. Sorry, but I cannot fix them, because I`m using CodeLab.

    I haven`t got anything other.But I like programming, so when I got paint.NET I downloaded CodeLab. All tgese plugins are around 3 weeks of my everyday work, and when I was doing them for fun, not for other people.I never programmed in C# before.

    Only very little in Borland RAD program in C++ language.

    Maybe can you point me to some site with good program, and maybe some kind of a tutorial :?:

    Then I`ll try to fix the problems.

  2. The error in every plugin, that you was saying about is because EVERY of this plugins is made in CodeLab.

    And it happens on Multi-Core processors only.Just run Task Manager by pressing Ctrl+Alt+Delete,and set Paint .NET process to be executed on one core only.

    Ahh, I added few new effects, and put in .ZIP file.Their source is also avaiable.

    Enjoy!

  3. Fixed all known errors:
    Now all of the plugins work correct on Multi-Core processors.
    Fixed an errors in Color Percentage

    Alpha works - Add/Substract,set percentage and contrast of alpha channel.
    Channel Blur - That doesn`t work good,better don`t use..
    Channel multiplier - Works best on colorfull images, makes strange colors.
    Channel shift - Smilliar to panneling, but for a single channel.
    Channel works+ - Contrast and percentage of single channel.
    Color percentage+ - Sets percentage value of all channels.(-100=inversion)
    From P to S - I don`t know how to describe it, but it is based on Primary and secondary color.
    From P to S simple- The same thing, but two color only.
    HSV inversion - inverts Hue saturation or Value. Sometimes works strange.
    Hue(Red <--->Psychodelic) - In reality it just multiplies Hue
    Hue channeling multiply - multiplies Hue by Red, Green and Blue values
    Image coder - Codes image (Look out, there is no decoder)
    Inverto pushing plus - Best to use Layer-Rotate/Zoom after this
    Inverto-pushing - previous version of this effect, with no tiling
    Multiplo Uniqua - makes strange colors?
    P&S Mega - Based on Primary and secondary color, previous version of From P to S
    P&S Only - Makes image two colors-Primary and secondary
    Quadro disorter - Breaks image into sharp pieces and scatters them
    Quadro disorter B - Smilliar to Quadro disorter, but a bit another
    Render-Border - Makes a border, best to create on new layer, then blur it

    Render-Quadro Bumperoo \
    Render-Quadro inverto >---Smilliar effects, makes sharp image.
    Render-Quadro Sharper /

    Sinusoid shaking - Sorry for stupid name, it makes waves.
    Water - Makes something like water, but not exactly right

    Strange Bulger - Makes Strange Looking bulge 
    Strange Bulger B - A bit other   

    Channel tricks - Flip,invert and other tricks on R,G or B channel

    Inverto pushing caleidoscope
    Strange Bulger caleidoscope
    Disortion effects, best on textures, smilliar to Polar Inversion.

     

    v3 plugins source.zip

    v3 effects.zip

     

  4. I really think, that you should update this plugin, for me this is the best plugin ever made by anyone.

    Can`t you please make changes like this:

    int Amount1=0;	//[0,100]Slider 1 Description
    int Amount2=0;	//[0,100]Slider 2 Description
    int Amount3=0;	//[0,100]Slider 3 Description
    int BoxesNumber=4;
    void Render(Surface dst, Surface src, Rectangle rect)
    {
       PdnRegion selectionRegion = EnvironmentParameters.GetSelection(src.Bounds);
    
       // Delete any of these lines you don't need
       Rectangle selection = this.EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt();
    
       long CenterX = (long)(((selection.Right - selection.Left) / 2)+selection.Left);
       long CenterY = (long)(((selection.Bottom - selection.Top) / 2)+selection.Top);
       ColorBgra PrimaryColor = (ColorBgra)EnvironmentParameters.PrimaryColor;
       ColorBgra SecondaryColor = (ColorBgra)EnvironmentParameters.SecondaryColor;
       int BrushWidth = (int)EnvironmentParameters.BrushWidth;
    
       ColorBgra CurrentPixel;
       for(int y = rect.Top; y < rect.Bottom; y++)
       {
           for (int x = rect.Left; x < rect.Right; x++)
           {
               if (selectionRegion.IsVisible(x, y))
               {
                   CurrentPixel = src[x,y];
                   // TODO: Add pixel processing code here
                   // Access RGBA values this way, for example:
                   // CurrentPixel.R = (byte)PrimaryColor.R;
                   // CurrentPixel.G = (byte)PrimaryColor.G;
                   // CurrentPixel.B = (byte)PrimaryColor.B;
                   // CurrentPixel.A = (byte)PrimaryColor.A;
                   // if(CheckBox[1]){CurrentPixel.R=CurrentPixel.G;}
                   // if(CheckBox[2]){CurrentPixel.G=CurrentPixel.B;}
                   // if(CheckBox[3]){CurrentPixel.B=CurrentPixel.R;}
                   dst[x,y] = CurrentPixel;
               }
           }
       }
    }
    

    and in variable BoxesNumber will be number of checkboxes to create

    in array CheckBox[] would be stored state of checkboxes, that would be created for Plugin when you will choose "Make DLL" button.

    You must listen to me! I beg you!

×
×
  • Create New...