Jump to content

BoltBait

Administrator
  • Posts

    15,728
  • Joined

  • Last visited

  • Days Won

    405

Everything posted by BoltBait

  1. Well... the code does not exist in a separate file, but you can go to my site: http://boltbait.googlepages.com/codelab and download the VS2005 source code to CodeLab. You can look through it and find the code. It is located in several constant strings that get prepended and appended to your code before it is sent on to the compiler. To get an idea of what a full project looks like, look at the source posted here: http://paintdotnet.12.forumer.com/viewtopic.php?t=4085 This is my Ink Sketch effect. It is not a CodeLab script, so you can look at it and see what the differences are... Let me know if I can answer any more questions.
  2. Really? You must have some super secret version of MS Paint... I'll call BS on that claim.
  3. The place to show off your work is called "The Pictorium". It is located at the top of this forum. Closed. Oh, and welcome to the PDN forums. Don't take this thread closure personally.
  4. Down, your sig is too big. Please read the rules: http://paintdotnet.12.forumer.com/viewtopic.php?t=3446 If you're going to use more than one image in your sig, they ALL have to fit together within the guidelines.
  5. 2) can be done in 2 steps: (a) Adjustments > Black and White ( Adjustments > Color Balance - adjust for desired color. Of course, you need the color balance effect for that. 3) can also be done in 2 steps: (a) put your image on a new layer above the white background layer ( select your picture layer and press F4, adjust the layer opacity slider for desired effect. Why make effects for simple things? EDIT: OK, I need to learn to type faster...
  6. The reason is this... There is much more script than meets the eye. Basically, to compile what you write (only the Render function) it needs to be surrounded with lots of extra code. But, there is no reason to show you that code--that's my responsibility. But, when the compiler returns error messages during a compile, it takes those lines into account. Therefore your code starts on line 13 (or so, based on your options).
  7. If you double-click on an error message in the error message box, it will highlight the error in your code and scroll to it.
  8. I can't read rar files and am too lazy to go find a program that can do it... So, post your codelab script here in a [script] block.
  9. Why start with such a huge project to learn .net programming? There must be better (smaller) programs you could use. Many areas of Paint.NET are optimized for speed... which makes them hard to understand. And, I'm not sure Rick knows how to insert comments into his code...
  10. Once text is committed to the canvas it becomes a bitmap. So, no, you can not edit text.
  11. Click the following menu: Window > Reset Window Locations You can see a nice picture of the menu in the previous post.
  12. MadJik, sure, you are using clipping, but I do not believe you are using it correctly. You are clipping to your selection not to your ROI. Remember, your render routine is being passed in an ARRAY of rectangles of interest (ROI). You are not processing through all of them. As you do, you need to clip to each one of them as you are rendering the image.
  13. I believe he's talking about Ctrl-Clicking the Layer name in the layer docker to do the same function as Helio suggested. Personally, I could go either way on this. I don't do it very often. When I have an object on a layer, I usually work with the layer as a whole.
  14. A quick look at your example image tells me that you are probably not clipping your output string to the ROI. I would recommend studying the source code I wrote for the Polygon plugin. Once you understand it, you should be able to easily write your plugin. http://paintdotnet.12.forumer.com/viewtopic.php?t=2580 (Look near the bottom of my first post for the section called Source Code. The VS2005 code includes some comments that sould help you.) You may also want to study the composition technique used in my Ink Sketch plugin (search the plugin forum for the post, the source code is included). You'll probably want to Black and White (desaturate) the image and adjust the image's brightness (adjustable) and contrast (100%) before attempting to convert to ASCII. As for the overlay problem, I believe that the destination canvas already contains a copy of the source canvas when your effect starts. Hope this stuff helps you. Let me know if I can answer any more questions. BTW, I had considered making one of these plugins myself, but before I wrote Polyogn and Ink Sketch I didn't have the proper knowledge yet. I have a small ASCII art page here: http://www.geocities.com/boltbaits/ascii_art/index.html
  15. You might want to play with the Gradient plugin: http://paintdotnet.12.forumer.com/viewtopic.php?t=2294 It allows for HSV and HSV Long fade types which create more vibrant fades. Plus, the source code is there so you can modify it for your own purposes! (Just be sure you publish your changes so we can all learn from them.)
  16. Thanks for your feedback, but I am not going to update this plugin. Rick has already stated that he will be including the ability to draw arrow heads in the next release of Paint.NET. The purpose of this plugin is two fold: 1) to get you through until the next release and 2) allow me to learn how to draw anti-aliased lines. I know its not perfect. But, as I said, it is not meant to be the perfect line drawer... that's Rick's job.
  17. Next time just post your image in the pictorium. It is a sticky thread at the top of the General discussion forum.
  18. I view this as a critical component to the plugin pack.
  19. Rainshadow, you better wipe that up before it warps the wood. Ha ha! Don't include me in that list. CMD, Jake2K. and MadJik actually have talent whereas I simply suck. Oh, sure, I can write plugins, but that is a far cry from being able to actually make something beautiful with PdN.
  20. Rory, your sig is HUGE at 577x409. Rule #13 states that graphical sigs should be no bigger than 500x100. http://paintdotnet.12.forumer.com/viewtopic.php?t=3446 Please resize your sig. Thanks.
  21. This is because the CodeLab that Tom wrote is no longer compatible with Paint.NET. (Paint.NET version 3.05 made a critical change that broke CodeLab.) If you want to continue using CodeLab, simply upgrade your CodeLab to the one I wrote. You can download it here: http://boltbait.googlepages.com/codelab
  22. From another thread... I'm learning too, so I would much appreciate to see the source, for my self learning! MadJik, I have added the Ink Sketch souce code to the first post. Enjoy.
  23. As you can see from Helio's example, not every picture is a good candidate for this plugin. I'm learning too, so I would much appreciate to see the source, for my self learning! I don't know... every time I post my souce code, you take it, learn from it, and totally show me up by writing a better plugin than me!!! Maybe I'll post the source after I write that Landscape plugin.
  24. Heh. No hate at all! I absolutely love the work. I just don't want you to get into trouble.
×
×
  • Create New...