2 Replies Latest reply on Mar 15, 2012 7:41 PM by Bruce_Jawn

    float4() causes "error saving Pixel Bender Byte Code file" error when exporting for flash player

    Bruce_Jawn Level 1

      Simple test

       

      <languageVersion : 1.0;>
      
      kernel untitled
      <   namespace : "Your Namespace";
          vendor : "Your Vendor";
          version : 1;
      >
      {
          input image4 src;
          output pixel4 dst;
      
          void
          evaluatePixel()
          {
              dst = float4(sampleNearest(src, outCoord()));
          }
      }
      

       

      The above code will produce a "error saving Pixel Bender Byte Code file" error when exporting for flash player in Pixel Bender Toolkit 2.5.449694.

      "dst = (sampleNearest(src, outCoord()));" works fine. And anything like "float4 a= float4(b);" will give same error.