StereoJoin operates on a series of PNG images specified by
a frame pattern and can perform two actions:
-
Split frames into their left and right part.
This is useful when using
StereoPOV (or some
similar patch) which creates a stereoscopic image where the left and
right image are put into the same file, next to each other and you want
to separate the left and right parts.
For this, use spit mode (option -S; default when
called stereosplit).
-
Join left and right frames into a series of stereoscopic
images.
You may need this when rendering the left and right frames separately and
want to glue them together yielding to a series of frames with are twice
as wide and have the same height.
For this, use join mode (option -J; default when
called stereojoin).
For more detailed information, see the documentation further down
on this page.
I provide only the source code but compiling it should be trivial.
Requirements:
A C++ compiler (GCC recommended)
as well as a recent version of
libpng
(which is part of any major Linux distribution; just make sure you have
the devel package, i.e. the header files, installed).
Platform:
StereoJoin works fine on my Linux-ix86 box. It was developed for POSIX-like
operating systems but may even compile on Window$ with minor tweaking.
Compiling:
Just call gcc for the one source file:
gcc -s -O2 -fno-rtti -fno-exceptions stereojoin.cc -o stereojoin -lpng
Install:
Simply copy the stereojoin to the location you desire. You may
symlink stereosplit to stereojoin to avoid using the
options -J and -S.
Bugs:
StereoJoin should work with 8 and 16 bit RGB and grayscale images, when
using less than 8bit you may run into trouble (try out).
Please report any bugs you find to me (email on bottom of this
page and in source file).