Author Topic: Everything looks better in scanlines!  (Read 31852 times)

0 Members and 1 Guest are viewing this topic.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.116
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: Everything looks better in scanlines!
« Reply #175 on: 10:26, 30 March 21 »
Rainbow, yes, thank you - couldn't remember the term :D Should it be there?
like
0
No reactions

Online andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.012
    • Awards
Re: Everything looks better in scanlines!
« Reply #176 on: 10:45, 30 March 21 »
Yeah, there is some definite banding going on. I can't tell if it's my shoddy maths, an artefact of how I was rendering the image in WPF or some combination of the two. I have a feeling the way I was overlapping R&G channels might be off a bit and getting out of phase.


I don't have my CM14 any more :-( but I don't think an area of solid colour should have such a pronounced issue.
like
0
No reactions

Offline arkive

  • CPC664
  • ***
  • Posts: 96
  • Country: tw
    • Awards
Re: Everything looks better in scanlines!
« Reply #177 on: 17:27, 30 March 21 »
This thread could really use some quality shots of a CMT in action. The MM one was decent, but it's possible to get even closer/sharper. And I could use them for my project too, was actually about to make a separate thread asking for that.

Also, while I always applaud people working on new CRT representations, it really could be the case of bringing the water to the river (you say that in France, don't you? ;) Existing shaders such as CRT-Royale or CRT-guest have very advanced options allowing for slot mask adjustments. Perhaps it'd be easier to just tweak these.
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #178 on: 18:36, 30 March 21 »
This thread could really use some quality shots of a CMT in action. The MM one was decent, but it's possible to get even closer/sharper. And I could use them for my project too, was actually about to make a separate thread asking for that.

Also, while I always applaud people working on new CRT representations, it really could be the case of bringing the water to the river (you say that in France, don't you? ;) Existing shaders such as CRT-Royale or CRT-guest have very advanced options allowing for slot mask adjustments. Perhaps it'd be easier to just tweak these.
I'm supposed to do test-case pictures Thursday at MacDeath place  ;D
Until now, i did not see anything accurate on existing shader mostly done for arcade platform
CNG did a test of CRT emulation in low resolution which is really cool (but i did not see any mode 1 ou mode 2 screens with it)
finally "many" people are working on CTM emulation  :-*

like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Online andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.012
    • Awards
Re: Everything looks better in scanlines!
« Reply #179 on: 18:46, 30 March 21 »
This thread could really use some quality shots of a CMT in action. The MM one was decent, but it's possible to get even closer/sharper. And I could use them for my project too, was actually about to make a separate thread asking for that.

Also, while I always applaud people working on new CRT representations, it really could be the case of bringing the water to the river (you say that in France, don't you? ;) Existing shaders such as CRT-Royale or CRT-guest have very advanced options allowing for slot mask adjustments. Perhaps it'd be easier to just tweak these.
Yes photos would definitely be a great resource for improving the accuracy.


And yes it may well be possible to tweak an existing shader to get the best result. I was mostly using it as a good excuse to practice writing something more difficult than a gray-scale implementation (which is about my level with shaders  :P )
like
0
No reactions

Offline rexbeng

  • CPC6128
  • ****
  • Posts: 253
  • Country: gr
  • Small resolutions, big ideas
    • index.php?action=treasury
    • Awards
Re: Everything looks better in scanlines!
« Reply #180 on: 20:58, 30 March 21 »
CNG did a test of CRT emulation in low resolution which is really cool
I see that shown version of CPCE is not available to download yet though...
like
0
No reactions

Offline rexbeng

  • CPC6128
  • ****
  • Posts: 253
  • Country: gr
  • Small resolutions, big ideas
    • index.php?action=treasury
    • Awards
Re: Everything looks better in scanlines!
« Reply #181 on: 21:16, 30 March 21 »
Also, this is a somewhat 'request' directed to roudoudou or anyone of the people involved in this 'correct way to mimic CTM looks' quest. We, the pushers, are mocking the hell up our graphics on modern platforms. So I was wondering if you guys could mockup a transparent picture of the, say, 'CTM effect' which we could use as a layer above our mockups in modern pixel editors so as to get at least a glimpse of how things look on actual hardware.
Perhaps this sounds too far fetched, but hey, why not!
like
0
No reactions

Online andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.012
    • Awards
Re: Everything looks better in scanlines!
« Reply #182 on: 22:50, 30 March 21 »
I don't know about making a transparent image, because it's literally rewriting the colour of pixels based on where they are and probably what colour the adjacent ones are too. I'm guess image editors don't let you load a shader effect and have it apply to an image (or at least not the I've ever seen).


What would probably be a lot easier is a quick and dirty image previewer that let you load an image file and apply the effect to it.
like
0
No reactions

Offline arkive

  • CPC664
  • ***
  • Posts: 96
  • Country: tw
    • Awards
Re: Everything looks better in scanlines!
« Reply #183 on: 15:52, 31 March 21 »
I'm guess image editors don't let you load a shader effect and have it apply to an image (or at least not the I've ever seen).
If something uses DirectX/OpenGL you can try to inject Reshade, though probably it wouldn't work with editors. Another way could be saving the image in the original format and then running it in an emulator with shaders.

There's also this amazing tool, ShaderGlass. Insta-CRT on anything you like :)  https://github.com/rohatsu/ShaderGlass

It can be a bit tricky to get the right values but it's worth trying out.
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #184 on: 19:54, 01 April 21 »
preview :)
Full PNG with R,G,B, White and paired colors => http://www.roudoudou.com/export/cpc/photophores.png



like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.116
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: Everything looks better in scanlines!
« Reply #185 on: 20:54, 01 April 21 »
Mesmerizing.
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #186 on: 11:24, 02 April 21 »

from the photography above, i saw 2 things
photophores are square (i used 3x4 pixels in my CTM emulation, this is not correct)
i counted 18 photophores lines for 16 CPC lines
now i have to work again ;)
like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Online andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.012
    • Awards
Re: Everything looks better in scanlines!
« Reply #187 on: 18:35, 07 April 21 »
Ok, so I gave it another try...






It's not perfect, but it's a lot better (and has got rid of the nasty colour banding weirdness in my last effort)
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #188 on: 18:47, 07 April 21 »
it is too dark because black area are not that big
i'm working on a new (yeah, another one) version, much "analog", and because of that "analog mimic", it's easier
like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Online andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.012
    • Awards
Re: Everything looks better in scanlines!
« Reply #189 on: 19:05, 07 April 21 »
You're probably right. Easily tweakable though as everything is analog:



Better?
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #190 on: 19:28, 07 April 21 »
yeah! really better, now need to boost colors to have a white, brighter
like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #191 on: 22:10, 07 April 21 »
i got this with my new "analog" routine

like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Online andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.012
    • Awards
Re: Everything looks better in scanlines!
« Reply #192 on: 23:32, 07 April 21 »
Nice. Looks a little too bright to me, some of the subtle shading on the red light seems to have been lost on the red light for example. I'll have to have a closer look on my laptop - it's easier to get a good feel for how well the effect comes across on a higher definition screen.
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #193 on: 01:39, 08 April 21 »
like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.133
  • Country: fr
    • urban exploration
    • Awards
Re: Everything looks better in scanlines!
« Reply #194 on: 12:21, 17 April 21 »
I worked again on a new CTM emulation which gives good results in mode 0, mode 1, but also in mode 2 !!!  8)
i played a lot Arkanoid yesterday night  ;D



like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.116
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Re: Everything looks better in scanlines!
« Reply #195 on: 14:03, 27 May 21 »
Looks really lovely!

I realised I had missed a few posts in this thread. Any progress? :)

Been following a CRT/emulation comparison project/account on Twitter and I have to say, seeing what the CRT does to the images... it takes a *lot* to approach the effect.
like
0
No reactions