This took far too long to find the info for. You don't want code or patches. You want: CTRL AND SHIFT, LEFT CLICK DRAG (or command and shift if you're on Mac)
one way of loading a movie file is to use the "jit.movie" object, with a few parameters. jit.movie @vol 0 @moviefile bball.mov the @vol 0 reduces the volume to zero, sometimes you don't want the audio from your video file @moviefile specifies the file. bball.mov is a built-in movie file. You might have a full path, or even a file on the desktop. eg. Desktop:/myname.mov The jit.movie object also needs a way to display - use a jit.pwindow. Plug the left output into the pwindow's left input. You'll also need to bang the jit.movie to update the pwindow! You could plug a button (b) into the jit.movie and keep pressing it......... But this is going to be annoying to do manually, so we can use a "metro" object (which is metronome) and specify how often we want to send a bang message. This is measured in milliseconds. To achieve 30 fps you'd use a value of 33. Because 1000/30 = 33.3333333333 So, hit n, type metro 33 then have that connected to the input of...
This is supposed to be a fast and automated way of loading textures into the jit.gl.texture... Honestly... it would be far quicker to drag the images onto the object as mentioned in the previous post, but I guess it is worth mentioning the "this patcher" object which provides the path for where the patch has been saved (displayed using the message object). It seems like you have to pass it a "path" message for it to output the info. Next we use sprintf to add the rock/Rock..............etc to the end of the path. I believe the %s represents the string that you pass into the sprintf object, eg the path. The symout is present to process any symbols or spaces as text. Prepend adds the "read" message in front of the full path of the texture file, this gets piped into the jit.gl.texture and when banged the texture should be loaded in. You might find you have to click some of the upper bits of the path to trigger it all. I find this method a bit extra, but I d...
Comments
Post a Comment