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 17:14
pepto
Account closed

Registered: Nov 2004
Posts: 35
Well, you could crank up brightness & contrast and turn off the scanlines and colodore would look a lot more like ste... :)
2016-12-13 17:22
v3to

Registered: Feb 2005
Posts: 150
'Fire' by Joe, 'Still Waiting' by Carrion:
left PEPTO
right COLODORE (new vic with 50% saturation)


'Deadlock Loader' by Robin Levy:
top left PEPTO
down left STE'86
top right COLODORE (new vic with 50% saturation)
middle right COLODORE (new vic with 70% saturation)
down right COLODORE (old vic with 70% saturation)
2016-12-13 18:39
Digger

Registered: Mar 2005
Posts: 421
@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.)
2016-12-13 18:43
chatGPZ

Registered: Dec 2001
Posts: 11110
Quote:
Also quite interesting how you came up with realtime re-calculation on each slider change.

that btw was possible in VICE since years.... except in the win32 port :)
2016-12-13 21:11
pepto
Account closed

Registered: Nov 2004
Posts: 35
I just added the ability to save palettes as .act files as well. This should help some Photoshop users that had problems handling palettes in png-format, who contacted me via pm.

You may have to refresh your browser-cache to see the new menu-funtion.
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.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 - 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
psych
Lavazza/Censor Design
Acidchild/Padua
Mr.Ice
Guests online: 153
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 Bromance  (9.6)
10 Memento Mori  (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 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (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.044 sec.