Posts

Showing posts with the label instance

using noise with multiples/instancing

Image
 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...

jit.gl.multiples or instancing, jit.mo and some audio reactive goodies

Image
 Might be a long post...it's a bunch of notes about this  video by Federico. He's using Max 8.something, I'm hoping this knowledge is not obsolete with the new 3d jitter geom stuff that we got in Max 9! ANYWAY. To instance jit.gl shapes we use something called jit.gl.multiple (I think this used to be called jit.gl.multipleS) and plug it into the jit.gl.mesh we want to instance all over the place. It takes a few specific attributes, which will create extra inputs on the top of the node when we specify we are using them. Notice we specify the "context" or the name of the gl.world (myWorld) and the number of inputs we want (3). We also have to use the @glparam to specify the parameters...for whatever reason.    First lets tackle what we want to plug into the position . All of these inputs will need to be matrices. We could use a noise with 3 values as a position vector. We'd use the "jit.noise" node. This creates values between 0 and 1. We'll need t...