Video streaming on SDL_Surface + 3d transformation

Hello everyone,

I would like a piece of advice about something I intend to do. Basically
I want, from various video live streams, draw them in an OpenGL window,
and be able to manipulate them as 3d objects (so 3d transform them).
It seems that SDL is easier to use for live video streaming on
SDL_Surfaces, but OpenGL allows more 3d tools. I have never used SDL,
just read posts and doc, so please rectify if I am wrong.
Consequently what I am wondering is what should I use to reach it?
Should I use a SDL_Surface used for the video stream, then export it as
a GL2DTexture, then mapped onto whatever OpenGL surface?
Actually I am not using directly OpenGL and SDL, but their Tcl/Tk
equivalent, tcl3d (tcl3dogl and tcl3dSDL in this context then).

Thank you for any advice!

Thibault.

Hello everyone,

I would like a piece of advice about something I intend to do. Basically
I want, from various video live streams, draw them in an OpenGL window,
and be able to manipulate them as 3d objects (so 3d transform them).
It seems that SDL is easier to use for live video streaming on
SDL_Surfaces, but OpenGL allows more 3d tools. I have never used SDL,
just read posts and doc, so please rectify if I am wrong.
Consequently what I am wondering is what should I use to reach it?
Should I use a SDL_Surface used for the video stream, then export it as
an OpenGL texture, then mapped onto whatever OpenGL surface?
Actually I am not using directly OpenGL and SDL, but their Tcl/Tk
equivalent, tcl3d (tcl3dogl and tcl3dSDL in this context then).

Thank you for any advice!

Thibault.

Well, since I haven’t got any answer on this so far, I would like to
know something more specific…
How could I copy a widget (a tk widget to be precise) into a SDL
surface?It is surely very basic, but since it mixes tcl/tk and SDL, I am
getting confused…
I guess there are some generic methods for copying whatever object into
a SDL surface, but do not know how to manage it!

Thanks for any word that could make me see clearlier!

Thibault.

Thibault Daoulas wrote:> Hello everyone,

I would like a piece of advice about something I intend to do.
Basically I want, from various video live streams, draw them in an
OpenGL window, and be able to manipulate them as 3d objects (so 3d
transform them).
It seems that SDL is easier to use for live video streaming on
SDL_Surfaces, but OpenGL allows more 3d tools. I have never used SDL,
just read posts and doc, so please rectify if I am wrong.
Consequently what I am wondering is what should I use to reach it?
Should I use a SDL_Surface used for the video stream, then export it
as an OpenGL texture, then mapped onto whatever OpenGL surface?
Actually I am not using directly OpenGL and SDL, but their Tcl/Tk
equivalent, tcl3d (tcl3dogl and tcl3dSDL in this context then).

Thank you for any advice!

Thibault.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org