Jump to content

BoltBait

Administrator
  • Posts

    15,651
  • Joined

  • Last visited

  • Days Won

    390

Everything posted by BoltBait

  1. Is it necessary to create them yourself? I'm a big fan of just going to Google Image Search and copy-and-paste a nice looking cloud.
  2. Thanks. Here ya go... // Name: Remove Black Dust // Submenu: Photo // Author: BoltBait // URL: http://BoltBait.com/pdn private UserBlendOps.LightenBlendOp lightenOp = new UserBlendOps.LightenBlendOp(); void Render(Surface dst, Surface src, Rectangle rect) { for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = src[x,y]; if (x>0) CurrentPixel = src[x-1,y]; CurrentPixel = lightenOp.Apply(src[x,y], CurrentPixel); dst[x,y] = CurrentPixel; } } }
  3. If people keep making improved versions of the plugins in my pack, what will be left in my pack to download?
  4. Also, could it have to do with the layer you're working on having a blending mode set? Some blending modes can give interesting results.
  5. Paint.NET runs on the RGB color space, not HSV. HSV is provided as a convenience. But, any time you use an HSV color it gets converted into RGB before being used. There is not a perfect conversion between HSV and RGB. So, sometimes slight errors are introduced. If you want totally consistent colors in Paint.NET, use RGB colors instead.
  6. Can you test with a CodeLab script like this: void Render(Surface dst, Surface src, Rectangle rect) { for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { dst[x,y] = ColorBgra.Red; } } } I'd like to know if after selecting the entire canvas and running the effect there are any uncolored pixels along the edge.
  7. The width of a selection will never equal the index of a zero based array.
  8. Why would you assume that "roi.Right == base.SrcArgs.Width"? This is never guaranteed. You only know that your render function is fed a list of rectangles that covers the entire selected area. No promise is made that you'll receive a specific number of ROI's or that ROI's will be a specific size. The only thing you know for sure is that if you combine them all together they will completely cover the selected region.
  9. Are you sure you didn't make the mistake of thinking the rectangle array was 1 based instead of 0 based?
  10. Easy. Click: http://boltbait.com/pdn/CodeLab/help/tutorial4.php Scroll down to 'Marching Ants / Selection'. Read. Donate.
  11. I think it rules because of its tall "lower case 'x' height". I really like it. It is very easy to read.
  12. When designing an effect, here is a good list to keep in mind: What you can and can't do in effects Hope this helps.
  13. Congrats on the million views. That made me look at my thread's views and I've got over half a million. *shocked*
  14. Download an LED font from dafont.com? Here are some... http://www.dafont.com/search.php?q=led&page=1
  15. See, that's the thing. OpenGL doesn't use the Alpha channel as alpha. I believe they use it as a height map... or some such non-standard usage.
  16. If you have my plugin pack installed, you can accomplish what you want this way: 1. Select the area you want to fill 2. Select the color C0C0C0, alpha > 0 (255 for example) 3. Press Backspace key to fill the selected area 4. Run the Adjustments > Transparency effect and move the slider all the way to transparent Result: your selected area is filled with color C0C0C0, alpha = 0. Just don't expect the color information to remain once you save the file. After all, alpha 0 means the color information is undefined. Better if you can keep the alpha level at 1 instead of 0.
  17. Like this: http://forums.getpaint.net/index.php?showtopic=10020
  18. Then they are not using those files in a standard way. According to the standard, if alpha is 0 then R, G, and B are undefined. If OpenGL wants to use that data they should define their own graphics format. You really can't fault Paint.NET for following the standard in this case.
  19. Show us a sample and I'm sure someone can help you.
  20. Why are you putting the developer's name before the effect name? EDIT: Verdana looks so much better than Arial.
  21. Without telling us why you think your images are not professional, I'll just offer this general advice: Always use Polar Inversion.
×
×
  • Create New...