Revision: 45740
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45740&view=rev
Author:   kunigami
Date:     2011-08-01 02:23:18 +0000 (Mon, 01 Aug 2011)

Log Message:
-----------
added a experimental mode to call do_run several times. by now each run is 
independent, but my next step is to sum the colors in scanline array instead of 
just setting them.

Modified Paths:
--------------
    brlcad/trunk/src/rt/do.c

Modified: brlcad/trunk/src/rt/do.c
===================================================================
--- brlcad/trunk/src/rt/do.c    2011-07-31 22:55:23 UTC (rev 45739)
+++ brlcad/trunk/src/rt/do.c    2011-08-01 02:23:18 UTC (rev 45740)
@@ -824,7 +824,19 @@
 
            do_run(0, (1<<incr_level)*(1<<incr_level)-1);
        }
-    } else {
+    } 
+#ifdef EXPERIMENTAL_MODE
+    else if (1){
+       int i;
+       /* Multiple frame buffer mode */
+       for(i = 0; i < 10; i++){
+           if(i > 0)
+               view_2init(&APP, framename);
+           do_run(pix_start, pix_end);
+       }
+    }
+#endif
+    else {
        do_run(pix_start, pix_end);
 
        /* Reset values to full size, for next frame (if any) */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to