How can I DEACTIVATE interpolation in the jit.world window ?

Gary Leyrn's icon

Hello,
I want that the image rendered by jit.world to look "pixelated", just as it looks in this jit.pwindow ( please see the attached patch).

The jit.world is performing interpolation, and this is why the images look different. The jit.world object does not have an "interpolation" attribute like jit.window. So, How can I DEACTIVATE interpolation in the jit.world window ?

Max Patch
Copy patch and select New From Clipboard in Max.

Jean-Francois Charles's icon

A quick fix would be to feed your jit.world a larger texture (2048 2048 for instance, see below). I hope GL specialists will give you/me more insights on the core of your question.

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

the texture equivalent is to insert a [ jit.gl.texture @adapt 0 @dim 640 480 @filter none ] after the downsampled matrix. the dims can be set to whatever you like. the closer they are to the final render destination size, the "sharper" the edges will be.

Gary Leyrn's icon

Thanks guys!