[Bf-committers] Mirror view stereo mode in Game Engine
dfelinto at gmail.com
Wed Jun 18 03:47:25 CEST 2008
I'm very interested in the GameEngine stereo mode. Therefore I would like to
see one more stereo mode implemented, and I'm trying hard to make it
possible. The mode I'm looking for is known as mirror-view or flipped side
They have good references here: http://www.crystalcanyons.net/
Basically it is a side-by-side stereo mode with the right image flipped
I've already created a new button in *
\blender\source\blender\src\buttons_scene.c*, created a new *RAS_STEREO*mode in
*\blender\source\gameengine\Rasterizer\RAS_IRasterizer.h* and now I'm
playing with some parameters in the *void
My problem now is to transform the right matrix.
I was trying to invert some parameters of the matrix *m_viewmatrix*, but
apparently this values are based on the model, not on my view (if I move the
camera the parameters don't change).
Could anyone land me a hand on this, please :)
I have no clue about what is the proper matrix to be changed, and how to do
that. But it doesn't look a hard task, right?
Thanks for your time,
PS.: the result so far:
and the GUI button: http://img98.imageshack.us/img98/3633/blenderuiyb1.jpg
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bf-committers