[jitter] lua gencoord
(())_n
kinomatic at gmail.com
Wed Oct 24 20:51:29 MDT 2007
- Previous message: [jitter] lua gencoord
- Next message: [jitter] lua gencoord
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 24, 2007, at 8:55 PM, MarkDavid Hosale wrote: > Wes is probably better able to address the issue you are describing > here as it relates to the code you posted. But, I was wondering, > what is your end goal? do you want to do some video processing on a > slab? Do some matrix processing with video? or do you want to just > texture some video planes? > > Depending on what you're trying to do I have some sample patches > that could help you and are definitely not suffering from this slow > down problem. > > A couple of little notes about this patch: > - you should erase your renderer after each bang i.e. [t b erase] > - it's really not important, but I would change the name of play() > to bang(), this way you can just run the metro directly to the > [prepend call] without the play message. It's more intuitive to me > since this is the way max objects work. Almost not worth mentioning > however... > > -markdavid Thanks for the tips markdavid, I made the changes. I am in the learning curve with lua. I am building some shapes with lua so I can have multiple shapes drawn with instances of jit.gl.mesh. That part is working. Although I am still trying to figure out drawraw in some respects because Joshua said it would be faster. Now I am trying to texture those shapes and thought I would create as many instances of jit.qt.movie to load onto my instances of jit.gl.texture. But I will not only be working with short movies. Some might be longer. So because of this limitation I will probably either go with the example I found in the archive of uploading frames of the videos to textures outside of lua and then binding them with the example of quads which wes posted a while ago or copy the output of the jit.qt.movie objects outside of jit.gl.lua to instances of jit.gl.matrix that are copied to instances of jit.gl.texture within lua. Then jit.gl.lua would just be for the opengl stuff and possibly uploading the textures. http://www.cycling74.com/pipermail/jitter/2007-July/009926.html Beyond that I am posting what I am figuring out using matrices in jit.gl.lua because it might be useful to others using lua. Sorry to tear up the bandwidth with this. (())_n
- Previous message: [jitter] lua gencoord
- Next message: [jitter] lua gencoord
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
