Slideshow & pixelation

Bastien Vairet's icon

Hi everybody,

I created a random and faded slideshow, very simple.

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

I am facing a problem that I can't solve : you can see on the screenshot.
On the left, the slideshow ; on the right, the original picture.
The more the details are thin, the more a pixelation appears.
It is obvious on this picture, close from the sunlight ; the difference is not so big, but it's to much.

Can someone help me about that ?

Best,

Bastien.

Martin Beck's icon

Try jit.world @high_res 1

Bastien Vairet's icon

Hi Martin, I've already try but it does nothing.

Actually I found this topic https://cycling74.com/forums/jit-world-texture-dimension

But I can not understand the solution.

Martin Beck's icon

Can you please specify your Max version and Mac or Windows ? I think for windows you have to enable an option called "high dpi ..." in the preferences section of Max.
Using @high_res 1 (and maybe you also need @fsaa 1 ) solved all my problems regarding jagged lines issues.

Bastien Vairet's icon

My version of Max is 8.0.6 used on macOS Mojave.

Well, I would like to try your solution, but could you specify where do I have to insert those arguments (fsaa & high_res) ?
I've already tried it but maybe not at the good place.

Thank you again.

Martin Beck's icon

Hope this helps.

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

I am not sure if the rescaling that you apply by the size attribute might cause some trouble.

Bastien Vairet's icon

I finally found the answer ! I needed fsaa to be checked and output texture. The pixelation comes from that output matrix is checked by default.

Now I have a a last problem : fullscreen mode of jit.world does not keep the original ratio of the picture. I would like to display fullscreen with black stripes on both side of pictures because they do not have a fullHD ratio.

Would you know the way to keep the original ratio in fullscreen mode ?

Bastien.

rarasmus's icon

Draw everything to jit.gl.node with fHD dimensions and set erase_color of jit.world to black.

Pedro Santos's icon

Just add a "@preserve_aspect 1" to jit.gl.videoplane.

Bastien Vairet's icon

Thank you guys. I suceeded. Anyone interested by this slideshow patch ?