Author Topic: Tutorial - Using a green screen map.  (Read 4193 times)

m4gnificent_b4st4rd

  • Guest
Tutorial - Using a green screen map.
« on: November 13, 2009, 02:39:14 pm »
I've made a simple greenscreen map, see this thread. This map is empty apart from alien and human spawn, with everything else being a flat, shadowless map.

Here's a quick demo of what I did with it.

- I opened up the console and set cg_shadows to 0.
- I then spawned as a human in the game, committed suicide, respawned and took a screenshot of the body.
- I loaded the screenshot into gimp, cropped it to size and chose the Select > Select by colour tool.



- With all the green selected I removed it with the eraser tool.



- I then clicked Select > None to remove the selection.
- I used the eraser tool some more to remove the crosshair and gun.
- I saved the image as a PNG (to keep the alpha layer) and then overlaid it on another image.



- Resulting in my final image of a shipwrecked marine.

This was just a quick and dirty tutorial, but you get the general idea.  :)
« Last Edit: November 13, 2009, 03:28:39 pm by m4gnificent_b4st4rd »

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Tutorial - Using a green screen map.
« Reply #1 on: November 13, 2009, 04:40:48 pm »
Now antialias those jaggies and scale him down so he doesn't appear to be 20' tall. Add some mutilations else people will assume he just drank too much.

m4gnificent_b4st4rd

  • Guest
Re: Tutorial - Using a green screen map.
« Reply #2 on: November 13, 2009, 05:27:44 pm »
Taiyo.uk - Yeah, it is a bit rough, wasn't done as a serious attempt though. :D

Interestingly enough it actually looks better without anti-aliasing on because there is a clean distinction between the model and the background which Gimp can easily separate. With anti-aliasing you get pixels which are a mix of the model's colour and the background colour so the colour select tool doesn't work cleanly and you are left with a greenish edge around your model.

Not sure what the solution to this is to be honest. It's possible there is a filter that could soften the edges slightly to give a pseudo-anti aliased effect. Maybe someone with more Gimp knowledge than myself might have some suggestions.