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....
 
2016-12-13 21:22
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quote: @Pepto: Superb work! It seems even more accurate than your previous one, especially with luminance order for the "PAL" color pairs. Also quite interesting how you came up with realtime re-calculation on each slider change.

I can now "rip" and update the palette for https://og2t.github.io/retro-palette-explorer/ (that uses your luma values for sorting)

I'd suggest opensourcing Colodore on http://github.com for ppl to contribute features (i.e. download the palette as .act or .json format, display the image 1:1 pixel size etc.)


Thanks for your feedback.

I'm not sure I would want it on github. It is open-source already (just view source in your browser) and everyone's invited to implement their own version, if they feel like it. Additionally, I will write a small technical document, about how it basically works, in January.

I think I would hate if other ppl just implemented new features in strange places. I would get lost in my own source-code and also my aim was, to have a clean ui that doesn't get in your way. I'm not sure everyone would respect that, if it's a project on github.

But thanks for the suggestion, I will certainly give it some further thought.
2016-12-13 21:28
Digger

Registered: Mar 2005
Posts: 421
@Pepto: If you opensource on github, ppl can only fork it and make their own versions. Then it's always up to you to merge their changes only if:
1) they've specifically sent you a pull request
2) you liked their contributions

But I know that GitHub culture is not very popular amongst C64 scene folk, and that's quite understandable :-)
Looking fwd to your tech doc in Jan.
2016-12-13 21:42
Mr. SID

Registered: Jan 2003
Posts: 421
With the default settings, it seems like the white on the webpage is actually #ffffff, but when I save the PNG, white is #fefefe. Any idea why? Screwed by color space, or just a rounding error?
Also, saving to ACT doesn't actually work for me, nothing happens when I click it (Safari, macOS Sierra).
2016-12-13 21:54
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quote: With the default settings, it seems like the white on the webpage is actually #ffffff, but when I save the PNG, white is #fefefe. Any idea why? Screwed by color space, or just a rounding error?
Also, saving to ACT doesn't actually work for me, nothing happens when I click it (Safari, macOS Sierra).


Ah, I parseInt() it in the png-writer, maybe I should Math.round() it... i will investigate. I'm running Safari on macOS Mavericks and it works just fine, I'll have to see how I'm able to check what Sierra's problem is. Maybe a suspicious file-suffix? Is there an option to download only "safe" files or something stupid like that? As far as I can see, I'm building it the same way as the png-file -- it doesn't have it's own mime-type like png (image/png) though, it's an "octet-stream"...

Thanks for the feedback!
2016-12-13 22:03
Mr. SID

Registered: Jan 2003
Posts: 421
I have no idea, but it doesn't even try to download. Works fine in e.g. Firefox. FWIW, the .act also has #fefefe for white.
2016-12-13 22:31
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quote: I have no idea, but it doesn't even try to download. Works fine in e.g. Firefox. FWIW, the .act also has #fefefe for white.

...should be #ffffff now...
2016-12-13 22:36
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quote: ...should be #ffffff now...

Don't tell @saimo though, noone will notice anyway... ;)
2016-12-13 22:50
saimo

Registered: Aug 2009
Posts: 36
Quote: Don't tell @saimo though, noone will notice anyway... ;)

Too late.
I feel idiot. No, wait: superidiot. I guess that the palette download option has been up there all the time, right? Guess what? I had not even noticed there was a menu. So I had grabbed the palette manually. And I did notice that black was #000100 and white was #FCFFFB, but I thought that the measuraments had revealed that the actual output isn't perfectly pure.
OMG, if I think that I have to redo it all again (I had gone as far as redefining the colors also in webpages like https://retream.itch.io/quod-init-exit-iim)... 8o
2016-12-13 23:10
pepto
Account closed

Registered: Nov 2004
Posts: 35
Quote: Too late.
I feel idiot. No, wait: superidiot. I guess that the palette download option has been up there all the time, right? Guess what? I had not even noticed there was a menu. So I had grabbed the palette manually. And I did notice that black was #000100 and white was #FCFFFB, but I thought that the measuraments had revealed that the actual output isn't perfectly pure.
OMG, if I think that I have to redo it all again (I had gone as far as redefining the colors also in webpages like https://retream.itch.io/quod-init-exit-iim)... 8o


Dude, chillax... this whole thing is all about that there is not ONE ULTIMATE rgb-clone of the VIC II palette. The defaults you see when the page is loaded, are what I feel looks like MY Commodore 1084s. If you move one of the sliders for one pixel, you will have several colors go off in all kinds of directions while it is rounded into 8 bit rgb-values again.

colodore is about what YOU feel looks right. Set the sliders so you like the result, that's what ppl with real equipment do and EVERYONE does this differently, as it's a matter of personal taste.


There's no one-fits-all palette and I only have defaults, because you have to start with something. Please don't write the rgb-values somewhere and think "this is colodore". It should be different for everyone else. It's important that the colors are generated on the same underlying logic, so their relation fits.

Besided, the luma-values in the calculation are exactly the same as in my research from 2001. The reason they may appear a bit different now, is that there's a contrast-slider here and I scrolled it a tiny notch to the right for the defaults, as this looks more like on my 1084s. Contrast affects the luma-values of course.

Sorry if this was in any way misleading, maybe you should wait for the tech-doc in January. :-/
2016-12-13 23:18
saimo

Registered: Aug 2009
Posts: 36
Hehe... Sure, pepto ;) It's just that your study defines a (new) virtual standard, and I like the idea of sticking to something that everyone can refer to. Practical case: if I see someone playing the game on an emulator with terribly sick colors (like, red darker than brown), I can provide a respectable reference for him/her to enjoy.
The rest is only my sick perfectionism (which now just pushed me to update again also my FB profile picture) :p
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
Mike
McMeatLoaf
bugjam
MuZZa/The Codeblasters
Alakran_64
Knight Rider/TREX
Viti/Hokuto Force
Apollyon/ALD
Lead/House Designs
Krill/Plush
Guests online: 61
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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