View Full Version : How to rende only 1 frame ?
11-05-2007, 08:47 PM
Now I want to render only 1 frame, then output the all pixel as data, how should I do in glut or Win32 API ? It seems that the program will always running, the data is always outputing ,how should I do this easily ?
11-05-2007, 09:48 PM
If you're only doing one frame, then odds are you aren't looking to do graphics. So investigate some of the offscreen rendering possibilities. GLUT is not well-suited for this; two options are OSMesa, or writing your own Win32/WGL wrappers.
Generally the approach is to create an invisible window in order to get a context, and then do all rendering to FBOs.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.