![]() |
![]() |
|
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List | / Moderators ListSearch | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
I like potato ;)
Join Date: Nov 2009
Location: Dont try to ask this to a drunken guy.
Age: 34
Posts: 613
|
CRT Curvature simulation.
Would be very "retro", CRT curvature simulation with adjustable threshold, to be used with PAL filter or aperture grilles or both.
__________________
Quote from Mr. Burns, from the tv-show "The Simpsons": "Hmm, Simpson, hein..." |
|
|
|
|
|
|
|
Advertisement:
|
|
|
#2 |
|
Oldskool Demo Coder
|
It's not dead difficult technically, but it's very difficult to make slight curves look good. I bet you can't find a single home computer emulator that has this and it doesn't look crap!
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc. A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!" If you like Portal 2, try my >> single player and cooperation maps << |
|
|
|
|
|
#3 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 12,034
|
Perhaps hardware D3D tessellation can be used to create good looking results, at least it would allow configurable ratio = the better PC, the better result!
|
|
|
|
|
|
#4 |
|
Oldskool Demo Coder
|
Exactly, it's about resolution. I think it would look like vomit without scanlines - you'd have to see the curvature to understand/accept the distortion (and to avoid antialiasing-pixels getting stuck together regardless of technique and becoming blobs).
The PC demos that have attempted this for some strange nostalgic-but-not-nostalgic-enough-to-code-for-the-platforms-to-which-they-pay-homage reason have heavily exaggerated the curvature and added layers of interference -- to cover up the fact they cannot produce the lovely pillow-shaped pixels and the not-ridiculously-exaggerated-contrast-ratio-neon-colors-but-subdued-candy-glow that are the reasons CRTs are awesome (not scanlines, curvature distortion, or TV type PAL coloring and moire patterns). I still think results that look good are simply not achievable, but of course WinUAE could be the first Me, I liked PAL+Scanlines on the 15", 1920x1080 of my Dell laptop, and I haven't had similar success with same on bigger non-CRT screens.You can tell how passionate I am about this by the sheer number of hyphens in this post. Don't mess with the hyphens!
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc. A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!" If you like Portal 2, try my >> single player and cooperation maps << |
|
|
|
|
|
#5 |
|
Leffmann with two n's
Join Date: Jul 2008
Location: Sweden
Posts: 1,205
|
Cathode makes it look pretty authentic: http://www.secretgeometry.com/apps/cathode/
|
|
|
|
|
|
#6 |
|
I like potato ;)
Join Date: Nov 2009
Location: Dont try to ask this to a drunken guy.
Age: 34
Posts: 613
|
Nestopia for example, can simulate the CRT curvature and even have a threshold, what do you think about its quality?
![]() PS. I seen myself, Nestopia effect looks like a blob. Leffman: Its so authentic the look of that effect!
__________________
Quote from Mr. Burns, from the tv-show "The Simpsons": "Hmm, Simpson, hein..." Last edited by Leandro Jardim; 11 August 2012 at 00:51. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Aug 2012
Location: Malmö/Sweden
Age: 34
Posts: 3
|
@Leffmann
Thanks for the link, that was a really cool terminal, just had to give it a go. |
|
|
|
|
|
#8 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 12,034
|
Actually I think not that complex shader code could do this quite easily without need for any real vertex geometry.
Amiga demos that had real-time magnifying lens used similar simple pixel shifting method. |
|
|
|
|
|
|
|
Advertisement:
|
|
|
#9 |
|
Lemon Curry ?
Join Date: Sep 2004
Location: Frederikshavn, Denmark
Age: 38
Posts: 1,959
|
It take it, it's something similar to HLSL, like in MAME ?
http://www.youtube.com/watch?v=iCSUOQalFcQ http://www.mameworld.info/ubbthreads...&Number=270919
__________________
RIP mom (1953-2008) |
|
|
|
|
|
#10 |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 12,034
|
Yes. WinUAE already has D3D shader support, someone only need to write the shader
|
|
|
|
|
|
#11 | |
|
Oldskool Demo Coder
|
Quote:
That's what I mean by exaggerating the curvature (they also exaggerate some other things like phosphorescence delay etc.)Now, the Mac has a very high resolution, 2560x1440, so 720x256 blown up to this size poses less of a problem. At <1600px, the artifacts would start to creep in. Toni: I think it's better to focus on emulating the positive properties of CRTs: shaping the pixels as pillows and allowing users to calibrate settings for some handy 4096-color test graphic to where it looks correct (you could implement a proper palette and match it to the monitor's color profile, but noone ever installs those profiles).
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc. A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!" If you like Portal 2, try my >> single player and cooperation maps << |
|
|
|
|
|
|
#12 |
|
I like potato ;)
Join Date: Nov 2009
Location: Dont try to ask this to a drunken guy.
Age: 34
Posts: 613
|
I think that Photon is right too.
The algorithm chosen should simulate only the properties that give the best properties of the CRT.For example, I personally like the PAL filter but it lacks the color correction that it needed. This is bad because we all use it to see its CRT-like colors, but they arent very correct yet, at least compared to many CRT TVs that we have. The blurring of the pixels is nice too, it gives a soft appearance to the jagged lines that none other filter does. With it I personally use the aperture grille 2x4rb.png that we find on the WinUAE home page to emulate that rectangular dots of the CRT TVs. It works superb on a window, at least I think! But when I resize it or show it in fullscreen, they do not adapt regularly to the resized display, and loses resolution, losing the cool effect of how the pixels are affected by the mask. ![]() Yes, this is a very fun subject...
__________________
Quote from Mr. Burns, from the tv-show "The Simpsons": "Hmm, Simpson, hein..." Last edited by Leandro Jardim; 12 August 2012 at 04:29. |
|
|
|
|
|
#13 | |
|
Leffmann with two n's
Join Date: Jul 2008
Location: Sweden
Posts: 1,205
|
Quote:
|
|
|
|
|
|
|
#14 |
|
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 32
Posts: 1,528
|
Hi, there are curvature / CRT shaders available for FS-UAE. FS-UAE 1.3 implements XML Shader Spec 1.1 which means that it can use shaders written for other emulators as well, such as bsnes. Recent development versions of FS-UAE include a CRT curvature shader.
There are a couple of screenshots in this thread (one showing a curvature shader, and other showing curvature + CRT effect): http://eab.abime.net/showthread.php?t=64137 (Shader support and scaling options in FS-UAE 1.3) Last edited by FrodeSolheim; 13 August 2012 at 01:42. |
|
|
|
|
|
#15 |
|
Oldskool Demo Coder
|
The Moire artifact (due to scanlines) in the NES screenshot in that thread is in part what I'm referring to. It's fine with me if someone makes a perfect CRT curvature. Of course lores stuff looks cooler with curvature and filtering, anything looks better than verbatim RGB on a 1000:1 contrast oversaturated screen and Hitler-square doublescan pixels!
That's why we think even PAL filters in VICE etc look so much more true to the real thing.Currently, there are no proper settings to achieve matching colors with scanlines (of course near-impossible without scanlines) for Amiga on a TFT. Even on a PC-CRT with scanlines it's hard, see my thread. It's just that it would be so typical to see CRT emulation never getting just proper pixel shapes right and allowing users to calibrate matching colors for their TFT, while they will get all kinds of filters that do 'camp' things and mismatch the colors. If I'm sounding like the same-old "we need none of that fancy-schmancy stuff" it's because I understand the real problem and would like to see better things happen for the emulator for this specific computer ![]() Basics+curvature, fine. Curvature without the basics, not so good. This is how I feel about it, anyway.
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc. A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!" If you like Portal 2, try my >> single player and cooperation maps << |
|
|
|
|
|
|
|
Advertisement:
|
|
|
#16 |
|
Needs a life
Join Date: Jan 2008
Location: England
Posts: 1,565
|
Bear in mind that Cathode is not working with pixels per se, but it's got a vector source (font) to play with: my guess (and it's only a guess) is that it's a lot easier to create a convincing effect with a vector source than it will be with mere pixels...
|
|
|
|
|
|
#17 | |
|
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 4,576
|
Quote:
__________________
Makes me sick when I hear all the shit that you say So much crap coming out, it must take you all day There's a space kept in hell with your name on the seat With a spike in the chair just to make it complete |
|
|
|
|
|
|
#18 | |
|
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 12,034
|
Quote:
Pixel shader "only" needs to calculate pixel's distance to center and then use trigonometric functions to calculate pixel offset (and possibly calculate average of nearby pixels if needed to make it smoother). I'll try to do stupid lens shader just for fun. (Yes, it is far from CRT, I am still not interested in emulating analog artifacts of ancient display technology, Amiga Denise/Lisa output is pure digital, analog is illogical )I meant "Real time" = effect was simple (pixel offsetting) and was done in real time, 50fps, instead of ray tracing or similar = easy and fast to simulate in pixel shader. I didn't mean implementation was real time. |
|
|
|
|
|
|
#19 |
|
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 4,576
|
Thought you meant it like that but wasn't 100% sure. And yes, it's quite a simple effect indeed.
__________________
Makes me sick when I hear all the shit that you say So much crap coming out, it must take you all day There's a space kept in hell with your name on the seat With a spike in the chair just to make it complete |
|
|
|
|
|
#20 |
|
Global Moderator
Join Date: Sep 2008
Location: UK
Age: 46
Posts: 3,441
|
I'm sorry to say this, but I have absolutely no use for something like this with WinUAE. Although the effect may be easy to implement I can't for the life of me understand why anyone would really go to the trouble of creating an effect that would probably and eventually just annoy you (my personal preference).
I'm with Photon on this, I'd rather see better things implemented into WinUAE. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mouse Master Simulation | brolly | support.WinUAE | 6 | 05 August 2012 03:01 |
| Turtle Table Tennis Simulation | mai | HOL data problems | 6 | 24 October 2009 22:40 |
| Professional Football Simulation | mai | HOL data problems | 0 | 14 July 2009 22:40 |
| Looking for a Maze and/or Simulation game? | Mounce | Looking for a game name ? | 2 | 05 May 2005 00:42 |
| Table Tennis Simulation - Starbyte | andreas | Games images which need to be WHDified | 0 | 27 January 2004 13:31 |