Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > colodore is the new pepto
2016-12-12 00:26
pepto
Account closed

Registered: Nov 2004
Posts: 35
colodore is the new pepto

Hey guys, I remeasured the video-signals of my VIC-II's and slightly updated my 15 year old attempt at calculating an rgb-clone. While at it, I also measured VIC & TED and made a little website about it, that allows you to adjust brightness, contrast and saturation as you like and then save your own custom palette to a png-file.

http://www.colodore.com


I took extra care to make sure, that the brightness, contrast and saturation sliders behave the same way as my 1084s.

While closely comparing my LCD to the 1084s, I found that making the transparency of scanlines dependent on YUV's Y (so they are less visible for brighter colors) looked a lot more like the real thing. I also noticed that the phase-shift on odd-lines happens for YUV's V only and there's even a name for it in video-lingua: hanover bars.

After implementing this, I'm happy to say that the images on my LCD and 1084s are remarkably close.


I will write a more detailed article about it in January, but seriously need a christmas-break first...

Cheers,
pepto
 
... 97 posts hidden. Click here to view all posts....
 
2017-02-14 12:06
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: mmmh somehow i expected some more details =)

Maybe you think it's more complicated than it really is? :D
2017-02-14 12:27
chatGPZ

Registered: Dec 2001
Posts: 11350
perhaps =)
2017-02-15 16:51
pepto
Account closed

Registered: Nov 2004
Posts: 35
Well, where I come from, simple solutions are actually preferred, as long as they get the job done (see "KISS principle"). :D

I kinda like how little code is needed for a convincing result. In fact, I spent extra time rearranging it, for more clarity.
This means, that more xplat-tools could incorporate brightness, contrast and saturation sliders in the future - in a painless way... \o/
2017-02-15 16:56
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quoting LogicDeLuxe
And for further taking different monitor behaviors into account, I guess, gamma sliders for YUV and also for RGB would make sense.

Furthermore, sliders for offset and gain for YUV and RGB. Those advanced settings can be hidden in a "service menu", like it was the case in most CRT TVs since the mid 90's.


Hmm, I never came across CRTs with Gamma, Offset and Gain dials. I will think about adding "advanced" settings to colodore.com though - thanks for feedback.
2017-02-15 18:48
soci

Registered: Sep 2003
Posts: 479
Just a few more steps and there will be separate RGB sliders for each colour for maximum flexibility ;)
2017-02-15 19:27
chatGPZ

Registered: Dec 2001
Posts: 11350
i'd be most interested in seeing the algorithm applied to NTSC (using the sony decoder matrix).....

did a quick test in VICE with the hannover bars stuff as you implemented them.... now everything is pink. knoekicolors =) i think the renderer cant be reused as is and must be rewritten. sux ;_;
2017-02-15 19:54
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quoting Groepaz
i'd be most interested in seeing the algorithm applied to NTSC (using the sony decoder matrix).....


If I didn't f*ck it up, like this I guess (only tested in Chrome): http://www.pepto.de/groepaz.html
2017-02-15 20:10
chatGPZ

Registered: Dec 2001
Posts: 11350
hard to tell (for me anyway) without a test picture and CRT emulation attached.... but thanks :) (incase you want to add some pictures for ntsc, check the work of DocJM - awesome stuff. and pics like this can tell you if you got the aspect ratio right :)

oh and i almost forgot, i have a feature request.... could you add an option to download the palette in VICE format? converting them by hand is a bit annoying =)
2017-02-15 20:21
ilesj

Registered: Jun 2012
Posts: 27
Btw why the delay line doesn't seem to have any effect on the hanover bars?
2017-02-15 20:26
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quote: Btw why the delay line doesn't seem to have any effect on the hanover bars?

Good question, I'm wondering this myself... looking at the output though, both effects are definitely present. Chroma blending with the previous line, and phase-shift for the v-component.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 - 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
The Syndrom/TIA/Pret..
psych
REBEL 1/HF
Holy Moses/Role
da Blondie/Resource
mutetus/Ald ^ Ons
Airwolf/F4CG
t0m3000/hf^boom!^ibx
Scorpion/Contex / Ar..
Firelord/Excess
New Design/Excess
csabanw
Chesoner/House Designs
soci/Singular
v3nt0r/ibex-crew
Retroluzzer/Quantum
Guests online: 120
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Christmas Megademo  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

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