Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: Color ramp generator for Dawnbringer 32 palette Post Reply Post New Topic
Author Message
Lendrick
Midshipman
Midshipman


Joined: 12 October 2008
Online Status: Offline
Posts: 71
Quote Lendrick Replybullet Topic: Color ramp generator for Dawnbringer 32 palette
    Posted: 17 December 2013 at 11:36pm
I've always been kind of bad at coming up with color ramps, so I thought I'd use what I know mathematically about color and lighting to build an online color ramp generator that makes them for me.  You can find it at the link here:

http://static.opengameart.org/gradientifier/

The way it works is that you select three colors:

* The color of the object being lit
* A highlight color
* An ambient color (which determines the color of shadows)

You also select the reflectivity of your object.  A perfectly reflective object is like a mirror, and has no color of its own.

As you change the color and reflectivity values, a preview image will be updated on the fly to show you what your gradient will look like when in use.  The gradient will always use colors from the Dawnbringer 32 color palette (other palettes may be added later if people like this tool).  It will avoid duplicate colors and do its best to make sure the gradient is sorted by luminosity.

Anyway, it probably makes more sense if you just mess around with it, so let me know what people think, and if there's anything that would be useful to add to it.

Bart
http://opengameart.org



Note: The original design that I'm using in this preview image is by Surt, and can be found here:

http://opengameart.org/content/puhzil


Edited by Lendrick - 18 December 2013 at 11:32am
http://opengameart.org
Free, legal art for Open Source game projects.
IP IP Logged
jalonso
Admiral
Admiral
Avatar

Joined: 29 November 2022
Online Status: Offline
Posts: 13537
Quote jalonso Replybullet Posted: 18 December 2013 at 5:41am
neat.
Submit as a link in the gallery :)
IP IP Logged
Lendrick
Midshipman
Midshipman


Joined: 12 October 2008
Online Status: Offline
Posts: 71
Quote Lendrick Replybullet Posted: 18 December 2013 at 9:49am
Just an FYI for people who looked at this earlier, I've added a couple of new sliders to help create more dramatic lighting effects.

Examples:
* Green grass on a sunny day
* The same color on an overcast day
* The same color by moonlight
* The same color under a bright fluorescent light


Edited by Lendrick - 18 December 2013 at 10:26am
http://opengameart.org
Free, legal art for Open Source game projects.
IP IP Logged
Muxaun
Commander
Commander
Avatar

Joined: 25 November 2018
Online Status: Offline
Posts: 105
Quote Muxaun Replybullet Posted: 18 December 2013 at 4:39pm
That is awesome. I have problems with hihgh specular/diffuse values and this tool may provide a good starting point for creating a palette.
IP IP Logged
skittle
Commander
Commander
Avatar

Joined: 20 July 2021
Online Status: Offline
Posts: 350
Quote skittle Replybullet Posted: 18 December 2013 at 5:06pm
Whoa, this is great! Gonna definitely keep tabs on this.
IP IP Logged
Lendrick
Midshipman
Midshipman


Joined: 12 October 2008
Online Status: Offline
Posts: 71
Quote Lendrick Replybullet Posted: 21 December 2013 at 10:41am
I've made some pretty major improvements.  Check out the rainbow version, here:

http://static.opengameart.org/gradientifier/rainbow.html

It allows you to generate and adjust the lighting conditions on a bunch of different ramps at once, and produces a nice swatch image.  You can adjust individual colors in the rainbow by clicking on them.
http://opengameart.org
Free, legal art for Open Source game projects.
IP IP Logged
Whisper Heart
Seaman
Seaman
Avatar

Joined: 04 December 2020
Online Status: Offline
Posts: 36
Quote Whisper Heart Replybullet Posted: 22 December 2013 at 5:28am
It's just life hack! Pretty useful thing!
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum