Ouchface
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Chocolate DOOM: Scanlines
 
Author
All times are GMT. The time now is 17:01. Post New Thread    Post A Reply
Mystery Man in 3D
Mini-Member


Posts: 72
Registered: 07-10


I'm pretty sure this request will be a no-go, but I'd REALLY like to see scanline features implemented in Chocolate DOOM.

Call me a weirdo, but I LOVE scanlines! They make 2D games and graphics so sharp and crispy. I understand that they look funny on LCD monitors when not set to maximum resolution, but when I DO set the monitor to max-res, OH MAN! :D :D :D It's one of the best features of DOSBox, and also one of the major reasons I still play Vanilla DOOM today.

Fraggle, if you can implement this, you'd make me a VERY happy man...

Old Post 11-07-12 00:10 #
Mystery Man in 3D is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
bradharding
Junior Member


Posts: 160
Registered: 08-12


Chocolate DOOM has this already. Specify -scanline on the command-line.

Old Post 11-07-12 00:16 #
bradharding is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Mystery Man in 3D
Mini-Member


Posts: 72
Registered: 07-10


Tried it on the command line. Not working for me.

Old Post 11-07-12 00:29 #
Mystery Man in 3D is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
bradharding
Junior Member


Posts: 160
Registered: 08-12


Ah, just tested it on Chocodoom 1.7.0. Scanlines only work with a screen height of 1200, so if your monitor can cope, use -geometry 1600x1200 as well...

Old Post 11-07-12 00:45 #
bradharding is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Senior Member


Posts: 1829
Registered: 06-05


or 1920x1200, whichever your native is.

Old Post 11-07-12 02:37 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Mystery Man in 3D
Mini-Member


Posts: 72
Registered: 07-10


That needs to be fixed IMO. I wanna be able to use scanlines on ANY resolution.

Old Post 11-07-12 08:59 #
Mystery Man in 3D is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 12215
Registered: 07-06


All that effort to replicate an effect that was never there in the first place. I never saw a single scanline on a decently calibrated, 0.28 or better dot pitch SVGA monitor. SVGA monitors != arcade "generic" RGB CRTs.

Old Post 11-07-12 10:09 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
hex11
Senior Member


Posts: 2237
Registered: 09-09


I remember scanlines on CBM 1084 monitor, but it was effectively just a high-quality TV (even ran at 15 KHz, with lots of flicker at higher resolutions).

Don't remember scanlines on my old 15-inch SVGA monitor from 1994. The pixels weren't as sharp as an LCD screen though. And the colors were more vivid (but this matte screen probably doesn't help with that...)

Old Post 11-07-12 10:41 #
hex11 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Senior Member


Posts: 1829
Registered: 06-05


-scanline is fairly stupidly named because it doesn't replicate scan lines.

Instead it tries to simulate the effect you'd get on old (especially large ones) monitors where the 320x200 display appears to be more like 320x400 and you can see small lines (about 400 of the time) in between rows of pixels. -scanline can only possibly replicate this with any shred of accuracy in 1200-pixel-high resolutions.

Old Post 11-07-12 11:04 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5939
Registered: 08-00


I always got this effect in 320x200 and 640x400, on my AMD64 box.

Old Post 11-07-12 13:35 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
_bruce_
Senior Member


Posts: 1278
Registered: 11-07


Should work in 1600x1200, though it just blanks out every 4th line.
'
if (M_CheckParm("-scanline") > 0)
{
screenp = (byte *) dest_buffer + 2 * dest_pitch;

for (y=0; y<1198; y += 3)
{
memset(screenp, 0, 1600);

screenp += dest_pitch * 3;
}
}
'

If adopting a solution I would look into the MAME/ePSX one - looks pretty good(overlay or tile). Requires fast cpu+sse or handling it via video card which defies the choco spirit.

Old Post 11-07-12 14:13 #
_bruce_ is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 12215
Registered: 07-06



Quasar said:
I always got this effect in 320x200 and 640x400, on my AMD64 box.


Which probably means that you were using a monitor >17" in size, by that time. On a typical 14" or 15" SVGA monitor of the day (1993-1994), unless it really sucked, you would need a magnifying glass or force some weird tweaked video mode in order to see scanlines at all.

Old Post 11-07-12 14:52 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
CODOR
Forum Regular


Posts: 834
Registered: 02-06



I always got this effect in 320x200 and 640x400, on my 486SX box.

(Although I suspect the 14" monitor that I was using at the time was the culprit. I think I still have it somewhere, I should see if it still works...)

Old Post 11-07-12 15:12 #
CODOR is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Belial
Senior Member


Posts: 2249
Registered: 09-05


My 14" that was supposedly 'something special' because it was capable of 1024x768 never showed any scanlines unless I forced it to.

Old Post 11-08-12 06:31 #
Belial is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 12215
Registered: 07-06



Belial said:
My 14" that was supposedly 'something special' because it was capable of 1024x768 never showed any scanlines unless I forced it to.


Well, SVGA != VGA. There was quite a bit of difference between a good multisync RGB monitor capable of handling SVGA and higher resolutions, and a bottom-feeder type of monitor that barely met VGA specs.

I even remember how screenshots from game magazines of the times looked: PC games never showed any scanlines (unless we're talking CGA or EGA games on a CGA or EGA monitor, not a VGA one), while Amiga/Atari ST/Amstrad CPC etc. did, but those "monitors" were little more than small TVs.

Old Post 11-08-12 08:48 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GhostlyDeath
Forum Retard


Posts: 1027
Registered: 08-05


On my old monitor, there were scanlines when using lower resolutions. The standard line would be bright, but the line below it would be a bit darker, but still use the correct colors.

Old Post 11-08-12 19:01 #
GhostlyDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Filled with the code of Doom


Posts: 7468
Registered: 07-00



_bruce_ said:
Requires fast cpu+sse or handling it via video card which defies the choco spirit.
Nope, that's incorrect - I don't see hardware acceleration as against the project philosophy. In fact I'm looking at adding hardware accelerated scaling. Once it's added, supporting the scanlines hack at resolutions other than 1600x1200 should be trivial.

Old Post 11-08-12 23:27 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:01. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Chocolate DOOM: Scanlines

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.