Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/bugs/bug011.diderot
ViewVC logotype

Diff of /branches/vis12/bugs/bug011.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2182, Sun Feb 24 01:39:57 2013 UTC revision 2183, Sun Feb 24 01:40:18 2013 UTC
# Line 16  Line 16 
16  real epsilon = 0.001;  real epsilon = 0.001;
17    
18  field#1(2)[] FF = ctmr ⊛ image("data/ddro.nrrd");  field#1(2)[] FF = ctmr ⊛ image("data/ddro.nrrd");
19    // the following bugs are because the negated sclr is not a global, but after
20    // normalization it is referenced in the strand body.
21  /*  /*
22  ** BUG: THIS is where it would make sense to define GG, and it doesn't work:  ** BUG: THIS is where it would make sense to define GG, and it doesn't work:
23  Internal error after normalization: see log file for details  Internal error after normalization: see log file for details
# Line 48  Line 50 
50          ** really isocontouring if the isovalue could possibly change between          ** really isocontouring if the isovalue could possibly change between
51          ** update iterations          ** update iterations
52          */          */
53          field#1(2)[] GG = FF - sclr;          //field#1(2)[] GG = FF - sclr;
54          /*          /*
55          ** BUG: can't multiply field by scalar:          ** BUG: can't multiply field by scalar:
56          ** Internal error after translation to MidIL: see log file for details          ** Internal error after translation to MidIL: see log file for details
57          */          */
58    // FIXED
59          //field#1(2)[] GG = FF * sclr;          //field#1(2)[] GG = FF * sclr;
60          vec2 grad = ∇GG(pos);          vec2 grad = ∇GG(pos);
61          if (|grad| == 0) {          if (|grad| == 0) {

Legend:
Removed from v.2182  
changed lines
  Added in v.2183

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0