Hi Manu, In SVN there are pbuffer implementations for Win32, X11 and Carbon that could help you do OpenGL work, simple create the pbuffer when you need it and destroy when finished.
Robert. On 7/5/07, Emmanuel Roche <[EMAIL PROTECTED]> wrote:
Okay : I read the mail archives and found something on this subject : a valid GL context must be active to prevent this error from happening... in this case, for example, if I have a main thread with its GL context displaying the 3D world, AND I absolutely don't want to use this thread to due stuff like image rescaling, how can I (is it even possible ?) build a gl context in my auxiliary thread with no window support at all ? Manu. 2007/7/5, Emmanuel Roche <[EMAIL PROTECTED]>: > Hello there... > > I've just noticed I cannot rescale my images in the conditions I want: I'm using an auxiliary thread to execute "scripts" and in this script if I try to call scaleImage on a just loaded picture I always have an openGl error : "not enough memory"... ! except that this is not acceptable : I have a lot of memory ! And this scale operation works when I use java+jogl to start my software and display a 3D window (but even in this case, the scripts are executed in an auxiliary thread with no GL context.... > > Does anybody understand what may be happening ?... > > Thanks for your help ! > > Manu. > _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/