jit.world instead of jit.window

    Oct 15 2020 | 2:59 pm
    Hello everyone! In the patch I've posted I'm using a jit.noise operator to create vertical lines on screen, as in the pwindow. Is there a way to create the same effect, without passing through a matrix? I need to speed up the patch. In this patch I am generating small points on screen, using grindshape (as in 'geometry under the hood' - max tutorials).

    • Oct 16 2020 | 2:25 pm
    • Oct 16 2020 | 2:33 pm
      It works very well, thank you Pedro!
    • Oct 17 2020 | 8:39 am
      There is only one thing I can't figure out: how to get the same result I get from the 'geometry under the hood' as you can see in this first patch:
      if you choose quad_grid you get a different distortion from 'geometry'
      It looks like with jit.world the polygon mode works differently...? I would like to have the same effect I have in 'geometry' with jit.world
    • Oct 17 2020 | 11:24 am
      Hi again. Sending geometry directly to jit.gl.render is a very old approach that isn't recommended anymore. You can send the geomtry matrix to a jit.gl.mesh object and have much more control. I also added some modifications to the noise part, namely, you want the noise values to be between -0.5 and 0.5, (not 0. to 1.). Notice that when you crossfade to have only noise, the geometry occupies the right top quadrant. That's because the values are from 0 (center) to 1 (right/top).
    • Oct 17 2020 | 1:43 pm
      it's also a lot faster! I've only read the Max manual about jitter, maybe there's more material you would like to suggest me to study from?
    • Oct 17 2020 | 3:16 pm
      also... how do I apply effects on elements, like I do with jit.op? Like brightness, contrast, threshold? I would like to apply effect on the final rendering or on the single parts
    • Oct 18 2020 | 10:32 am
      "You know nothing, Jon Snow"
      Sorry, too easy, couldn't resist ;-)
      Have a look at the tutorials section here in this site. The forums are a very good source of information also, but not structured and difficult to access for your purposes, because the information is spread out on different topics. Anyway, when I'm looking for something very specific, I search the forums through Google, the forum's search functionality in not very good (for instance, type "capture scene site:cycling74.com/forums"). Another very nice source of information for Jitter is Federico's "Amazing Max Tutorials" channel on YouTube, he's doing a great job. Regarding your other question, you can process objects or entire scenes with effects using objects like jit.gl.node or jit.gl.pass. Check the respective help files and the Max/Jitter examples for more information on their usage. Good luck!
    • Oct 18 2020 | 1:41 pm
      Thank you very much ;)
    • Oct 19 2020 | 3:00 pm
      sorry to bother longer... I'm going further with that patch, but I have a new problem
      when enabling capture on both the jit.gl.node, the writings disappear it works well, the writings have the blurry effect thanks to slab but it doesn't work after the node is capturing can you please help me figuring this out?
    • Oct 20 2020 | 11:20 am
      The problem is that it is not easy combining several images. You are sending 2 textures to jit.world's internal videoplane and it can only show one. You would need to combine the images first, probably using images with alpha channels and then send it to jit.world.
    • Oct 20 2020 | 2:25 pm
      I've solved it using jit.gl.pix @gen xfade