In the previous simple jit.movie example, we were displaying the movie file as a matrix. This lives in our computer's RAM. A faster way to display the file would be as a texture, in a "GL context". Basically we are using our GPU to do some work and you just have to accept it is faster this way. You still load your files in to the jit.movie object (though here I am using a "read" message to let me select a file). And you plug the output into a jit.pwindow still too. However notice we are specifying jit.movie OUTPUTS A TEXTURE... The message box coming out of the jit.movie also identifies it as a jit_gl_texture. If you did not specify the output_texture, it would show up as a matrix. the jit_world object is required to make the movie actually show up in the jit.pwindow. It also does the metro-bang for you, apparently it matches the native FPS of your display. Your movie might not actually match that FPS though....so you might be displaying unnecessary frames! This...
Notes from Ned Rush's 80's retro visuals video - https://youtu.be/LiUCD-8vgFY What' we're making - spheres instanced onto a noisy point base AND making a weird grid thing that connects all the points up Going to break down several parts of this video separately so it's easier to search for on this blog. Firstly introducing noise to the points that we're instancing onto. firstly we make a gridshape to define the shape - here we're using a torus and we make sure we are outputting the matrix. Lets setup the shapes we're instancing next. We're using spheres. We're going to use a jit.noise with 3 planes (3 axes) of type float32 (values 0-1) and size of 2 2 2 (fairly low frequency noise, think of 3d textures). I remap the noise using jit.map to a range of -4 to 4. Now... we can actually plug the result of the noise or map straight into the jit.* to multiply the torus matrix, and that will work, but the noise will need to be banged. I'm usi...
https://youtu.be/LiUCD-8vgFY a few last bits from this vid just a quick post.. Using the last post's setup, I wanted to do some 2d post processing. As if i was sending my renders to Nuke/After Effects..do a bit of blur, hue-sat, that sort of thing. The gist is - use jit.gl.node with @capture set to 1. Then attach everything you want to put on this layer into the middle output (i don't know why they don't have this on the top). The connected objects will then disappear from your jit.world window. Next you need to plug the left output of the gl.node into a jit.gl.layer. The selected objects should show up again. Now the interesting stuff, you can use vizzie nodes like BRCOSA, SLIDR etc inbetween the gl.node and gl.layer. Or say you want to composite them a bit? We use something called jit.gl.pix. You plug something into the left and something into the right, a bit like a Merge node in Nuke. If you lock the patch (or hold control) and double click the .gl.pix node, you can en...
Comments
Post a Comment