Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tubesockor ! (Registered 2024-05-12) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Non-standard colors
2007-06-16 15:24
Axel
Account closed

Registered: Apr 2006
Posts: 42
Non-standard colors

How to get non-standard colors on c64?
Brighter, darker or with diffrent hue than normal.
I saw them in few demos.
Is it hard to do?
 
... 1 post hidden. Click here to view all posts....
 
2007-06-16 15:54
Axel
Account closed

Registered: Apr 2006
Posts: 42
For example in demo Mentallic
Mentallic
This effect can be seen in part with bouncing balls.
Pixels behind letters have a non-standard colors,
few hues of yellow color.
They doesn't change even after pause.
2007-06-16 16:05
Mantiz
Account closed

Registered: Apr 2006
Posts: 36
Are you sure of this? I can't see any new colours in this one.

The effect is probably because a monitor or tv has a hard time displaying one pixel wide color changes. As the letters are in hires and the balls behind are in multicolor, the balls shine through the letters every other pixel, and the illusion of new colours there may seem the case. It kind of melts together.


2007-06-16 16:33
chatGPZ

Registered: Dec 2001
Posts: 11136
you can also create "new" colors by drawing alternating horizontal lines of colors with the same luminance.

try drawing alternating lines of brown (9) and blue (6) for example.

(this only works on PAL, not NTSC - *afaik*)
2007-06-16 17:28
Conrad

Registered: Nov 2006
Posts: 833
Quote:
The effect is probably because a monitor or tv has a hard time displaying one pixel wide color changes. As the letters are in hires and the balls behind are in multicolor, the balls shine through the letters every other pixel, and the illusion of new colours there may seem the case. It kind of melts together.


That is quite true. If you view demos on an emulator, you will notice the colours are fake, especially in expanded scale mode. However with a normal 50Hz television you will bearly notice it. I've noticed that when you watch scollers with colours on a TV, the pixels have a weird combination effect between the two colours, because it is obviously an analogue output from the computer.

And like Groepaz said, try drawing two hires colours next to each other and you will get the same thing on a TV.

It's basically down to how the human eye can distinguish colours from real light.
2007-06-16 17:34
chatGPZ

Registered: Dec 2001
Posts: 11136
Quote:

And like Groepaz said, try drawing two hires colours next to each other and you will get the same thing on a TV.

It's basically down to how the human eye can distinguish colours from real light.


dont mix up the colorbleeding with the mixing chrominance. drawing alternating horizontal lines with same luminance, but different chrominance will *really* give you new colors, because of how the PAL encoding/decoding works. this has nothing to do with the human eye.
2007-06-16 17:39
Conrad

Registered: Nov 2006
Posts: 833
You're right. My mistake, as it is to do with horizontal lines. My explaination was actually referring to vertical lines.
2007-06-16 19:47
Axel
Account closed

Registered: Apr 2006
Posts: 42
Quote:

Are you sure of this? I can't see any new colours in this one.

The effect is probably because a monitor or tv has a hard time displaying one pixel wide color changes. As the letters are in hires and the balls behind are in multicolor, the balls shine through the letters every other pixel, and the illusion of new colours there may seem the case. It kind of melts together.


Yes you are right it is fake,
but on the tv it works.
Vertical lines with same luminance also works.
2007-06-16 20:12
pernod
Account closed

Registered: Nov 2004
Posts: 25
The horizontal luminance trick is one of (the only?) things where the rare old VIC chip did have an advantage: because there where only five luminance levels, there where more possibilities to mix colours.

On the top of my head:

# Colour Lum
0 black 0
1 white 4
2 red 1
3 cyan 3
4 purple 2
5 green 2
6 blue 1
7 yellow 3
8 orange 2
9 brown 1
10 pink 3
11 dk grey 1
12 grey 2
13 lt green 3
14 lt blue 3
15 lt grey 3

New colours for lum 1:
red+blue
red+brown
red+dk grey
blue+brown
blue+dk grey
brown+dk grey

New colours for lum 2:
purple+green
purple+orange
purple+grey
green+orange
green+grey
orange+grey

New colours for lum 3:
cyan+yellow
cyan+pink
cyan+lt green
cyan+lt blue
cyan+lt grey
yellow+pink
yellow+lt green
yellow+lt blue
yellow+lt grey
pink+lt green
pink+lt blue
pink+lt grey
lt green+lt blue
lt green+lt grey

= 26 new colours.

I wrote an article about this in the 80s, without knowing there existed new VICs. :-/
2007-06-16 20:26
Axel
Account closed

Registered: Apr 2006
Posts: 42
Nice trick was used here
ECI Graphic Editor Preview V1.0


2007-06-17 10:08
Graham
Account closed

Registered: Dec 2002
Posts: 990
Color mixing for old VIC luminance levels:

46 Colour Demo
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
KAL_123
mikme
Guests online: 97
Top Demos
1 13:37  (9.8)
2 Next Level  (9.8)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 No Bounds  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Multiverse 100%  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Layers  (9.6)
5 Copper Booze  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Vincenzo  (9.8)
2 Rob Hubbard  (9.7)
3 Stinsen  (9.7)
4 Jeroen Tel  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.061 sec.