Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
forgettable pyromaniac

Is there a better way to add CRT lines to Doomguy?

Question

Posted (edited)

The Gist is, I am making a HUD where I have doomguy's face on a CRT. I wanted to know if there was an easier way to algorithmically add on the CRT bars without doing it by hand, and while simultaniously keeping doom's palette, maybe with FFMPEG or something similar?

image.png.106f5ce4ecd25972d4482d486d889333.png

Just to make my life easier, that's all. Thanks :)

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0
Posted (edited)
9 minutes ago, forgettable pyromaniac said:

I actually don't know how to do that exactly, especially in slade. Could probably figure it out in Paint.NET, though.

 

right-click an image and select Graphic -> Colour Remap

asugOyN.png

 

Select a range of colours to map from (top) and then to map to (bottom). In this case moving all the skin-tone range down by two palette indices looks good to me. Optionally do it with the browns etc. as well, though for the face almost all of it is in that single band of colours. If you hover over a pixel on the image in this window, it'll show you what colour it is on the palette in the bottom-left.

ZSykGxv.png

 

Once you have a colour translation that looks good, shift-click to select the rest of the doomguy face images and you can apply the translation to them all in one go.

Share this post


Link to post
  • 0

Well, I don't know. But are you adding those scan lines to the weapon numbers as well? Because they seem inverted -- on lines where the background is darker, the digit is brighter.

Share this post


Link to post
  • 0
Posted (edited)

What you could do is use SLADE to remap the colours of doomguy's face to be one palette index different or however you want the scanline colours to look (figure out the remapping for one image and then you can bulk-remap all of them at once with the same translation table), then paste each new image over the original images with a mask that removes every other row of pixels. You could probably automate this further with imagemagick but I don't know how exactly.

Share this post


Link to post
  • 0
59 minutes ago, Gez said:

Well, I don't know. But are you adding those scan lines to the weapon numbers as well? Because they seem inverted -- on lines where the background is darker, the digit is brighter.

 

On the right side with the ammo count, it looks right. I think they're a little offset by an odd number on the arms (i didnt realize that, thanks :P)

 

 

17 minutes ago, plums said:

What you could do is use SLADE to remap the colours of doomguy's face to be one palette index different or however you want the scanline colours to look (figure out the remapping for one image and then you can bulk-remap all of them at once with the same translation table), then paste each new image over the original images with a mask that removes every other row of pixels. You could probably automate this further with imagemagick but I don't know how exactly.

 

I actually don't know how to do that exactly, especially in slade. Could probably figure it out in Paint.NET, though.

Share this post


Link to post
  • 0
29 minutes ago, maxmanium said:

@plumswhere did you find dark theme for slade, I don't see it in preferences, or it's not obvious

I'm on Linux with a dark theme so this is how it looks automatically. You might try Interface -> Use dark theme for web content, I don't know what that actually does though.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×