jit.world texture dimension


    May 02 2018 | 6:36 pm
    Hello, Could someone explain how to get full resolution image with jit.world, jit.gl.videoplane and jit.gl.texture.
    When I load a 5871 x 3936 image in jit.gl.texture I get crappy aliasing even with @dim 5871 3936 in jit.world.
    Fsaa nor antialiasing do anything.

    • May 02 2018 | 6:54 pm
      try dim and adapt 0:
    • May 03 2018 | 7:33 am
      Unfortunately it doesn't do anything. Source image is still pixelated as you can see on the left Can't a large image be smoothed in a smaller jit.window size?
    • May 03 2018 | 10:44 am
      you can load into a matrix first-- patch and image attached. for speed with this method convert your image to a .jxf in max first, then use read instead of importmovie.
    • May 03 2018 | 4:05 pm
      i think you need to use mipmap filtering when down-sampling textures, which is only available with non-rectangular textures.
    • May 03 2018 | 4:51 pm
      Great, thanks! But it seems jit.gl.cornerpin doesn't like the idea, unfortunately
    • May 03 2018 | 5:00 pm
      Otherwise I can't understand why it is not possible to smooth GL edges in this configuration :
    • May 03 2018 | 5:55 pm
      i would do it like this:
    • May 04 2018 | 11:29 am
      Mmm okay I understand the process but I think only a Cycling74 programmer knows what happens inside the objects. Indeed, there is nothing saying why cornerpin is not able to process the GL stream. Some documentation about what are the possibilities and restrictions of that kind of hybrid GL objects will be great. Max XX? Anyway, the patch help much, thank you.
    • May 04 2018 | 3:28 pm
      cornerpin not displaying non-rectangular textures is a bug, and this is the first time that I've seen it.
      the technique i demonstrated for you requires no special insider knowledge. my answer came from having to solve a very similar problem for a recent project.
    • May 06 2018 | 6:21 pm
      I have a similar problem with texture quality with jit.gl.model:
      https://cycling74.com/forums/texture-quality-with-jit-gl-model
      I would also be glad to know more about the possibilities and restrictions of Max' OpenGL.
    • May 06 2018 | 11:42 pm
      similar solution, you probably want to enable mipmap filtering. you probably also want to enable @fsaa, and if on a Mac retina display enable @high_res.
    • May 07 2018 | 6:46 pm
      Thanks a lot Rob.