Are pure primary colors ever useful in a color ramp?

A place for your artistic side. Discuss techniques and tools for pixel art on the NES, GBC, or similar platforms.

Moderator: Moderators

psycopathicteen
Posts: 3140
Joined: Wed May 19, 2010 6:12 pm

Are pure primary colors ever useful in a color ramp?

Post by psycopathicteen »

It seems like trying to fit a perfect 255,0,0 red, or 255,255,0 yellow into a smooth color ramp, is well, a lot harder than it looks. Is it possible to make a ramp that does not look uneven?
User avatar
rainwarrior
Posts: 8732
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Are pure primary colors ever useful in a color ramp?

Post by rainwarrior »

Maybe try to use an exponential curve between them instead of a linear blend? e.g. gamma correct blending
User avatar
Alp
Posts: 223
Joined: Mon Oct 06, 2014 12:37 am

Re: Are pure primary colors ever useful in a color ramp?

Post by Alp »

psycopathicteen wrote:It seems like trying to fit a perfect 255,0,0 red, or 255,255,0 yellow into a smooth color ramp, is well, a lot harder than it looks. Is it possible to make a ramp that does not look uneven?
Sure they can! Primary colors can be used as a nice ramp between separate color ranges.
At least, that's what I've used them for.

(...I can't seem to find the palette I had figured out, from 2 years ago. :|)

If you're serious about figuring things out, try for all 4 primaries: red, blue, green, yellow.
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Re: Are pure primary colors ever useful in a color ramp?

Post by ccovell »

Alp wrote:...all 4 primaries: red, blue, green, yellow.
:|
Assuming these are primaries, how could these be all of them?
psycopathicteen
Posts: 3140
Joined: Wed May 19, 2010 6:12 pm

Re: Are pure primary colors ever useful in a color ramp?

Post by psycopathicteen »

ccovell wrote:
Alp wrote:...all 4 primaries: red, blue, green, yellow.
:|
Assuming these are primaries, how could these be all of them?
For the sake of this thread I'm including magenta and cyan as primary colors too, since they're at the corners of the color cube.

BTW, I'm not sure if people know what I'm talking about. I'm not talking about making a color ramp between primary colors. I'm talking about shadow/highlight gradients of a primary color. It tends to look better if the middle shade is slightly darker or lighter than the fully saturated color. From my experience, secondary colors like orange and blue-violet are easier to fully saturate without looking weird in a shadow/highlight ramp.
psycopathicteen
Posts: 3140
Joined: Wed May 19, 2010 6:12 pm

Re: Are pure primary colors ever useful in a color ramp?

Post by psycopathicteen »

I just remembered something. My LCD screen looks different depending on the angle, so that could be the reason why pure primary colors tend to pop out too much. If I make them look good at one angle, they would look disjointed at other viewing angles.
User avatar
Drew Sebastino
Formerly Espozo
Posts: 3496
Joined: Mon Sep 15, 2014 4:35 pm
Location: Richmond, Virginia

Re: Are pure primary colors ever useful in a color ramp?

Post by Drew Sebastino »

This is a weird thing to say, but because you brought up LCD TVs, I'm going to say that I forgot how good a good CRT TV looks with these old games. I have a crappy Emerson LCD TV in my room and a nice Phillips flat screen CRT TV that I brought out for a party, and the old TV beats the crap out of the newer one. It was much more vibrant and didn't distort at different angles, looked less blurry, had no lag, and had much better sound (like I said, it's a higher quality TV even if older). I don't know why I felt like sharing that, but I don't think this thread is really going anywhere anyway. I just always hate people saying that you should hook up old technology to newer TVs and stuff. The way I see it, you use SD technology on SD TVs, and HD technology on HD TVs. One thing I never really thought of is that I imagine 720p video would look cleaner on a 720p TV than 1080p or something like that. Another thing I also wondered is did somebody say that even if an HD TV is receiving HD signal, it will still lag?
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Are pure primary colors ever useful in a color ramp?

Post by tepples »

An HDTV receiving a 1080i signal, such as broadcast or cable TV, is likely to lag to deinterlace it. It may lag even when receiving a progressive signal in order to run various enhancement filters on the image, but better TVs have a "game mode" option to turn enhancement down to minimum.

Among LCDs, IPS is more consistent than TN at different viewing angles. This is why smartphones and tablet computers are more likely to use IPS, as a portrait-oriented tablet will have the user's two eyes at significantly different viewing angles.

The problem with using old TVs with old consoles is twofold. For one thing, old TVs are less likely to fit in a cramped apartment. For another, old TVs wear out. My 27" Magnavox died, and now I'm back on a 13" Panasonic.
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Are pure primary colors ever useful in a color ramp?

Post by tokumaru »

tepples wrote:For another, old TVs wear out. My 27" Magnavox died, and now I'm back on a 13" Panasonic.
After declaring my HDTV completely unsuitable for retro consoles, I decided to keep my 21" Samsung, which thankfully still works. Since then, I also salvaged a 14" CCE (which's a traditionally crappy brazilian brand), just in case.
psycopathicteen
Posts: 3140
Joined: Wed May 19, 2010 6:12 pm

Re: Are pure primary colors ever useful in a color ramp?

Post by psycopathicteen »

Espozo wrote:This is a weird thing to say, but because you brought up LCD TVs, I'm going to say that I forgot how good a good CRT TV looks with these old games. I have a crappy Emerson LCD TV in my room and a nice Phillips flat screen CRT TV that I brought out for a party, and the old TV beats the crap out of the newer one. It was much more vibrant and didn't distort at different angles, looked less blurry, had no lag, and had much better sound (like I said, it's a higher quality TV even if older). I don't know why I felt like sharing that, but I don't think this thread is really going anywhere anyway. I just always hate people saying that you should hook up old technology to newer TVs and stuff. The way I see it, you use SD technology on SD TVs, and HD technology on HD TVs. One thing I never really thought of is that I imagine 720p video would look cleaner on a 720p TV than 1080p or something like that. Another thing I also wondered is did somebody say that even if an HD TV is receiving HD signal, it will still lag?
There's a million things wrong with new TV sets.

-cutting the frame rate of analog channels to 30fps
-sampling an analog signal at a low horizontal resolution, and scaling it up
-forcing everything to widescreen by default
-up scaling the picture in a certain way that adds excessive blurring
-a bunch of unnecessary image filtering that smears anything that moves
Sik
Posts: 1589
Joined: Thu Aug 12, 2010 3:43 am

Re: Are pure primary colors ever useful in a color ramp?

Post by Sik »

tepples wrote:For another, old TVs wear out. My 27" Magnavox died, and now I'm back on a 13" Panasonic.
This is the biggest problem in my opinion. Fixing a nearly (or over!) three decades old console with dead discrete components is easy, and the custom ones are unlikely to die (probably will outlast us, even). Good luck managing to fix an old CRT TV though, especially since the things most prone to fail are those involved with the tube.

Now, really most of the shit that gets in the way in modern TVs could be fixed because it's mostly a limitation of their programming. But that's not gonna happen as long as there isn't a good business reason for that. Maybe if in the future somebody decides to release a niche "retro TV" designed specifically to cope with those old quirky analog signals.
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Are pure primary colors ever useful in a color ramp?

Post by tokumaru »

Sik wrote:But that's not gonna happen as long as there isn't a good business reason for that.
And as time goes by, there will be less and less reasons to do it, because the number of analog video devices still in use is quickly approaching 0. I don't have any faith in TV manufactures ever improving analog video support. Quite the opposite really, I expect them to completely get rid of analog inputs soon. Our best bet will likely be standalone converters created by hardware people that are part of the retro scene.
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Are pure primary colors ever useful in a color ramp?

Post by lidnariq »

We could build a laser SDTV without too much difficulty. Modulating red and blue solid-state laser diodes at the required ≈3MHz bandwidth is pretty easy; I'm not certain whether the nonlinear optics used by green solid-state lasers pose a problem or not.

The horizontal deflection is the only particularly hard part, and I think a high-precision many-sided front-surface mirrored polygonal prism should be workable there.
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Are pure primary colors ever useful in a color ramp?

Post by tokumaru »

I totally understand everything you just said. :mrgreen:
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Are pure primary colors ever useful in a color ramp?

Post by lidnariq »

tokumaru wrote:I totally understand everything you just said. :mrgreen:
lidnariq wrote:Modulating
= "drive"
nonlinear optics used by green solid-state lasers
Weirds__t. wikipedia:Second-harmonic generation. Green solid-state lasers are actually a 1056nm infrared laser diode that is magically converted into 528nm green light.

I have no idea how it works, so I have no idea if there's a bandwidth consideration.
The horizontal deflection is the only particularly hard part
SDTV Horizontal deflection frequency is ≈16kHz, or 960000 per minute. A flat surface with both sides mirrored would have to spin at 480000 RPM, well above what's feasible in air.
many-sided mirrored polygonal prism
A 64-gon prism (i.e. a 66-sided solid, with 64 separate rectangles and top and bottom are 64-gons) would only have to spin at 15000 RPM
front-surface
wikipedia:First_surface_mirror
Post Reply