![]() |
|
#1
|
||||
|
||||
|
hello all,
(this is specifically about Max 5 jitter) alright i am just going to try my hardest to be clear and understandable (i appreciate it in advance... ) i have been putting together a live media project which i want to be finished with before the end of the semester (6 weeks and counting), and so i've been learning the basics about open gl, well, trying to anyway, and right now i am trying out the different rendering destinations. that chapter of the tutorial makes sense to me, but i am having trouble with the render to a matrix. what i would like to do is use the opengl with a jit.qt.grab. at first i was going to make a texture on the opengl using the live grab, but i'm not sure how to do that because the opengl that i am using is basically everything from the example patch called "plur", and the opengl texture tutorial does not show a way of using live video feed as a texture. so now i am just trying any possible way to use both the opengl and the jit.qt.grab simultaneously, whether thats with mathematical operations for blending, or crossfading with xfade, or whatever. so in order to do that, i think it is necessary to render the opengl in a matrix, right? well i can't seem to get the opengl to transfer from the jit.window to a jit.matrix anyway, i don't know why. and also, the live grab (which is from another patch i made specifically for my new firewire camera, and from which a nice uncompressed image quality with camera driver settings are located) went to complete doo-doo when i sent it to a jit.matrix.... so! not sure if that is possible or not. i would love it if somebody shared a method for using a live video feed and open gl together, or at least pointed me in the right direction! the only reason that i plan on using the plur example is, well, cos its awesome number one, but also it seems like it would take some time to put together a way of using even simple polygons and shapes like that which can be controlled and moved and so on.. time that i don't really have right now... so thanks so much for any feedback! |
|
#2
|
||||
|
||||
|
so you want to xfade the live input from jit.qt.grab with the opengl output of jit.gl.render?
then indeed you have to send the opengl to a matrix check the jit.gl.render help file there is the drawto message with this you can port the jit.gl.render output to a matrix or to a window but not at the same time i have no problems connecting a jit.qt.grab to a jit.gl.texture just connect ... could you attach your patch maybe ?
__________________
__________________________________ --http://www.vimeo.com/videomapping |
|
#3
|
||||
|
||||
|
sure i can post the patch, but i must warn you it's really messy right now. i will have to clean it up first i think. will post later tonight k? thanks a lot!
|
|
#4
|
||||
|
||||
|
hi MJ - i think i have abandoned the xfade idea but thats ok. i have fiddled around with it some more as you can see... the live input is now mapped onto a 3d object. you can also see that i have some objects and messages that are not connected to anything... i'm wondering how to use them - specifically the x and y step messages, gang, x and y range, and mode (i would like to use them to manipulate the live input). so now i can ask a more refined question(s): can jit.plur pass through my new 3d live input, so that it can be treated like so? and if so, how do i do that? do i need to make another jit.plur object?
i have attached another picture and i'll post my patch, too. in the picture, you can see the live input, which is an open cube 3d shape, and you can also see other lines which come from the jit.plur. what i would like to be able to do is to treat the live input like how these other lines and shapes are appearing in the picture i've attached (the ones that are not the live input, which is everything except the open cube shape). i'll be playing with it some more and i appreciate the help anyone. i will post results, too. ----------begin_max5_patcher---------- 3343.3oc6c0sbpibD9Z6mBUT6cg007ulIW4T497BjZKWBPFzdD HVIQr8t0VU dVxiVdRhleDFrA7nQRiGS7dNGvByB8708zcO8e5Ot8lIyJdNsZ RzeM5eFcyM +ws2bi5kjuvMlquYx5jmmmmTodaS1j9TwrecxT8upN84Z0K+qY 02sL+tUIaV jmF8XQQz8YaVkVlU+PcYxlpGKJWGAituLYQ1tpHTz8I6pKdnrn NoNMB194km sIcdwtMpOTj4EerXScU1umJeMH7NpfB4wle2lcqy1jmVqHNn4E 2lTOeU1lkO TlNuVu3HM+OBlFwiAxmfBj7IL9NPzu75mTwt51Op1u6rEpkWyR 9mg.5jCnnM IqUTzj+VYVRd6uQ+QT+x1T826jISa9WzuH+s+4s2JeXZ+Q5s46 JitOuH5mg2 Ec+prH4SKS1rLBLY.AMDhn.MLWAZZrCA5FnQb.zZViOrNotL6Y 2gu0oUUIKS eG9Ustnnd0CUqZjDa.L3zn7rkqpkq7zMIyx6iz3prEKR2bHpdD TiNOTKXJ4S LQg3PnBpwvyB0vSA0PWjOGTvcdyWZYRDV9moQ+1tjEOrrLawzH WQc7nh5wrX ENGqQchhGHYAcA0QdC0OiFg7hjEyZ17Oo+X0ETFHzZPQZAUJ+C zEbRnB6.To VYtAW6VOKsbHUHxzp.Y.lBCbPeHO1AHHqYuvz9fDma655hEoQ+ DryPD5igHj R.gp.JHuKhIbt+1PM3RHTJVu8vcIDwmgDxHfDZmG5wdEA3JAID z9hDvPRqwK Oz3Q+xgVw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3jM3DyutpPsws.pmCo.wV4I+ oxjYi5I4c2 CepxjZKN4QZhYKM4u8cLjs7NORS1rui428cLb3kkOJO7noXP3Q Sr.DmXAXlr YAHuylf5+lJDZzEwgAmmubapQJte4bbarrv86Ay4138D2uAvfa i0Ntes1Irw 6Ige4cBa11I7aP5D1nwT3Y4IaNIk.DfzjeClovFKvBd.RS9M33 hXqR0ueEnD 13RmP34heAaERg7aISZIU0wxJQXJqDfp4JEwudUeUUX0gj86V. NH7no3w.mn wpxKgpGJJTrt2DeyU5I9j4V+2QWwLsmFUUkQpq5aFBrJagczYa JLVU2L388U c6U8kZgi.0JKOSI8oaI9Vpk.5O0hFApEGC0zG9Hps+RBH7XPsP c4TYZW4Vpk 0+J4HdDnVIgonOwQTa+q6DDcDnVHWislArsgZon9SsrQnhdLjm tQSM0UWb+k CPfQ.YeS+Uc6ed6+CUMcPAB -----------end_max5_patcher----------- |
|
#5
|
||||
|
||||
|
alright cool i figured it out thanks
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
![]() |
| Tags |
| jitter, live video, opengl |
| Thread Tools | |
| Display Modes | |
|
|