Blargg's NTSC filter demo for Windows
Moderator: Moderators
- rainwarrior
- Posts: 8756
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Blargg's NTSC filter demo for Windows
I have compiled Blargg's NTSC filter demo for Windows. This may be useful for previewing how an image may look as an NTSC screen.
It's a command line tool. It works on test.bmp by default, but you can use an argument filename, or just drag a BMP onto the EXE.
Original source code by Blargg, available here: http://slack.net/~ant/libs/ntsc.html
It's a command line tool. It works on test.bmp by default, but you can use an argument filename, or just drag a BMP onto the EXE.
Original source code by Blargg, available here: http://slack.net/~ant/libs/ntsc.html
- Attachments
-
- blargg_ntsc.zip
- Blargg's NTSC snes_ntsc demo.c, windows build.
- (165.17 KiB) Downloaded 1625 times
Last edited by rainwarrior on Thu Oct 23, 2014 7:11 am, edited 3 times in total.
Re: Blargg's NTSC filter demo for Windows
Very cool indeed.
Why is the colour depth reduced ? Do you force to use the NES palette ? But then what about if we want to test graphics for another platform ?
Why is the colour depth reduced ? Do you force to use the NES palette ? But then what about if we want to test graphics for another platform ?
Re: Blargg's NTSC filter demo for Windows
There's a different library for each system and each of them take the color depth native to each system (there's also the fact that each system has its own set of artifacts)
Re: Blargg's NTSC filter demo for Windows
Thanks. I was going to compile it myself, but couldn't bother to install SDL.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: Blargg's NTSC filter demo for Windows
Pretty cool, I'll have a lot of fun with this.
Re: Blargg's NTSC filter demo for Windows
What would be great is to have this as an option in a tile editor such as Tile Molester or YY-CHR, so that you can preview your BGs or sprites directly with the NTSC fiilter as you draw them.
- rainwarrior
- Posts: 8756
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Blargg's NTSC filter demo for Windows
Ah, I didn't realize the nes_ntsc one reduced colour like that. I have rebuilt with the snes_ntsc version.
- DragonDePlatino
- Posts: 94
- Joined: Mon Oct 20, 2014 1:50 pm
Re: Blargg's NTSC filter demo for Windows
Awesome! Thanks for compiling this to make things easier on us artsy people. I'll definitely be giving this a shot with a bunch of my NES assets once I get home later. I'll show you my results.
Re: Blargg's NTSC filter demo for Windows
Run my graphics editor in Nestopia with the NTSC filter turned on.Bregalad wrote:What would be great is to have this as an option in a tile editor such as Tile Molester or YY-CHR, so that you can preview your BGs or sprites directly with the NTSC fiilter as you draw them.
Re: Blargg's NTSC filter demo for Windows
Mmh, sorry, yes I know your editor is impressive and all, but honnestly running it like that is so much less user friendly than a PC program that allows the mouse to be used. Again sorry, but I'd sooner use YY-CHR without NTSC filter than your editor with NTSC filter.
- DragonDePlatino
- Posts: 94
- Joined: Mon Oct 20, 2014 1:50 pm
Re: Blargg's NTSC filter demo for Windows
Here's an image for your first post using the map from my M25 project! I decided to choose something detailed to demonstrate that the NTSC filter isn't too destructive of details. On the left is the unaltered image, the center is FCEUX's filter at 3x zoom and the the right image is Blargg's filter.
Threads are always better with images.
Threads are always better with images.
- rainwarrior
- Posts: 8756
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Blargg's NTSC filter demo for Windows
Why'd you squish the NTSC output vertically instead of leaving at its original increased width? The scaling you've applied seems to completely overshadow the NTSC filter.
- DragonDePlatino
- Posts: 94
- Joined: Mon Oct 20, 2014 1:50 pm
Re: Blargg's NTSC filter demo for Windows
Well, the output of the NTSC filter was at a completely different aspect ratio than the other two versions so there wasn't much I could do to help that. I mean, I could have stretched it to force a 0.875 aspect ratio but that would have looked even sillier.
- rainwarrior
- Posts: 8756
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Blargg's NTSC filter demo for Windows
Why not leave it in its original aspect ratio?
- DragonDePlatino
- Posts: 94
- Joined: Mon Oct 20, 2014 1:50 pm
Re: Blargg's NTSC filter demo for Windows
If I take this 256x224 image (0.875 aspect ratio)...
Then I apply Blargg's filter and don't touch the output at all, I get this 602x448 image (0.744186 aspect ratio)
That's impossible to cleanly resize back down to 256x224 unless I want to stretch the pixels in the process.
Then I apply Blargg's filter and don't touch the output at all, I get this 602x448 image (0.744186 aspect ratio)
That's impossible to cleanly resize back down to 256x224 unless I want to stretch the pixels in the process.