Jump to content


Photo

Gradient Mapping


  • Please log in to reply
113 replies to this topic

#1 pyrochild

pyrochild

    Plugin Author of the Year 2012

  • Administrators
  • 11,247 posts
  • LocationColorado
  • Reputation:132

Posted 04 October 2007 - 02:44 AM

:Save: Download from my plugin set :Save:

$


Tutorial by forum moderator David Atwell: The Wonderful World of Gradient Mapping

gradientmapping.jpg

This adjustment appears in the Adjustments menu. Amazing!
Adjustments > Gradient Mapping

Use this plugin to create a custom gradient and map it to your image based on any supported input channel. One of the primary uses of this plugin is to create a multi-colored gradient. Just use Paint.NET's built-in gradient tools to draw the gradient shape you want, then use this plugin to create your desired gradient.
gmex2.jpggmex.jpg

$

Posted Image
[I write plugins and stuff] [Follow my stupid brain on Twitter]

If you like a post, upvote it!


#2 david.atwell

david.atwell

    Former Moderator

  • Members
  • 627 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:18

Posted 04 October 2007 - 02:50 AM

Rock ON! :-) The locomotive that is Pyrochild just keeps chuggin' along...

Posted Image

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.


#3 pyrochild

pyrochild

    Plugin Author of the Year 2012

  • Administrators
  • 11,247 posts
  • LocationColorado
  • Reputation:132

Posted 04 October 2007 - 02:52 AM

So... I am a train now? ... weird...

Posted Image
[I write plugins and stuff] [Follow my stupid brain on Twitter]

If you like a post, upvote it!


#4 Ash

Ash

    Former Moderator

  • Members
  • 6,381 posts
  • Locationhttp://tinyurl.com/6kqz9v
  • Reputation:5

Posted 04 October 2007 - 03:57 AM

This will be very useful :)

Posted Image
All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]


#5 natjo1986

natjo1986
  • Members
  • 206 posts
  • LocationGeorgia, USA
  • Reputation:0

Posted 04 October 2007 - 05:35 AM

I like it. I'm creating some psychedelic looking things.
Posted Image

#6 Stephan

Stephan
  • Members
  • 1,050 posts
  • LocationThe Dutcherlands... Where windmills thrive, and cows graze. A lot.
  • Reputation:0

Posted 04 October 2007 - 06:00 AM

Funky :D I love it :P

Posted Image


#7 MiguelPereira

MiguelPereira
  • Members
  • 821 posts
  • LocationPortugal
  • Reputation:0

Posted 04 October 2007 - 08:57 AM

Omg Pyro is making PdN really funky

this is very good the actual manipulation of gradient colors. ehehehehehe

i've been playing around and made some.


ps: (sorry for the quoting Stephan)

Attached Files



#8 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 04 October 2007 - 11:28 AM

Good plugin!
Original:
Posted Image
Posted Image

After effect:
Posted Image
Posted Image

Thanks!

#9 Aron

Aron
  • Members
  • 169 posts
  • LocationThe Netherlands
  • Reputation:0

Posted 04 October 2007 - 01:09 PM

I can't realy figure out how it works... :?
could someone help?

#10 natjo1986

natjo1986
  • Members
  • 206 posts
  • LocationGeorgia, USA
  • Reputation:0

Posted 04 October 2007 - 01:36 PM

It kept crashing on me the first time I tried it. So I decided to reinstall it. Second time around I noticed that there was two dll's. Once I installed both of them it worked perfectly. I could be totally wrong though with what I'm swinging at. For all I know you are having troubles getting a gradient made.
Posted Image

#11 Aron

Aron
  • Members
  • 169 posts
  • LocationThe Netherlands
  • Reputation:0

Posted 04 October 2007 - 02:16 PM

i mean how do you get this effects:

Posted Image



#12 Helio

Helio
  • Members
  • 1,954 posts
  • LocationMichigan, USA
  • Reputation:1

Posted 04 October 2007 - 03:44 PM

What is the 'pyrochild.effects.common.dll'?

Anyway, I really like how this works! And I think it is great that you are including a Save and Load option with your latest plugins!

v An excellent open–source strategy game—highly recommended.
Posted Image

