Hi, i am trying to make a video processing and video effect program
i need get render on a tpanel , i searched lot of page and tutorial about opengl.


1) there is a Topenglcontrol component imgu & testopenglcontext1 in lazarus. i tryed understand how they work. i thought i understand them but if i try to add texture a simple plane its not work...


i found some tutorial in Nehe about texture render. if i use glut window its work but if i add it with topenglcontrol its not work.
i dont know what is different each other.. i was copy all procedure Draw , init , loadtexture .. but its didnt worked...


2 i saw another sample with sdl .. its use sdl_putenv() ;
SDL_putenv( 'SDL_VIDEODRIVER=windib' );
EnvVal := 'SDL_WINDOWID=' + inttostr(Integer(Panel1.Handle));


but there is something worng.. my render not on panel1 its out on anyempty are without any gui..




there is not enought simple tutorial on internet... i dont know where i do wrong..