I have two question:
First:in the osgscreencapture example, there also run osg::viewer::run(). is it 
must run it ?

Second:Is there have methods like opengl render scene to image?

forexample:
   HDC hdc = CreateCompatibleDC(0);
   HBITMAP hbm = CreateDIBSection(hdc, &bmi, DIB_RGB_COLORS, (void **) &pbits, 
0, 0);
   HGDIOBJ r = SelectObject(hdc, hbm);

……
   render();

……

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35582#35582





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to