Greenscreening (Chromakey)


Dawthm

 

Posted

This question has cropped up a couple of times, but I've never seen a really good solution to it:

How can we create vids with solid colored backgrounds, suitable for "greenscreening"?

I'm aware of a trick that allows us to remove all of the buildings, etc and leave just the sky. Its simple, really: You just delete the "Map" command line. Corrupting the binary value in the "Base" line for demos shot in a SG/VG base will accomplish teh same thing.

There is also a technique that will allow you to change the color of the sky, but I won't go into that here because its not an approved procedure...

The only problem with any of that is that the sky has clouds, so the background isn't solid. That won't work for greenscreening.

Has anyone ever accomplished this? If its a "non-approved procedure" (something not allowed to be discussed here) then feel free to point me to other channels/resources for an answer. I just really want to know if this do-able at all.


 

Posted

[ QUOTE ]
The only problem with any of that is that the sky has clouds, so the background isn't solid. That won't work for greenscreening.

[/ QUOTE ]

"Remember, the enemy's gate is down."

Depending on what you want to do, it may not be an easy solution, but if you point the camera "down" (for example, CAM PYR 1.5708 1.5708 -0), it will give you a uniform blue with no clouds.

That leaves you the headache of rotating everything 90 degrees from the usual coordinate system, and will probably not be fun if you want to pre-shoot something and splice it into bluescreen, but it does get rid of the clouds.


CoH Codex : Demo Models/FX/MOVs : Demo Info

Arc 111022: "Doctor Geist and the Scientific Method"

 

Posted

Wait a sec... Tilt... Headspin... Mindflip...

Oh. My. God.

This can totally work. I never thought of messing with the pitch (or yaw) of a toon in the demofile. I can totally make my characters stand/run/fly in any orientation I want! Some pre-planning will definitely save a lot of fiddling, but this may be the real McCoy...

Scuzz, you're a GENIUS!

Or should I call you, "Ender"?


 

Posted

OK, experimenting now. First problem I notice is that if I rotate a character to face "up" into the downfacing camera, his cape still hangs "down", which looks like it is blowing straight out behind him... Not exactly a show-stopper, but I wanted to throw that out for anyone that may be trying this too.

Thanks, Scuzz. Cape gravity aside, this may be just what I needed.


 

Posted

[ QUOTE ]
First problem I notice is that if I rotate a character to face "up" into the downfacing camera, his cape still hangs "down", which looks like it is blowing straight out behind him...

[/ QUOTE ]

Ack. Good catch. I had never tried it with anyone wearing a cape.


CoH Codex : Demo Models/FX/MOVs : Demo Info

Arc 111022: "Doctor Geist and the Scientific Method"

 

Posted

You could also do CAM POS 0 -10000 0. -10000 is just an arbitrarily high number and there's no clouds that far down, so it's a solid blue.

EDIT: It's probably obvious, but the X and Y positions don't have to be zero.


 

Posted

Ooh... That works even better. I need to try something with the CAM angled up just to make sure the clouds don't appear then, but this seems to work pretty well.

Thanks, Dawthm!