capturing image

First, get image here.

To use image, simply execute and point it to your application and where to save the captured images. Once loaded, set cl_aviDemo to your desired final FPS to start recording or use the following key bind for taking screenshots:

/bind x "cl_aviDemo 1000;wait 2;cl_aviDemo 0"

Motion blur and other effects are done transparently so there's no need to capture at higher FPS than you would normally need unless velocity curves or other such effects are used in the post process.


depth-of-field
camera.aperture.size sets the strength of the depth-of-field effect. A value of zero will disable DOF completely. Performance is directly proportional to the square of this value.

camera.focus.radius sets the area about the center of the window (usually the xhair) which is scanned to find an appropriate focus. Objects close to this focus will appear sharp while anything else will gradually blur out of focus. The minimum value is one which is equal to four pixels about the center.

camera.focus.speed sets how fast the focus changes with motion. A high value will focus instantly to wherever the xhair is aiming at, which is a good thing when using cameras, while a small value will force a slower focus which would be better suited for first person recordings.


motion blur
camera.film.exposure sets the strength of the motion blur effect. A value of zero will disable motion blur completely. There is no performance gains in using smaller motion blur values. Higher values should be use when recording at lesser FPS.


lightning
Input values come in the form of three primary color channels: red, green and blue. These values are scaled and gamma corrected. Luminance is then computed, scaled and gamma corrected.

image.[channel].shadow sets the lower clipping bound for shadows. Anything below this value will be set to zero.

image.[channel].highlight sets the higher clipping bound for highlights. Anything above this value will be set to one.

image.[channel].gamma sets the gamma correction after the input values are clamped and scaled.


cropping
Using the variables window.x, window.y, window.width and window.height to crop the captured images, will directly boost performance by eliminating unneeded parts of the image before any kind of processing takes place. They displace and resize a virtual window over the main window.


recommended values when cl_aviDemo is set to 25
camera.film.exposure 11.0

image.red.shadow 0.0
image.red.highlight 1.0
image.red.gamma 1.0

image.green.shadow 0.0
image.green.highlight 1.0
image.green.gamma 1.0

image.blue.shadow 0.0
image.blue.highlight 1.0
image.blue.gamma 1.0

image.luminance.shadow 0.0
image.luminance.highlight 0.5
image.luminance.gamma 1.0

1st person recordings without depth-of-field
camera.aperture.size 0.0
camera.focus.radius 1.0
camera.focus.speed 1.0

1st person recordings with depth-of-field
camera.aperture.size 3.0
camera.focus.radius 16.0
camera.focus.speed 0.01

camera recordings with depth-of-field
camera.aperture.size 6.0
camera.focus.radius 16.0
camera.focus.speed 0.01

#image for support or if you have any questions.
Comments
26
awesome, highly appreciated.
awesome

waiting for new movies to use this
im doing one with this tool allready :)
Parent
he was talking of those that are gonna get released
Parent
The trickjump movie that im doing is going to be released

image: hannes
Parent
dunno yet ;<
Parent
as u said, hard but true :<
You hate me soo much that now, in the midle of my new project, my gf card is dead :\ n1!!!!
Parent
is this the movie that's been postponed?
Parent
so when will this movie be released? :DDDD
Parent
nice, rly cool
where do you use those commands?
When you first execute image, a config is created in the same folder. You need to set these variables there.
Parent
execute where? im confused, photoshop?
Parent
its a programm called image
Parent
THIS SHIT ROCKS! :D
well done
i didnt get it
*surprised*
Parent
:DDDDDDDDDDD
Parent
Appreesh
very nice ;)
Back to top