Changeset 1522 for trunk


Ignore:
Timestamp:
Jun 15, 2009, 12:10:38 PM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/FlowCmd.cpp

    r1521 r1522  
    20342034        }
    20352035        NanoVis::AdvectFlows();
    2036         NanoVis::RenderFlows();
    2037         NanoVis::offscreen_buffer_capture();  //enable offscreen render
     2036        glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, final_fbo);
    20382037        NanoVis::display();
    20392038        NanoVis::read_screen();
     
    20452044    if (!canceled) {
    20462045        Rappture::Buffer data;
    2047         // FIXME: find a way to get the data from the movie object as a void*
     2046
     2047        /* FIXME: find a way to get the data from the movie object as a
     2048         * void* */
    20482049        if (!data.load(context, tmpFileName)) {
    20492050            Tcl_AppendResult(interp, "can't load data from temporary file \"",
     
    20522053        }
    20532054
    2054         // Build the command string for the client.
    20552055        char command[200];
    20562056        sprintf(command,"nv>image -bytes %lu -type movie -token \"%s\"\n",
     
    20592059    }
    20602060    if ((values.width != oldWidth) || (values.height != oldHeight)) {
    2061         // Restore to the old size.
    20622061        NanoVis::resize_offscreen_buffer(oldWidth, oldHeight);
    20632062    }
Note: See TracChangeset for help on using the changeset viewer.