Silly tool


(Sauron|EFG) #1

Yes, I am a silly tool. :smiley:

I also decided to release a small TGA tool for movie makers that I’ve been playing with for a while.

It takes two images as input

1: background image without moving objects

2: image (or sequence of images) with moving objects

It then replaces either the background, the foreground or both with solid colour.

A: background

B: foreground

C: both

More info and download (only win32 console version atm) can be found here.

(Silly, eh?)


(Oxygen - o2) #2

yes, you are a silly tool

you could like make some really wicked into titles with that, you see red and wite players shooting and then in black you see th title of the movie, then the colours fade into the actual shot and you get a really freaking awsome frag movie like a casual movie, that was one of my favs


(Mr_Tickles) #3

Wow!
It’s not a silly tool. I’ve looked for something like that many times before.
Any chance it would happen with other pictures, or dare I say it, photographs?
If it does, get in touch with Adobe, I don’t think they have a tool like that for Photoshop. Well, not built into it, it may exist as a plug-in, …but maybe not.


(Sauron|EFG) #4

No, it requires pixel perfect match between images (only pixels that are identical on the images are considered to be part of the background). You can’t get that in photographs.


(nUllSkillZ) #5

I’m thinking of a graphical modification that makes the players, tanks and trucks invisible.
So you could play a demo with this graphical mod and without it.
Then you would have a set of pictures with players and a set of pictures without players.


(Bongoboy) #6

Crikey!
Nice work, nUllSkillZ : )


(Fusen) #7

nUllSkillZ you mean to work with saurons tool or to do what his tool does with your mod?


(Sauron|EFG) #8

Hold on a minute, he’s only thinking about it so far. :blah:

Fusen: the mod could do the same as my tool (and some more things).


(nUllSkillZ) #9

I’ve tried to make an “invissible” skin for players (actually only the cov op so far).
But this is all I’ve got:

:frowning:

I’ve used the textures that I’ve created for my “removedsprites”-mod.
And I’ve also changed the shader as follows:


models/players/temperate/allied/cvops/body
{
	// cull none
	// implicitMap -
	nocompress
	nopicmip
	{
		map models/players/temperate/allied/cvops/body.tga
		blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
}

Idea is to create two sets of pictures:
One set with visible players and one set with invisible players.

Edit:

And then run Sauron’s tool.

As I’ve got Sauron right the camera has to be in same position for the background image and the movie.
And I think that this is difficult to achieve.

Another idea:
To use ET-Pro’s camera feature.


(Sauron|EFG) #10

I’ve been thinking of that as well (using a sequence of images captured without players as backgrounds, then running the same scripted cam and capturing with players), but I don’t think the engine will render the exact same images.

It doesn’t work well with gunfire, explosions and smoke (because they light up the scene), so it’s primarily for intro stuff and cut scenes.

Btw, is it possible to make gunfire not light up the entire screen?


(Mr_Tickles) #11

Surely you’d just change the cvops model in the code to something else… an empty md3 file. Is that how they do spectator? I don’t have the code so have no idea :S Hey, change the model to a chair for a laugh, or a type writer.


(nUllSkillZ) #12

If you change the code you can not play the demo with another mod / etmain I think.
So it has to be graphical.


(Sauron|EFG) #13

I don’t see the point in completely removing all players. You might as well capture scenes like that on an empty server. :wink:

Changing the model doesn’t require editing any code…


(Oxygen - o2) #14

but imagine the wicked bo introductions to frag movies doing this loads of firing then you see a tank in white and the rest in red, white players moving along shooting planting dynamite and then it shows the title in black, then fade into the movie, it would fucking rock

anyone who disagrees is an idiot!


(zl1corvette) #15

If you wanted an invisible shader you could do something like this…


models/players/temperate/allied/cvops/body
{
	{
	map $whiteimage
	rgbGen const ( 0 0 0 )
	blendfunc add
	}
}


(alea35) #16

please expand on this tool!


(DarkangelUK) #17

Nice tool, it will save a hell of alot of time on green screening textures. Just curious tho, does it just blank out the map and the moveable entities as well? When i’ve tried capturing just the models, for example on assault on RTCW (yes i know its RTCW but they both do the same thing), i used r_drawworld 0, but the moveable entities such as the gate at the axis spawn and doors that could be opened still stayed. As there is no world to hide them, they all showed in the distance… does this get rid of them?


(bacon) #18

AFAIK it removes everything that’s in the background image if you want to remove the background.

I’ve tried to make an “invissible” skin for players (actually only the cov op so far).

There’s an invisibility shader in Q3, all you need is make a transparent tga :drink:


(DarkangelUK) #19

Ah knew it was too good to be true: It is extremely important that the camera isn’t moved while capturing!, that rules out camscripts… which is mainly the point in green screening. Explosions and gunshots changes almost the entire screen, so avoid using your trigger finger. So dont move and dont shoot :slight_smile:


(nUllSkillZ) #20

That’s the reason why I thought of the “invisible” mod.

@bacon:
Will take a look at the shader. Thnx.