Jump to content

Sakana Oji

Members
  • Posts

    118
  • Joined

  • Last visited

Posts posted by Sakana Oji

  1. I made a Korean version:

    swipda-button.png

    As you may have noticed, I didn't do steps 25 to 31 because I didn't know how to align the bevel shading. Some help would be appreciated.

  2. I have recently created another plugin called "Glitterific"! It adds a lovely glittery effect to your picture.

     

    Below is an example to show what the plugin looks like:

    glitterific1.png

     

    Below is the plugin GUI:

    glitterific-gui.png

    "Translucent to Solid" determines how see-through or opaque the glitter is; in other words, it controls the noise intensity.

    "Vividness" controls the saturation of the glitter's color.

    "Glue Ratio" is just another word I made up for "Coverage". (I've been trying to give some unique fancy names to the noise settings, don't give me the look!) It determines how much glitter there is stuck to the picture.

     

    Here are more examples using the plugin at different settings:

    glitterific2.png

    (Oops, I spelled "default" wrong! Sorry about that)

     

    Download the plugin here: Glitterific.zip

     

    Let's see what you think of my plugin - I think it's pretty neat, huh?

  3. Okay here's my real actual code that I first worked on (not recreated):

     

    // Name: Crayon
    // Submenu: Artistic
    // Author: Sakana Oji
    // Title: Crayon
    // Desc: Gives the image a crayon effect
    // Keywords: crayon artistic
    // URL:
    // Help:
    #region UICode
    DoubleSliderControl Amount1 = 3; // [0,10] Thickness
    DoubleSliderControl Amount2 = 0; // [0,200] Minimum Scatter Radius
    IntSliderControl Amount3 = 2; // [1,8] Quality
    IntSliderControl Amount4=1; // [1,5] Radius
    IntSliderControl Amount5=10; // [0,100] Percentile
    #endregion
    
    
    // Here is the main render loop function
    void Render(Surface dst, Surface src, Rectangle rect)
    {
        // Setup for calling the Frosted Glass effect
        FrostedGlassEffect frostedEffect = new FrostedGlassEffect();
        PropertyCollection frostedProps;
        // Call the Frosted Glass function
        frostedEffect.Render(new Rectangle[1] { rect }, 0, 1); 
        
        // Adjust median
        MedianEffect medianEffect = new MedianEffect();
        PropertyCollection medianProps = medianEffect.CreatePropertyCollection();
        PropertyBasedEffectConfigToken medianParameters = new PropertyBasedEffectConfigToken(medianProps);
        medianParameters.SetPropertyValue(MedianEffect.PropertyNames.Radius, Amount4);
        medianParameters.SetPropertyValue(MedianEffect.PropertyNames.Percentile, Amount5);
        medianEffect.SetRenderInfo(medianParameters, new RenderArgs(dst), new RenderArgs(dst));
        // Call the Median function
        medianEffect.Render(new Rectangle[1] {rect},0,1);
    
    }
    
    
×
×
  • Create New...