"I wish I had never been born," she said. "What are we born for?"
"For infinite happiness," said the Spirit. "You can step out into it at any moment..."


#13 usedHONDA

usedHONDA
  • Members
  • 5,738 posts
  • LocationOrlando, FL
  • Reputation:3

Posted 04 October 2007 - 07:10 PM

This'll be really useful for making fake heat index maps (among other things)! Great job!

"The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Ezra Pound

Posted Image

twtr | dA | tmblr | yt | fb


#14 Mr Frojo

Mr Frojo
  • Members
  • 2,118 posts
  • LocationColorado
  • Reputation:2

Posted 04 October 2007 - 08:58 PM

Ill definatly be using this a ton. Great job again.

I'm still alive!


#15 Blooper

Blooper
  • Members
  • 2,102 posts
  • Reputation:0

Posted 04 October 2007 - 10:04 PM

Awesome!
Now I'm going to check out what this does :lol:

#16 abc123qw

abc123qw
  • Members
  • 14 posts
  • Reputation:0

Posted 04 October 2007 - 11:42 PM

It wont show on my list...
uhhh Doggy!

#17 david.atwell

david.atwell

    Former Moderator

  • Members
  • 627 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:18

Posted 04 October 2007 - 11:49 PM

What is the 'pyrochild.effects.common.dll'?

Anyway, I really like how this works! And I think it is great that you are including a Save and Load option with your latest plugins!


The "common" dll is something he plans to use to make coding his upcoming plugins faster. Unless I'm wrong, it contains the code for things such as the save, load, UI, etc.

Where's the strikethrough when you need it? I was wrong. Pyro explains below. (made hard to read on purpose)

I can't realy figure out how it works... :?
could someone help?


First of all, take a look at the Source drop-down. When you select that, you're choosing which channel to pull the mapping data onto: each pixel has varying levels of Red, Cyan, Luminosity, etc. It takes that value from each pixel and "maps" it across the gradient you create at the top so that a pixel with more Luminosity in it, for example, will get more of the color you've chosen on the far right.

That's what I understand, at least. Someone can correct me if I'm wrong.

I was right, I was right! Do a little dance...make a little noise...get down tonight... :-) :-)

It wont show on my list...


Did you look in the Adjustments menu? That's where it is, not in Effects. :-) Other than that, make sure you've installed both .DLLs.

Posted Image

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.


#18 usedHONDA

usedHONDA
  • Members
  • 5,738 posts
  • LocationOrlando, FL
  • Reputation:3

Posted 05 October 2007 - 12:08 AM

It wont show on my list...

It's under the Adjustments menu

"The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Ezra Pound

Posted Image

twtr | dA | tmblr | yt | fb


#19 abc123qw

abc123qw
  • Members
  • 14 posts
  • Reputation:0

Posted 05 October 2007 - 01:03 AM

oh thats where it is thanks
uhhh Doggy!

#20 pyrochild

pyrochild

    Plugin Author of the Year 2012

  • Administrators
  • 11,247 posts
  • LocationColorado
  • Reputation:132

Posted 05 October 2007 - 01:15 AM

What is the 'pyrochild.effects.common.dll'?

Anyway, I really like how this works! And I think it is great that you are including a Save and Load option with your latest plugins!


The "common" dll is something he plans to use to make coding his upcoming plugins faster. Unless I'm wrong, it contains the code for things such as the save, load, UI, etc.

Nope, the common.dll contains the Gradient control that I wrote, as well as the associated gradient object that the control pulls the information from. It also contains a Color object that I wrote to more easily and efficiently load each channel of data from a pixel. I plan on using that last one whenever I get around to working on the next version of Curves+. It will clean up the code immensely.

I can't realy figure out how it works... :?
could someone help?


First of all, take a look at the Source drop-down. When you select that, you're choosing which channel to pull the mapping data onto: each pixel has varying levels of Red, Cyan, Luminosity, etc. It takes that value from each pixel and "maps" it across the gradient you create at the top so that a pixel with more Luminosity in it, for example, will get more of the color you've chosen on the far right.

That's what I understand, at least. Someone can correct me if I'm wrong.

That one you got right ;)

Posted Image
[I write plugins and stuff] [Follow my stupid brain on Twitter]

If you like a post, upvote it!