Jump to content
How to Install Plugins ×

Gradient Mapping


pyrochild

Recommended Posts

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?

Rostigalendapimp.png
Link to comment
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!

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

I have created an explanation of this plugin as a tutorial, here: viewtopic.php?f=15&t=20736&start=0&st=0&sk=t&sd=a

Need help? See if that can help you. :-)

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

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

Adam

"He is no fool who gives what he cannot keep to gain that which he cannot lose."

-Jim Elliot

John 3:36

Link to comment
Share on other sites

I keep telling him that...he just won't listen. :-)

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
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.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

  • 3 months later...

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.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
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)
------------------------------------------------------------------------------

Link to comment
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.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Thanks :D

LOVE the effect :D

wallpapersignaturezs5.png

Firefox is the best! So is Relient K!

~96% of teens won't stand up for God. Put this in your sig if you're one of the 4% who will.

I will give you a new heart and put a new spirit in you; I will remove from you your heart of stone and give you a heart of flesh. Ezekiel 36:26

Bye Paint.NET!

Link to comment
Share on other sites

  • 2 weeks later...

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:

Link to comment
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.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

  • 2 weeks later...

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

section8.png

psn id: R3V-fiR3

Link to comment
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.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
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

section8.png

psn id: R3V-fiR3

Link to comment
Share on other sites

  • 4 weeks later...

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

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

  • 1 year later...

I was trying to save a gradient but I got this instead . What exactly is the problem? It`s fine until I try saving the gradient.Is there a special folder needed by any chance?

pyrogradientmapcrash.jpg

 

 

Please feel free to visit my Gallery on PDNFans

And my Alternatives to PDN

Link to comment
Share on other sites

Do you have pyrochild.effects.common.dll? If so, make sure that both Gradient Mapping.dll and the common DLL are the latest versions.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
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.

×
×
  • Create New...