- Timestamp:
- Jun 15, 2009, 12:10:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/FlowCmd.cpp
r1521 r1522 2034 2034 } 2035 2035 NanoVis::AdvectFlows(); 2036 NanoVis::RenderFlows(); 2037 NanoVis::offscreen_buffer_capture(); //enable offscreen render 2036 glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, final_fbo); 2038 2037 NanoVis::display(); 2039 2038 NanoVis::read_screen(); … … 2045 2044 if (!canceled) { 2046 2045 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* */ 2048 2049 if (!data.load(context, tmpFileName)) { 2049 2050 Tcl_AppendResult(interp, "can't load data from temporary file \"", … … 2052 2053 } 2053 2054 2054 // Build the command string for the client.2055 2055 char command[200]; 2056 2056 sprintf(command,"nv>image -bytes %lu -type movie -token \"%s\"\n", … … 2059 2059 } 2060 2060 if ((values.width != oldWidth) || (values.height != oldHeight)) { 2061 // Restore to the old size.2062 2061 NanoVis::resize_offscreen_buffer(oldWidth, oldHeight); 2063 2062 }
Note: See TracChangeset
for help on using the changeset viewer.