Forums > MaxMSP

Another problem with jit.gen & jit.pix

Oct 03 2012 | 5:56 am

I wanted to make crossfade, using jit.gen and found that interpolation inside sample in jit.gen & pix is working incorrectly. Although through okay.

Oct 03 2012 | 5:59 am


  1. samp.maxpat
Nov 09 2012 | 5:17 am

Answer please, taken into account whether the problem? Because in 6.0.8 is unpatched (. Sincerely Arthur.

Nov 12 2012 | 3:48 am

I’m interested in because that has problems with the feedback, using a sample from jit.gen because incorrectly interpolation.

  1. sample.maxpat
Nov 14 2014 | 4:37 am

in max 7 is still the problem is not solved … it’s weird (

Nov 14 2014 | 10:40 am

Yes, this is an unfortunate side effect of some subtle differences between OpenGL pixel shaders and direct pixel processing on the CPU. In OpenGL, the sampling coordinates are generated by rasterizing a quad and interpolating across the rasterized pixels. This produces slightly different 2d coordinates, which accounts for the difference you’re seeing. You can use the [nearest] operator to have better results on the CPU. In the end, the solution for using [sample] will be some kind of different sampling mode that’s equivalent to what happens in OpenGL.

Viewing 6 posts - 1 through 6 (of 6 total)

Forums > MaxMSP