All pastes #373635 Raw Edit

Mine

public cpp v1 · immutable
#373635 ·published 2007-02-26 22:12 UTC
rendered paste body
        execute_context(CONTEXT_TERRAIN); //draw some things        get_backbuffer(&backbuffer);        backbuffer.writeToTIFF("terrain.tif"); //write backbuffer to a file        glClearColor(0.0,0.0,0.0,0.0);        glClear(GL_COLOR_BUFFER_BIT);        glFlush();        execute_context(CONTEXT_SYMBOLS); //draw some other things        get_backbuffer(&backbuffer);        backbuffer.writeToTIFF("annotaions.tif"); //write backbuffer to a file