Jump to content

BoltBait

Administrator
  • Posts

    15,730
  • Joined

  • Last visited

  • Days Won

    405

Everything posted by BoltBait

  1. Try this one: https://forums.getpaint.net/topic/15386-metallize
  2. That's why I said... So, upgrade your Paint.NET to THIS version and you're good to go!
  3. I was just working in Paint.NET 3.5.11* and I checked for updates... it offered to install this version. So, I did. Worked like a charm. *Don't ask
  4. I'm totally NOT offended. Suggest away! (We're both interested, seriously!) When we make changes to CodeLab, we do it with the goal of making CodeLab easier to use... not harder. Many of the improvements we've made have come from user's suggestions.
  5. That's what the File > New templates are for. Seriously.
  6. Paint.NET is an RGB editor. It allows you to choose colors based on the HSV color space as a convenience. However, it is not an HSV editor. There is no direct exact conversion between HSV and RGB color spaces. Therefore, if you choose a color by HSV you might be off by one the next time you use that color. This is a normal thing. If you want more precise color choosing, use the RGB values when specifying a color.
  7. Once you finalize a line or shape, it becomes pixels and is no longer a shape. Remember, Paint.NET is a pixel editor (raster editor) not a shape editor (vector editor). If you're looking for a vector editor, try InkScape.
  8. In PreRender() do it this way: wrk.CopySurface(src); In Render() do it this way: dst.CopySurface(src,rect.Location,rect);
  9. Read the bottom of this page: https://boltbait.com/pdn/codelab/help/uielements.php
  10. As I said, it is on the same page in a section called "Bonus"... the download link is there.
  11. Nope, sorry, this is not possible. As an explanation, I can just say the code to plugins was written YEARS before the code to load shapes... so it doesn't have all the features of the newer code. Rick may get around to adding that capability eventually, but don't hold your breath waiting--there are MANY more interesting features ahead of it on the list.
  12. Here is some source code showing how to do it: https://forums.getpaint.net/topic/111330-unfinished-plugins/?do=findComment&comment=543199
  13. Rick has already stated his vision for Paint.NET. If you don’t like the way it is implemented, you are free to use any other software you like.
  14. It looks to me like this graphic file is used in a game. Many times game engines use TGA files alpha channel for something other than alpha it’s self. That’s probably what’s going on here.
  15. It is here: https://forums.getpaint.net/topic/8318-boltbaits-plugin-pack-for-v3511-updated-january-31-2015/ below the download for the installer, in a section called Bonus.
  16. I gave you a link to download my plugin pack for 3.5.11... did you do that yet?
  17. No. Older versions of the OS simply don't have the built-in components required to run the newer versions of Paint.NET. Sounds like it is time for you to upgrade.
  18. If you're looking for my plugins for Paint.NET v3.5.11, look here: https://forums.getpaint.net/topic/8318-boltbaits-plugin-pack-for-v3511-updated-january-31-2015/ After installing that pack, you can install this plugin for Text: https://forums.getpaint.net/topic/115953-creative-text-pro-v11-by-boltbait-and-welshblue-updated-february-16-2020/page/2/?tab=comments#comment-568881
  19. Sorry, that version of Paint.NET doesn't include support for shapes.
  20. You're talking about the one in my plugin pack. Just to let you know, I fixed that problem a long time ago. Update to my latest pack and see if you like it better.
  21. OP, try this CodeLab script: // Name: Blur Corner // Author: BoltBait // Version: 1.0 #region UICode IntSliderControl Amount1 = 70; // [0,100] Gaussian Blur Radius IntSliderControl TopPercent = 20; // [0,100] Blur Top Percent IntSliderControl RightPercent = 20; // [0,100] Blur Right Percent #endregion // Setup for calling the Gaussian Blur effect GaussianBlurEffect gaussianblurEffect = new GaussianBlurEffect(); PropertyCollection gaussianblurProps; protected override void OnDispose(bool disposing) { if (disposing) { // Release any surfaces or effects you've created if (gaussianblurEffect != null) gaussianblurEffect.Dispose(); gaussianblurEffect = null; } base.OnDispose(disposing); } // This single-threaded function is called after the UI changes and before the Render function is called // The purpose is to prepare anything you'll need in the Render function void PreRender(Surface dst, Surface src) { // Gaussian Blur gaussianblurEffect.EnvironmentParameters = EnvironmentParameters; gaussianblurProps = gaussianblurEffect.CreatePropertyCollection(); PropertyBasedEffectConfigToken gaussianblurParameters = new PropertyBasedEffectConfigToken(gaussianblurProps); gaussianblurParameters.SetPropertyValue(GaussianBlurEffect.PropertyNames.Radius, Amount1); gaussianblurEffect.SetRenderInfo(gaussianblurParameters, new RenderArgs(dst), new RenderArgs(src)); } // Here is the main multi-threaded render function // The dst canvas is broken up into rectangles and // your job is to write to each pixel of that rectangle void Render(Surface dst, Surface src, Rectangle rect) { // Now call the Gaussian Blur function from src surface to dst surface gaussianblurEffect.Render(new Rectangle[1] {rect},0,1); // Step through each row of the current rectangle for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; // Step through each pixel on the current row of the rectangle for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = dst[x,y]; ColorBgra SourcePixel = src[x,y]; if ((x < src.Width * (100-RightPercent) / 100) && (y > src.Height * TopPercent / 100)) { CurrentPixel = SourcePixel; } dst[x,y] = CurrentPixel; } } }
  22. You are typing words. The words have meaning. However, the sentences do not. Please help me understand... maybe post a picture?
  23. That's why I said... Rick has not published the official Paint.NET v4.2.11 to the store yet. @welshblue, I expect to see some tutorials from you on how to use this to create 3D extruded text.
×
×
  • Create New...