Sign in to follow this  
pyrochild

Gradient Mapping

Recommended Posts

Sticky...?

I think at the moment we have to many sticky things in the plugin section... For example, why is DDS still sticky? It has been integrated in PDN... I mean, the sticky'd things should help to find important, popular things faster and especially the DDS support is nothing anymore to download (I don't say it's bad, I say it's nothing what you have to download). So all the sticky things should be cleaned up. Gradient Mapping might then be a candidate for a sticky, of course.

Share this post


Link to post
Share on other sites

Er...call me dumb, but I do not know how I change the colors of the gradients (like in the screenshot in the first post). I have yet to find a way how to add 'em...could someone please explain?

Share this post


Link to post
Share on other sites

Just right-click where you want the color to appear and click "Add Color." After you have them all there, you can right-click again and hit "Spread Colors", which spaces them evenly across the gradient.

Hope this helps!

Share this post


Link to post
Share on other sites

added a link to david.atwell's tutorial to the topic post.

Any idea if this plugin will incorporate alpha/transparency into the choice for colors for the gradient bar in future?

Adam

eventually.

Share this post


Link to post
Share on other sites

Updated to v2.0.

What's new in version 2.0?=========

-New feature: uses a color dialog like Paint.NET's so you can choose alpha values for your colors.

-Fixed a bug where when you added a new color, there would be weird transparent spots in the image

-Fixed structure of saved XML files

-Added details to error messages when saving/loading

-Fixed a bug where if you moved a nub too fast across other nubs, sometimes the one you were moving would be dropped and replaced with a different one.

-GUI: if 2 nubs are very close to each other or on top of each other, one of them will get larger so you can more easily see/select the correct one.

-GUI: you can horizontally resize the dialog for greater precision.

Share this post


Link to post
Share on other sites

Crash(attached)

Exception details:
System.TypeLoadException: Could not load type 'PaintDotNet.EventArgs`1' from assembly 'PaintDotNet.Base, Version=3.22.2933.24440, Culture=neutral, PublicKeyToken=null'.
  at PaintDotNet.ColorsForm.InitializeComponent()
  at PaintDotNet.ColorsForm..ctor()
  at pyrochild.effects.common.ColorsDialog..ctor(Boolean UseTwoColors)
  at pyrochild.effects.common.GradientControl.AddColor()
  at pyrochild.effects.common.GradientControl.addColorToolStripMenuItem_Click(Object sender, EventArgs e)
  at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
  at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ToolStrip.WndProc(Message& m)
  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------

Share this post


Link to post
Share on other sites
Crash(attached)

BLAST! I built the pyrochild.effects.common.dll against the wrong version of PaintDotNet.Base.dll and PaintDotNet.Core.dll...

Fixed - redownload.

Share this post


Link to post
Share on other sites

What folder are we supposed to put it in? I put in the effects folder(it got put in the Adjustments window) and whenever I tried to use it I got this error:

"This plugin has encountered an error, and must be closed.

Because of the unpredictable nature of these types of errors, it is strongly recommended that you close Paint.NET before proceeding. Otherwise, the could be further stabillity problems and data corruption.

[button 1] Restart Paint.NET (recommended)

[button 2] Do not restart Paint.NET (not recommended)"

I tried restarting, but I just go the same error. Help? :mrgreen:

Share this post


Link to post
Share on other sites

Yes, this plugin does not currently work in 3.30 beta.

If you're using 3.22, make sure that you put both of the files from the ZIp into the Effects directory. It requires both.

Share this post


Link to post
Share on other sites

i think i did somthing wrong to this :shock:

File: C:\Program Files\Paint.NET\Effects\Gradient Mapping.dll
     Effect Name: pyrochild.effects.gradientmapping.GradientMapping
     Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.TypeLoadException: Could not load type 'pyrochild.effects.common.Color' from assembly 'pyrochild.effects.common, Version=2.0.2975.36871, Culture=neutral, PublicKeyToken=null'.
  at pyrochild.effects.gradientmapping.UnaryPixelOps.GradientMap.Apply(ColorBgra color)
  at PaintDotNet.UnaryPixelOp.Apply(ColorBgra* dst, ColorBgra* src, Int32 length)
  at PaintDotNet.UnaryPixelOp.Apply(Surface dst, Surface src, Rectangle roi)
  at pyrochild.effects.gradientmapping.GradientMapping.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length)
  at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction()
  --- End of inner exception stack trace ---
  at PaintDotNet.Effects.BackgroundEffectRenderer.Join()
  at PaintDotNet.Effects.BackgroundEffectRenderer.Abort()
  at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)

i tried to recoulour somthing and when i clicked on gradient map it said somthin happened and stuffs and then i clicked on view in detail and now i have this :shock: i think it may have somthing to do with the pyrochile.effects.common :D

Share this post


Link to post
Share on other sites

You have the wrong version of pyrochild.effects.common.dll. Or you don't have it at all. Either way, just grab the latest version either from Gradient Mapping's file, or from my complete plugin set.

Share this post


Link to post
Share on other sites
You have the wrong version of pyrochild.effects.common.dll. Or you don't have it at all. Either way, just grab the latest version either from Gradient Mapping's file, or from my complete plugin set.

thanks i knew it had somthing to do with it but im sure that i had the newest version...oh well ill just get the plugin pack :D

Share this post


Link to post
Share on other sites

Updates:

Gradient Mapping 2.2:

-Fixed: compatibility for Paint.NET 3.30

-Fixed: Some random bloody potato that I can't recall at the moment. :roll:

pyrochild.effects.common 2.0:

-compatibility for Paint.NET 3.30

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this