[MPlayer-dev-eng] gl & distorted fisheye for dome projection

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Jun 28 17:06:50 CEST 2006


Hi,
On Tue, Jun 27, 2006 at 11:49:42PM +0200, Johannes Gajdosik wrote:
> 1) should I use gl output driver or gl2 output driver?
>    Is one of them obsolete? I would prefer ordinary gl,
>    because it is simpler.

gl2 is maintained but no longer developed I'd say.

> 2) there are a lot of parameters needed for parameterization
>    of the projection geometry (dome radium,mirror radius, mirror position,
>    projector position,...)
>    Can I just extend the existing list of parameters with my own?

No, at least I won't accept such special purpose code in vo_gl. If you
go with my suggestion below, you can add these as PARAMs in the vertex
program code (which will be a seperate file).

> 3) I would like that my work becomes part of the official mplayer source,
>    so that it is present in future releases. How should I proceed?

IMHO, implement support for vertex program in the vo, thus not
introducing such special-purpose code into vo_gl. That means you will
have to e.g. extend glDrawTex to use more than one quad.

> - or whoever is responsible for the gl video output driver -

That would be me.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list