Forums > Jitter

I need help, I can not find where is the problem with my patch (jit.gl.videoplane, jit.gl.slab)

August 2, 2007 | 6:34 pm

You can’t see anything in the pwindows because jit.gl.videoplane
doesn’t output a matrix unless you tell it to.

Your patch is really big. To figure out why it doesn’t work they way
you want it to, strip out as much as possible, see if the stripped-
down version does what you want, then build it back up piece by
piece, testing as you go. Also, use only one qmetro and throttle its
bangs with [qlim] as needed, and remove all the updating numberboxes
– they’ll slow your patch waaay down.

If I understand whatever you’re after, I think you’re going to need
to render your GL objects (the videoplanes) to textures before you
composite them, e.g.,

send movie to [videoplane @automatic 0]
move it (many times), bang it (thus telling the render to draw it)
render to texture (look in the example patches for this)
send ‘erase’ to the render
repeat the steps above for your next movie/plane,
route your textures to slabs to composite them,
send the result to another [jit.gl.videoplane @transform_reset 2],
finally bang jit.gl.render to draw your composited result.

good luck!

dan


August 2, 2007 | 9:06 pm

Quote: Dan wrote on Thu, 02 August 2007 14:00
—————————————————-
> You can’t see anything in the pwindows because jit.gl.videoplane
> doesn’t output a matrix unless you tell it to.
>
> Your patch is really big. To figure out why it doesn’t work they way
> you want it to, strip out as much as possible, see if the stripped-
> down version does what you want, then build it back up piece by
> piece, testing as you go. Also, use only one qmetro and throttle its
> bangs with [qlim] as needed, and remove all the updating numberboxes
> — they’ll slow your patch waaay down.
>
> If I understand whatever you’re after, I think you’re going to need
> to render your GL objects (the videoplanes) to textures before you
> composite them, e.g.,
>
> send movie to [videoplane @automatic 0]
> move it (many times), bang it (thus telling the render to draw it)
> render to texture (look in the example patches for this)
> send ‘erase’ to the render
> repeat the steps above for your next movie/plane,
> route your textures to slabs to composite them,
> send the result to another [jit.gl.videoplane @transform_reset 2],
> finally bang jit.gl.render to draw your composited result.
>
> good luck!
>
> dan
>
>
—————————————————-

Hi,

That’s make more sense to me. Thank you so much. I finally made my movies show in the window but I couldn’t make the jit.gl.slab work (jit.gl.slab seems can not blend anything after jit.gl.videoplane). Now I am going to send those videoplanes to jit.gl.texture first before jit.gl.slab.

My question is according to what you said, after I compose my video in the slab, I send to jit.gl.videoplane again and use[jit.gl.videoplane @transform_reset 2], should I put a new window name on it? I mean, like jit.gl.videoplane foo @transform_reset 2] )??

thanks again


August 2, 2007 | 9:26 pm

Ok,
You don’t send a videoplane to a slab. You have some major
misconceptions about how things work in OpenGL. Please read the
following _very_ carefully.

1a) Slabs work with textures. They take textures as input and give
textures as output
1b) Slabs can also work with matrices. When a matrix is sent to a
slab, internally it is converted to a texture.
2) A videoplane is a plane in space. It is geometry, not a texture.
It is used to display textures in OpenGL.

HTH,
wes


August 2, 2007 | 10:24 pm

Quote: wesley.hoke@gmail.com wrote on Thu, 02 August 2007 15:26
—————————————————-
> Ok,
> You don’t send a videoplane to a slab. You have some major
> misconceptions about how things work in OpenGL. Please read the
> following _very_ carefully.
>
> 1a) Slabs work with textures. They take textures as input and give
> textures as output
> 1b) Slabs can also work with matrices. When a matrix is sent to a
> slab, internally it is converted to a texture.
> 2) A videoplane is a plane in space. It is geometry, not a texture.
> It is used to display textures in OpenGL.
>
> HTH,
> wes
>
—————————————————-

Hi

I know the conception is far more important then know how to use the object. I feel like I am the most stupid people in this community. I do feel empty even I read all the tutorials in Max/MSP/jitter because I can not understand everything even I read it more then 3 times. Please forgive me and let me ask this question: how to understand the basic concept of OpenGL for a guy who know almost nothing about programming and those related things? Is there any books or something you recommend me to do or to read?



MJ
August 2, 2007 | 10:49 pm

hi

maybe start here http://en.wikipedia.org/wiki/OpenGL

or maybe here http://nehe.gamedev.net/

and since youre flooding the forum with all your questions, whats your name?
and where does UCDMSRA stand for?

-mj

>
>
>I know the conception is far more important then know how to use the
>object. I feel like I am the most stupid people in this community. I
>do feel empty even I read all the tutorials in Max/MSP/jitter
>because I can not understand everything even I read it more then 3
>times. Please forgive me and let me ask this question: how to
>understand the basic concept of OpenGL for a guy who know almost
>nothing about programming and those related things? Is there any
>books or something you recommend me to do or to read?


August 3, 2007 | 12:34 am

Quote: wesley.hoke@gmail.com wrote on Thu, 02 August 2007 15:26
—————————————————-
> Ok,
> You don’t send a videoplane to a slab. You have some major
> misconceptions about how things work in OpenGL. Please read the
> following _very_ carefully.
>
> 1a) Slabs work with textures. They take textures as input and give
> textures as output
> 1b) Slabs can also work with matrices. When a matrix is sent to a
> slab, internally it is converted to a texture.
> 2) A videoplane is a plane in space. It is geometry, not a texture.
> It is used to display textures in OpenGL.
>
> HTH,
> wes
>
—————————————————-

Hi Wesley,

I guess I am done with videoplane. I suddenly realized that maybe only using jit.gl.texture and jit.gl.slab is pretty much enough for me to do what I want. I think too much before!!! I just changed everything and started from the scratch with only jit.gl.texture and jit.gl.slab….and it seems that I don’t really need videoplane.

Thanks for your explain and it is really good for me to finally understand that I NEED to think gl objects as a 3D object just like what I did in some 3D modeling software……not only think it as 2D.

thanks for your patience, really appreciate that


August 3, 2007 | 1:04 am

Quote: MJ wrote on Thu, 02 August 2007 16:49
—————————————————-
> hi
>
> maybe start here http://en.wikipedia.org/wiki/OpenGL
>
> or maybe here http://nehe.gamedev.net/
>
> and since youre flooding the forum with all your questions, whats your name?
> and where does UCDMSRA stand for?
>
>
> -mj
>
>
> >
> >
> >I know the conception is far more important then know how to use the
> >object. I feel like I am the most stupid people in this community. I
> >do feel empty even I read all the tutorials in Max/MSP/jitter
> >because I can not understand everything even I read it more then 3
> >times. Please forgive me and let me ask this question: how to
> >understand the basic concept of OpenGL for a guy who know almost
> >nothing about programming and those related things? Is there any
> >books or something you recommend me to do or to read?
>
>
—————————————————-

You guys probably know that I am not American because my poor English. Yes, I am a international student. UCDMSRA ==> University of Colorado at Denver, Master of Science at Recording Arts. This is what I am taking right now.

Actually I was film student. My major was film production in BFA and MFA (MFA is my first Master degree). Anyway, my major is audio engineering here. It is MS degree but really nothing about computer programming. What we usually do is recording, mixing, mastering…etc. Because I was film major before so I usually do sound design and sound track ind video/film.

I am graduate student so I am doing my thesis right now. Unlike all my other classmates, I don’t want to just record a album, do some sound design stuff, analyze waves or do something we have already done again and again in past two years. I want to do something different. Sure I can graduate very easy if I choose what I am good at for my thesis topic but I don’t want to do that…..so I choose Max/MSP and jitter for my thesis project. (yes, I am the ONLY ONE who take Max/MSP for the thesis project here from the past few years till now and I am very proud)

It is pain, really pain in the ass, believe me….because nobody knows/teach Max.MSP here and nobody care. I need to do almost everything by myself. Yes, I tried to find somebody in CU-Boulder and DU but didn’t get response. So, what I usually do is ask stupid questions here and hope I can get some help.

It it getting better now. I think I am about to finish my thesis….(I hope). If I can not make it, that’s still fine because at least I tried. So I know if cycling 74′ forums has some awards, I am the one to get "the most stupid questions student" here…..but again, I don’t regret because at least I tried.

Very appreciate you guys help me out here and I say it with all my respect. I never think I will be a programmer or something like that because I really hate programming. I just want to do something even I hate it….ha ha


August 3, 2007 | 1:13 am

No need to apologize. Don’t worry, none of us were born knowing
opengl. It will come in time.

wes

On 8/2/07, UCDMSRA wrote:
>
> Quote: MJ wrote on Thu, 02 August 2007 16:49
> —————————————————-
> > hi
> >
> > maybe start here http://en.wikipedia.org/wiki/OpenGL
> >
> > or maybe here http://nehe.gamedev.net/
> >
> > and since youre flooding the forum with all your questions, whats your name?
> > and where does UCDMSRA stand for?
> >
> >
> > -mj
> >
> >
> > >
> > >
> > >I know the conception is far more important then know how to use the
> > >object. I feel like I am the most stupid people in this community. I
> > >do feel empty even I read all the tutorials in Max/MSP/jitter
> > >because I can not understand everything even I read it more then 3
> > >times. Please forgive me and let me ask this question: how to
> > >understand the basic concept of OpenGL for a guy who know almost
> > >nothing about programming and those related things? Is there any
> > >books or something you recommend me to do or to read?
> >
> >
> —————————————————-
>
> You guys probably know that I am not American because my poor English. Yes, I am a international student. UCDMSRA ==> University of Colorado at Denver, Master of Science at Recording Arts. This is what I am taking right now.
>
> Actually I was film student. My major was film production in BFA and MFA (MFA is my first Master degree). Anyway, my major is audio engineering here. It is MS degree but really nothing about computer programming. What we usually do is recording, mixing, mastering…etc. Because I was film major before so I usually do sound design and sound track ind video/film.
>
> I am graduate student so I am doing my thesis right now. Unlike all my other classmates, I don’t want to just record a album, do some sound design stuff, analyze waves or do something we have already done again and again in past two years. I want to do something different. Sure I can graduate very easy if I choose what I am good at for my thesis topic but I don’t want to do that…..so I choose Max/MSP and jitter for my thesis project. (yes, I am the ONLY ONE who take Max/MSP for the thesis project here from the past few years till now and I am very proud)
>
> It is pain, really pain in the ass, believe me….because nobody knows/teach Max.MSP here and nobody care. I need to do almost everything by myself. Yes, I tried to find somebody in CU-Boulder and DU but didn’t get response. So, what I usually do is ask stupid questions here and hope I can get some help.
>
> It it getting better now. I think I am about to finish my thesis….(I hope). If I can not make it, that’s still fine because at least I tried. So I know if cycling 74′ forums has some awards, I am the one to get "the most stupid questions student" here…..but again, I don’t regret because at least I tried.
>
> Very appreciate you guys help me out here and I say it with all my respect. I never think I will be a programmer or something like that because I really hate programming. I just want to do something even I hate it….ha ha
>



MJ
August 3, 2007 | 1:38 am

is it A-Kuang from Taiwan?

-mj


August 3, 2007 | 3:53 am

Quote: MJ wrote on Thu, 02 August 2007 19:38
—————————————————-
> is it A-Kuang from Taiwan?
>
> -mj
—————————————————-

Yeah, you from Taiwan too?


August 3, 2007 | 7:41 am

Quote: wesley.hoke@gmail.com wrote on Thu, 02 August 2007 15:26
—————————————————-
> Ok,
> You don’t send a videoplane to a slab. You have some major
> misconceptions about how things work in OpenGL. Please read the
> following _very_ carefully.
>
> 1a) Slabs work with textures. They take textures as input and give
> textures as output
> 1b) Slabs can also work with matrices. When a matrix is sent to a
> slab, internally it is converted to a texture.
> 2) A videoplane is a plane in space. It is geometry, not a texture.
> It is used to display textures in OpenGL.
>
> HTH,
> wes
>
—————————————————-

Hi Wesley,

My head is getting clear. I hope you can kindly take a look at this patch. This is just what I basically want to do. (of course I need to put more stuff in like random position, rotation…) but I think this time I am getting close. Maybe I am wrong again but would you please take a look at it and let me know if I am wrong.

One thing I don’t understand is what is [r render] doing in this patch?

By the way, when I run the patch, Max window show a bunch of "error:ob3d_draw_begin,no context.." what is that? The error message seems very scary but everything looks fine…

thanks


August 3, 2007 | 7:42 am

Quote: wesley.hoke@gmail.com wrote on Thu, 02 August 2007 15:26
—————————————————-
> Ok,
> You don’t send a videoplane to a slab. You have some major
> misconceptions about how things work in OpenGL. Please read the
> following _very_ carefully.
>
> 1a) Slabs work with textures. They take textures as input and give
> textures as output
> 1b) Slabs can also work with matrices. When a matrix is sent to a
> slab, internally it is converted to a texture.
> 2) A videoplane is a plane in space. It is geometry, not a texture.
> It is used to display textures in OpenGL.
>
> HTH,
> wes
>
—————————————————-

Oops, I forgot to past my patch, sorry my bad..

thanks

max v2;
#N vpatcher 343 150 1209 732;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 663 282 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 862 208 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 862 229 42 196617 rate $1;
#P message 750 205 83 196617 read dishes.mov;
#P message 796 229 27 196617 stop;
#P message 762 229 31 196617 start;
#P flonum 705 208 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 663 208 15 0;
#P newex 663 228 52 196617 metro 30;
#P message 826 229 31 196617 clear;
#P newex 663 256 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 144 365 79 196617 read co.add.jxs;
#P newex 130 386 74 196617 jit.gl.slab test;
#P newex 395 286 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 594 212 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 594 233 42 196617 rate $1;
#P message 482 209 83 196617 read dishes.mov;
#P message 528 233 27 196617 stop;
#P message 494 233 31 196617 start;
#P flonum 437 212 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 395 212 15 0;
#P newex 395 232 52 196617 metro 30;
#P message 558 233 31 196617 clear;
#P newex 395 260 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 138 314 79 196617 read op.add.jxs;
#P newex 130 335 74 196617 jit.gl.slab test;
#P newex 376 57 70 196617 jit.alphablend;
#P newex 130 423 103 196617 jit.gl.videoplane test;
#B color 5;
#P newex 130 288 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 329 214 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 329 235 42 196617 rate $1;
#P message 217 211 83 196617 read dishes.mov;
#P message 263 235 27 196617 stop;
#P message 229 235 31 196617 start;
#P flonum 172 214 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 130 214 15 0;
#P newex 130 234 52 196617 metro 30;
#P message 293 235 31 196617 clear;
#P newex 130 262 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 153 97 34 196617 reset;
#P newex 153 117 186 196617 jit.gl.handle test @inherit_transform 1;
#P newex 18 117 48 196617 r render;
#P toggle 133 88 15 0;
#N vpatcher 53 128 279 297;
#P inlet 106 30 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 43 95 47 196617 gate 1 1;
#P newex 42 116 41 196617 s draw;
#P window linecount 1;
#P newex 17 52 58 196617 t b b erase;
#P inlet 17 32 15 0;
#P outlet 17 83 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P fasten 2 2 0 0 70 75 22 75;
#P connect 4 0 3 0;
#P fasten 5 0 4 0 111 88 48 88;
#P fasten 2 1 4 1 46 83 85 83;
#P lcolor 15;
#P pop;
#P newobj 71 117 42 196617 p Draw;
#P toggle 209 56 15 0;
#P message 209 76 68 196617 fullscreen $1;
#N vpatcher 30 89 166 253;
#P window setfont "Sans Serif" 9.;
#P newex 50 71 35 196617 sel 27;
#P newex 50 50 40 196617 key;
#P outlet 50 93 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 226 56 33 196617 p Esc;
#P newex 209 94 151 196617 jit.window test @depthbuffer 1;
#P toggle 71 69 15 0;
#P newex 71 88 57 196617 qmetro 30;
#P newex 71 144 187 196617 jit.gl.render test @erase_color 0 0 0 1;
#P connect 2 0 1 0;
#P connect 1 0 7 0;
#P fasten 9 0 0 0 23 139 76 139;
#P connect 7 0 0 0;
#P fasten 10 0 0 0 158 139 76 139;
#P fasten 8 0 7 1 138 110 108 110;
#P connect 15 0 14 0;
#P fasten 14 0 12 0 135 259 135 259;
#P fasten 13 0 12 0 298 256 135 256;
#P fasten 17 0 12 0 234 256 135 256;
#P fasten 18 0 12 0 268 256 135 256;
#P fasten 19 0 12 0 222 256 135 256;
#P fasten 20 0 12 0 334 256 135 256;
#P connect 12 0 22 0;
#P connect 22 0 25 0;
#P connect 26 0 25 0;
#P connect 25 0 38 0;
#P connect 39 0 38 0;
#P connect 38 0 23 0;
#P connect 11 0 10 0;
#P connect 16 0 14 1;
#P fasten 37 0 25 1 400 320 221 320 221 332 199 332;
#P fasten 50 0 38 1 668 353 232 353 232 385 199 385;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 3 0;
#P connect 21 0 20 0;
#P connect 30 0 29 0;
#P fasten 35 0 27 0 599 254 400 254;
#P fasten 34 0 27 0 487 254 400 254;
#P fasten 33 0 27 0 533 254 400 254;
#P fasten 32 0 27 0 499 254 400 254;
#P fasten 28 0 27 0 563 254 400 254;
#P fasten 29 0 27 0 400 257 400 257;
#P connect 27 0 37 0;
#P connect 31 0 29 1;
#P connect 36 0 35 0;
#P connect 43 0 42 0;
#P fasten 42 0 40 0 668 253 668 253;
#P fasten 41 0 40 0 831 250 668 250;
#P fasten 45 0 40 0 767 250 668 250;
#P fasten 46 0 40 0 801 250 668 250;
#P fasten 47 0 40 0 755 250 668 250;
#P fasten 48 0 40 0 867 250 668 250;
#P connect 40 0 50 0;
#P connect 44 0 42 1;
#P connect 49 0 48 0;
#P pop;



MJ
August 3, 2007 | 1:25 pm

hi

the "r render" is "read render" see help file

use less metros
you can add a send after the metro and multiple reads at point where
you want the metro.
here is an more optimized version of your patch

you did "read co.add.jxs" to a slab , but i dont have that so i
changed it to co.additive.jxs

the videoplane has a "reset_transform 2" to make it same ratio as window

-mj
( and no i’m not from taiwan i’m from utrecht (40km south of
amsterdam in the netherlands, found your name in google…:) )

the patch ->

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 194 410 32 196617 print;
#P message 57 363 67 196617 getparamlist;
#P newex 194 500 32 196617 print;
#P message 67 444 67 196617 getparamlist;
#P flonum 325 429 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 324 450 88 196617 param amount $1;
#P newex 59 60 52 196617 r subway;
#P newex 133 106 58 196617 t b erase b;
#P newex 663 209 52 196617 r subway;
#P newex 395 215 52 196617 r subway;
#P user jit.fpsgui 59 86 60 196617 0;
#P newex 130 218 52 196617 r subway;
#P newex 181 131 52 196617 s subway;
#P newex 663 282 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 862 208 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 862 229 42 196617 rate $1;
#P message 750 205 83 196617 read dishes.mov;
#P message 796 229 27 196617 stop;
#P message 762 229 31 196617 start;
#P message 826 229 31 196617 clear;
#P newex 663 256 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 213 449 100 196617 read co.additive.jxs;
#P newex 130 473 74 196617 jit.gl.slab test;
#P newex 395 286 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 594 212 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 594 233 42 196617 rate $1;
#P message 482 209 83 196617 read dishes.mov;
#P message 528 233 27 196617 stop;
#P message 494 233 31 196617 start;
#P message 558 233 31 196617 clear;
#P newex 395 260 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 232 359 79 196617 read op.add.jxs;
#P newex 130 384 74 196617 jit.gl.slab test;
#P newex 130 599 199 196617 jit.gl.videoplane test @transform_reset 2;
#B color 5;
#P newex 130 288 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 329 214 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 329 235 42 196617 rate $1;
#P message 217 211 83 196617 read dishes.mov;
#P message 263 235 27 196617 stop;
#P message 229 235 31 196617 start;
#P message 293 235 31 196617 clear;
#P newex 130 262 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 356 492 34 196617 reset;
#P newex 356 512 84 196617 jit.gl.handle test;
#P toggle 336 117 15 0;
#P message 336 137 68 196617 fullscreen $1;
#N vpatcher 30 89 166 253;
#P window setfont "Sans Serif" 9.;
#P newex 50 71 35 196617 sel 27;
#P newex 50 50 40 196617 key;
#P outlet 50 93 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 353 117 33 196617 p Esc;
#P newex 336 155 151 196617 jit.window test @depthbuffer 1;
#P toggle 133 60 15 0;
#P newex 133 79 57 196617 qmetro 30;
#P newex 133 156 187 196617 jit.gl.render test @erase_color 0 0 0 1;
#P connect 39 0 9 0;
#P connect 18 1 50 0;
#P connect 49 0 18 0;
#P connect 28 1 48 0;
#P connect 47 0 28 0;
#P connect 46 0 45 0;
#P connect 45 0 28 0;
#P connect 8 0 7 0;
#P fasten 7 0 17 0 361 553 135 553;
#P connect 44 0 40 0;
#P fasten 43 1 0 0 162 142 138 142;
#P connect 43 0 0 0;
#P connect 43 2 38 0;
#P connect 1 0 43 0;
#P connect 28 0 17 0;
#P connect 42 0 30 0;
#P connect 41 0 20 0;
#P connect 36 0 35 0;
#P connect 30 0 37 0;
#P fasten 35 0 30 0 867 250 668 250;
#P fasten 34 0 30 0 755 250 668 250;
#P fasten 33 0 30 0 801 250 668 250;
#P fasten 32 0 30 0 767 250 668 250;
#P fasten 31 0 30 0 831 250 668 250;
#P connect 26 0 25 0;
#P connect 20 0 27 0;
#P fasten 21 0 20 0 563 254 400 254;
#P fasten 22 0 20 0 499 254 400 254;
#P fasten 23 0 20 0 533 254 400 254;
#P fasten 24 0 20 0 487 254 400 254;
#P fasten 25 0 20 0 599 254 400 254;
#P connect 15 0 14 0;
#P connect 5 0 3 0;
#P connect 6 0 5 0;
#P connect 4 0 6 0;
#P fasten 37 0 28 1 668 417 232 417 232 431 199 431;
#P fasten 27 0 18 1 400 320 221 320 221 380 199 380;
#P connect 29 0 28 0;
#P connect 18 0 28 0;
#P connect 19 0 18 0;
#P connect 16 0 18 0;
#P connect 9 0 16 0;
#P fasten 14 0 9 0 334 256 135 256;
#P fasten 13 0 9 0 222 256 135 256;
#P fasten 12 0 9 0 268 256 135 256;
#P fasten 11 0 9 0 234 256 135 256;
#P fasten 10 0 9 0 298 256 135 256;
#P connect 2 0 1 0;
#P window clipboard copycount 51;



Dan
August 3, 2007 | 4:49 pm

Actually [r render] is shorthand for [receive render]. Check
receive.help. On Mac, you can Cmd+doubleclick on [send], [receive]
and [forward] to find out where it’s sending/receiving/forwarding
from/to, e.g., if I have [r foo] and [s foo] on a patch, double-
clicking on [r foo] will bring up a small menu with [s foo] in it,
and clicking in that menu will open up the patch or subpatch
containing [s foo].

UCDMSRA, you’ve said that you’ve had a tough time going through the
tutorials (because of your English?) but have you played with the
tutorial patches and example patches? Taking some time to pick them
apart and look in the help files for objects you don’t know can be
very rewarding.

best,
dan


August 3, 2007 | 6:07 pm

Quote: Dan wrote on Fri, 03 August 2007 10:49
—————————————————-
> Actually [r render] is shorthand for [receive render]. Check
> receive.help. On Mac, you can Cmd+doubleclick on [send], [receive]
> and [forward] to find out where it’s sending/receiving/forwarding
> from/to, e.g., if I have [r foo] and [s foo] on a patch, double-
> clicking on [r foo] will bring up a small menu with [s foo] in it,
> and clicking in that menu will open up the patch or subpatch
> containing [s foo].
>
> UCDMSRA, you’ve said that you’ve had a tough time going through the
> tutorials (because of your English?) but have you played with the
> tutorial patches and example patches? Taking some time to pick them
> apart and look in the help files for objects you don’t know can be
> very rewarding.
>
> best,
> dan
>
>
—————————————————-

I know r is "receive", but I don’t know what is "render" here stand for because I didn’t see "s render". Since there is a "r render", I think there should be a "s render" somewhere but I didn’t see.

Well, I think my English is enough to go through all the tutorial in Max/MSP and jitter…..and I did, more then 3 times. The problem is…….I don’t know why, I just don’t understand some parts even I read it again and again.

Do you believe that some people really lake of "concept of logic structure"?? I still remember around 10 years ago I took a Visual Basic class and I really couldn’t get it. In the same assignment, it is maybe only took 10 to 20 lines for my classmate to do what they want but it took me 40 lines and have bugs everywhere. From that time I felt that I am not the programming guy because I don’t have that kind of logical pattern.

I did look all the help files in Max/MSP and jitter, but what I can do right now is usually do things from help file or the exist file first. I am not the guy who is very good at "think out of the box" in those programming thing. I can be very creative with art design, motion graphic or sound design but I just can’t be smart when I get into programming thing. If something doesn’t "exactly" covered by help file I might screw up even a slight change.

I think I still need time to go through it and I need to see more patches.


August 3, 2007 | 6:29 pm

We all know what it feels like to not understand something. There is no
reason to put yourself down over it. Many of us here have been lucky
enough to be taught by smart and helpful teachers in learning to use
MaxMSP and Jitter.

If you would like to find some help learning Jitter, I would highly
recommend checking out the Resource Guide on cycling74.com:

http://www.cycling74.com/twiki/bin/view/ResourceGuide

There are a number of resources listed there for finding teachers,
schools, and workshops. You might also try hiring a tutor that is more
experienced with these matters to sit down and explain things. Many
Jitter users are also struggling artists/students and could use a
financial incentive.

Best of luck.

Andrew B.



Dan
August 3, 2007 | 9:54 pm

> We all know what it feels like to not understand something. There
> is no
> reason to put yourself down over it. Many of us here have been lucky
> enough to be taught by smart and helpful teachers in learning to use
> MaxMSP and Jitter.

I couldn’t agree more. Programming has never come easily for me. I
had two excellent teachers (a professor and a friend) who patiently
helped me visualize–in my head and on-screen–the code I didn’t
understand and the results I was after. Just give yourself some time
to absorb this stuff and it will come to you. Remember, your brain
learns something when you’re *not* doing it. ;)

By the way, I didn’t mean to suggest that your English sucked or that
you weren’t spending enough time with Max — sorry if I came off that
way. :) Good luck!


August 4, 2007 | 12:34 am

Quote: Dan wrote on Fri, 03 August 2007 15:54
—————————————————-
> > We all know what it feels like to not understand something. There
> > is no
> > reason to put yourself down over it. Many of us here have been lucky
> > enough to be taught by smart and helpful teachers in learning to use
> > MaxMSP and Jitter.
>
> I couldn’t agree more. Programming has never come easily for me. I
> had two excellent teachers (a professor and a friend) who patiently
> helped me visualize–in my head and on-screen–the code I didn’t
> understand and the results I was after. Just give yourself some time
> to absorb this stuff and it will come to you. Remember, your brain
> learns something when you’re *not* doing it. ;)
>
> By the way, I didn’t mean to suggest that your English sucked or that
> you weren’t spending enough time with Max — sorry if I came off that
> way. :) Good luck!
>
—————————————————-

Hi,

that’s fine, everybody has their own good part and weak part. I always believe that god is fair. Somebody good at something and somebody good at some other things. So I have already known my weak part one hundred years ago…. I just want to try it and don’t want to give it up so early. That’s why I respect you guys here because you have something I don’t have yet.

Now I just hope I can finish my project and thesis as soon as possible. I am supposed to graduate in May and go make some money to pay the rent and bills, but this Max/MSP thing makes me postpone my graduation. Just like I said, I never regret choose Max/MSP for my thesis topic because I did learn something here and I am very happy with that. I am still learning it and that is always a good thing for me.

thanks,

CK


August 4, 2007 | 3:19 am

god is fair?

hahahahahahahahahahahahahahahaahahahaaahahaahahahahaha

Sorry, I could not resist.

Honestly, I never thought of myself as a programmer when I started
toying with Max/MSP, but stick with it. God may not be fair, but she
certainly values perseverance. Keep at it, stare at the patch coords
- It will click eventually, and then again, and again. Next thing you
know…..

On Aug 3, 2007, at 8:34 PM, UCDMSRA wrote:

>
> Quote: Dan wrote on Fri, 03 August 2007 15:54
> —————————————————-
>>> We all know what it feels like to not understand something. There
>>> is no
>>> reason to put yourself down over it. Many of us here have been
>>> lucky
>>> enough to be taught by smart and helpful teachers in learning to use
>>> MaxMSP and Jitter.
>>
>> I couldn’t agree more. Programming has never come easily for me. I
>> had two excellent teachers (a professor and a friend) who patiently
>> helped me visualize–in my head and on-screen–the code I didn’t
>> understand and the results I was after. Just give yourself some time
>> to absorb this stuff and it will come to you. Remember, your brain
>> learns something when you’re *not* doing it. ;)
>>
>> By the way, I didn’t mean to suggest that your English sucked or that
>> you weren’t spending enough time with Max — sorry if I came off that
>> way. :) Good luck!
>>
> —————————————————-
>
> Hi,
>
> that’s fine, everybody has their own good part and weak part. I
> always believe that god is fair. Somebody good at something and
> somebody good at some other things. So I have already known my weak
> part one hundred years ago…. I just want to try it and don’t want
> to give it up so early. That’s why I respect you guys here because
> you have something I don’t have yet.
>
> Now I just hope I can finish my project and thesis as soon as
> possible. I am supposed to graduate in May and go make some money
> to pay the rent and bills, but this Max/MSP thing makes me postpone
> my graduation. Just like I said, I never regret choose Max/MSP for
> my thesis topic because I did learn something here and I am very
> happy with that. I am still learning it and that is always a good
> thing for me.
>
> thanks,
>
> CK

v a d e //

http://www.vade.info
abstrakt.vade.info


August 4, 2007 | 5:20 am

Quote: MJ wrote on Fri, 03 August 2007 07:25
—————————————————-
> hi
>
> the "r render" is "read render" see help file
>
> use less metros
> you can add a send after the metro and multiple reads at point where
> you want the metro.
> here is an more optimized version of your patch
>
> you did "read co.add.jxs" to a slab , but i dont have that so i
> changed it to co.additive.jxs
>
> the videoplane has a "reset_transform 2" to make it same ratio as window
>
> -mj
> ( and no i’m not from taiwan i’m from utrecht (40km south of
> amsterdam in the netherlands, found your name in google…:) )
>
> the patch ->
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 194 410 32 196617 print;
> #P message 57 363 67 196617 getparamlist;
> #P newex 194 500 32 196617 print;
> #P message 67 444 67 196617 getparamlist;
> #P flonum 325 429 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 324 450 88 196617 param amount $1;
> #P newex 59 60 52 196617 r subway;
> #P newex 133 106 58 196617 t b erase b;
> #P newex 663 209 52 196617 r subway;
> #P newex 395 215 52 196617 r subway;
> #P user jit.fpsgui 59 86 60 196617 0;
> #P newex 130 218 52 196617 r subway;
> #P newex 181 131 52 196617 s subway;
> #P newex 663 282 173 196617 jit.gl.texture test @colormode uyvy;
> #B color 5;
> #P flonum 862 208 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 862 229 42 196617 rate $1;
> #P message 750 205 83 196617 read dishes.mov;
> #P message 796 229 27 196617 stop;
> #P message 762 229 31 196617 start;
> #P message 826 229 31 196617 clear;
> #P newex 663 256 188 196617 jit.qt.movie 320 240 @colormode uyvy;
> #B color 5;
> #P message 213 449 100 196617 read co.additive.jxs;
> #P newex 130 473 74 196617 jit.gl.slab test;
> #P newex 395 286 173 196617 jit.gl.texture test @colormode uyvy;
> #B color 5;
> #P flonum 594 212 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 594 233 42 196617 rate $1;
> #P message 482 209 83 196617 read dishes.mov;
> #P message 528 233 27 196617 stop;
> #P message 494 233 31 196617 start;
> #P message 558 233 31 196617 clear;
> #P newex 395 260 188 196617 jit.qt.movie 320 240 @colormode uyvy;
> #B color 5;
> #P message 232 359 79 196617 read op.add.jxs;
> #P newex 130 384 74 196617 jit.gl.slab test;
> #P newex 130 599 199 196617 jit.gl.videoplane test @transform_reset 2;
> #B color 5;
> #P newex 130 288 173 196617 jit.gl.texture test @colormode uyvy;
> #B color 5;
> #P flonum 329 214 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 329 235 42 196617 rate $1;
> #P message 217 211 83 196617 read dishes.mov;
> #P message 263 235 27 196617 stop;
> #P message 229 235 31 196617 start;
> #P message 293 235 31 196617 clear;
> #P newex 130 262 188 196617 jit.qt.movie 320 240 @colormode uyvy;
> #B color 5;
> #P message 356 492 34 196617 reset;
> #P newex 356 512 84 196617 jit.gl.handle test;
> #P toggle 336 117 15 0;
> #P message 336 137 68 196617 fullscreen $1;
> #N vpatcher 30 89 166 253;
> #P window setfont "Sans Serif" 9.;
> #P newex 50 71 35 196617 sel 27;
> #P newex 50 50 40 196617 key;
> #P outlet 50 93 15 0;
> #P connect 1 0 2 0;
> #P connect 2 0 0 0;
> #P pop;
> #P newobj 353 117 33 196617 p Esc;
> #P newex 336 155 151 196617 jit.window test @depthbuffer 1;
> #P toggle 133 60 15 0;
> #P newex 133 79 57 196617 qmetro 30;
> #P newex 133 156 187 196617 jit.gl.render test @erase_color 0 0 0 1;
> #P connect 39 0 9 0;
> #P connect 18 1 50 0;
> #P connect 49 0 18 0;
> #P connect 28 1 48 0;
> #P connect 47 0 28 0;
> #P connect 46 0 45 0;
> #P connect 45 0 28 0;
> #P connect 8 0 7 0;
> #P fasten 7 0 17 0 361 553 135 553;
> #P connect 44 0 40 0;
> #P fasten 43 1 0 0 162 142 138 142;
> #P connect 43 0 0 0;
> #P connect 43 2 38 0;
> #P connect 1 0 43 0;
> #P connect 28 0 17 0;
> #P connect 42 0 30 0;
> #P connect 41 0 20 0;
> #P connect 36 0 35 0;
> #P connect 30 0 37 0;
> #P fasten 35 0 30 0 867 250 668 250;
> #P fasten 34 0 30 0 755 250 668 250;
> #P fasten 33 0 30 0 801 250 668 250;
> #P fasten 32 0 30 0 767 250 668 250;
> #P fasten 31 0 30 0 831 250 668 250;
> #P connect 26 0 25 0;
> #P connect 20 0 27 0;
> #P fasten 21 0 20 0 563 254 400 254;
> #P fasten 22 0 20 0 499 254 400 254;
> #P fasten 23 0 20 0 533 254 400 254;
> #P fasten 24 0 20 0 487 254 400 254;
> #P fasten 25 0 20 0 599 254 400 254;
> #P connect 15 0 14 0;
> #P connect 5 0 3 0;
> #P connect 6 0 5 0;
> #P connect 4 0 6 0;
> #P fasten 37 0 28 1 668 417 232 417 232 431 199 431;
> #P fasten 27 0 18 1 400 320 221 320 221 380 199 380;
> #P connect 29 0 28 0;
> #P connect 18 0 28 0;
> #P connect 19 0 18 0;
> #P connect 16 0 18 0;
> #P connect 9 0 16 0;
> #P fasten 14 0 9 0 334 256 135 256;
> #P fasten 13 0 9 0 222 256 135 256;
> #P fasten 12 0 9 0 268 256 135 256;
> #P fasten 11 0 9 0 234 256 135 256;
> #P fasten 10 0 9 0 298 256 135 256;
> #P connect 2 0 1 0;
> #P window clipboard copycount 51;
>
>
>
—————————————————-

Hi,

I think I still got trouble in this one. I tried to put something else in the patch…..actually I just want to adjust all the positions and scales of the movies I put in the jit.gl.texture. So I adjust the shape as plane, and I put [pak position] and [pak scale] on them. The weird thing is, at the first time, I can see the movies but no matter how I adjust the positions and scales, nothing changes in the test window. At the second time I tried to do it again, I can not see anything in the window.

I know I must do something wrong again or miss something….but I only put two more things in the patches. Would you please check my patch and tell me what I did wrong?

thank you so much

max v2;
#N vpatcher 332 65 1261 748;
#P origin 56 38;
#P toggle 1115 530 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 1603 512 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1565 512 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1525 512 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 1500 539 85 196617 pak scale 1. 1. 1.;
#P newex 1065 613 51 196617 s grimy1;
#P flonum 1622 560 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1584 560 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1544 560 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 1436 586 64 196617 shininess $1;
#P flonum 1436 563 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 1242 563 15 0;
#P message 1242 586 94 196617 smooth_shading $1;
#P message 968 589 79 196617 color 0. 1. 0. 1.;
#P toggle 1341 563 15 0;
#P message 1341 586 90 196617 lighting_enable $1;
#P toggle 919 568 15 0;
#P message 919 589 44 196617 axes $1;
#P toggle 1135 567 15 0;
#P toggle 1094 566 15 0;
#P newex 1053 587 92 196617 pak poly_mode 0 0;
#P hidden newex 1281 520 50 196617 loadbang;
#P toggle 1154 563 15 0;
#P message 1154 586 81 196617 depth_enable $1;
#P hidden message 1282 542 14 196617 1;
#P newex 1516 584 95 196617 pak position 0. 0. 0.;
#P newex 1171 454 81 196617 prepend capture;
#P user ubumenu 1171 428 72 196617 0 1 1 0;
#X add none;
#X add cap;
#X add tex;
#X add none;
#X add cap;
#X add tex;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P newex 1084 452 81 196617 prepend texture;
#P user ubumenu 1084 426 72 196617 0 1 1 0;
#X add none;
#X add tex;
#X add cap;
#X add none;
#X add tex;
#X add cap;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 1002 452 71 196617 prepend shape;
#P user ubumenu 1002 426 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 1014 479 213 196617 jit.gl.handle test @depth_enable 1 @radius 2.;
#P number 938 424 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 938 452 54 196617 dim $1 $1;
#P newex 951 487 51 196617 r grimy1;
#P newex 1002 512 99 196617 jit.gl.gridshape test;
#B color 5;
#P toggle 1124 145 15 0;
#P flonum 1612 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1574 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1534 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1509 154 85 196617 pak scale 1. 1. 1.;
#P newex 1074 228 43 196617 s grimy;
#P flonum 1631 175 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1593 175 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1553 175 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 1445 201 64 196617 shininess $1;
#P flonum 1445 178 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 1251 178 15 0;
#P message 1251 201 94 196617 smooth_shading $1;
#P message 977 204 79 196617 color 0. 1. 0. 1.;
#P toggle 1350 178 15 0;
#P message 1350 201 90 196617 lighting_enable $1;
#P toggle 928 183 15 0;
#P message 928 204 44 196617 axes $1;
#P toggle 1144 182 15 0;
#P toggle 1103 181 15 0;
#P newex 1062 202 92 196617 pak poly_mode 0 0;
#P hidden newex 1290 135 50 196617 loadbang;
#P toggle 1163 178 15 0;
#P message 1163 201 81 196617 depth_enable $1;
#P hidden message 1291 157 14 196617 1;
#P newex 1525 199 95 196617 pak position 0. 0. 0.;
#P newex 1158 77 81 196617 prepend capture;
#P user ubumenu 1158 51 72 196617 0 1 1 0;
#X add none;
#X add cap;
#X add tex;
#X add none;
#X add cap;
#X add tex;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 1071 75 81 196617 prepend texture;
#P user ubumenu 1071 49 72 196617 0 1 1 0;
#X add none;
#X add tex;
#X add cap;
#X add none;
#X add tex;
#X add cap;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 989 75 71 196617 prepend shape;
#P user ubumenu 989 49 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 1001 102 213 196617 jit.gl.handle test @depth_enable 1 @radius 2.;
#P number 925 47 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 925 75 54 196617 dim $1 $1;
#P newex 938 110 43 196617 r grimy;
#P newex 989 135 99 196617 jit.gl.gridshape test;
#B color 5;
#P newex 138 372 32 196617 print;
#P message 1 325 67 196617 getparamlist;
#P newex 138 462 32 196617 print;
#P message 11 406 67 196617 getparamlist;
#P flonum 269 391 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 268 412 88 196617 param amount $1;
#P newex 3 22 52 196617 r subway;
#P newex 77 68 58 196617 t b erase b;
#P newex 607 171 52 196617 r subway;
#P newex 339 177 52 196617 r subway;
#P user jit.fpsgui 3 48 60 196617 0;
#P newex 74 180 52 196617 r subway;
#P newex 125 93 52 196617 s subway;
#P newex 607 244 173 196617 jit.gl.texture test @colormode uyvy;
#B color 5;
#P flonum 806 170 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 806 191 42 196617 rate $1;
#P message 694 167 83 196617 read dishes.mov;
#P message 740 191 27 196617 stop;
#P message 706 191 31 196617 start;
#P message 770 191 31 196617 clear;
#P newex 607 218 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 157 411 100 196617 read co.additive.jxs;
#P newex 74 435 74 196617 jit.gl.slab test;
#P newex 339 248 225 196617 jit.gl.texture test @colormode uyvy @name cap;
#B color 5;
#P flonum 538 174 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 538 195 42 196617 rate $1;
#P message 426 171 83 196617 read dishes.mov;
#P message 472 195 27 196617 stop;
#P message 438 195 31 196617 start;
#P message 502 195 31 196617 clear;
#P newex 339 222 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 176 321 79 196617 read op.add.jxs;
#P newex 74 346 74 196617 jit.gl.slab test;
#P newex 74 561 199 196617 jit.gl.videoplane test @transform_reset 2;
#B color 5;
#P newex 74 250 225 196617 jit.gl.texture test @colormode uyvy @name tex;
#B color 5;
#P flonum 273 176 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 273 197 42 196617 rate $1;
#P message 161 173 83 196617 read dishes.mov;
#P message 207 197 27 196617 stop;
#P message 173 197 31 196617 start;
#P message 237 197 31 196617 clear;
#P newex 74 224 188 196617 jit.qt.movie 320 240 @colormode uyvy;
#B color 5;
#P message 300 454 34 196617 reset;
#P newex 300 474 84 196617 jit.gl.handle test;
#P toggle 280 79 15 0;
#P message 280 99 68 196617 fullscreen $1;
#N vpatcher 30 89 166 253;
#P window setfont "Sans Serif" 9.;
#P newex 50 71 35 196617 sel 27;
#P newex 50 50 40 196617 key;
#P outlet 50 93 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 297 79 33 196617 p Esc;
#P newex 280 117 151 196617 jit.window test @depthbuffer 1;
#P toggle 77 22 15 0;
#P newex 77 41 57 196617 qmetro 30;
#P newex 77 118 187 196617 jit.gl.render test @erase_color 0 0 0 1;
#P user panel 881 24 818 247;
#X brgb 226 231 83;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 871 401 827 248;
#X brgb 244 66 4;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 9;
#P comment 1178 283 100 196617 I try to use plane shape and apply movie texture to the shape here , but when I adjust the scale and position of the shape , I can not see anything change in the videoplane.;
#P connect 47 0 43 0;
#P fasten 13 0 12 0 242 218 79 218;
#P fasten 14 0 12 0 178 218 79 218;
#P fasten 15 0 12 0 212 218 79 218;
#P fasten 16 0 12 0 166 218 79 218;
#P fasten 17 0 12 0 278 218 79 218;
#P connect 42 0 12 0;
#P connect 12 0 19 0;
#P connect 19 0 21 0;
#P connect 22 0 21 0;
#P connect 52 0 21 0;
#P connect 21 0 31 0;
#P connect 32 0 31 0;
#P connect 48 0 31 0;
#P connect 50 0 31 0;
#P connect 31 0 20 0;
#P fasten 10 0 20 0 305 515 79 515;
#P connect 5 0 4 0;
#P connect 4 0 46 0;
#P connect 46 0 3 0;
#P fasten 46 1 3 0 106 104 82 104;
#P connect 46 2 41 0;
#P fasten 30 0 21 1 344 282 165 282 165 342 143 342;
#P connect 21 1 53 0;
#P fasten 40 0 31 1 612 379 176 379 176 393 143 393;
#P connect 31 1 51 0;
#P connect 49 0 48 0;
#P connect 18 0 17 0;
#P connect 7 0 9 0;
#P connect 9 0 8 0;
#P connect 8 0 6 0;
#P connect 11 0 10 0;
#P fasten 28 0 23 0 543 216 344 216;
#P fasten 27 0 23 0 431 216 344 216;
#P fasten 26 0 23 0 477 216 344 216;
#P fasten 25 0 23 0 443 216 344 216;
#P fasten 24 0 23 0 507 216 344 216;
#P connect 44 0 23 0;
#P connect 23 0 30 0;
#P connect 29 0 28 0;
#P fasten 34 0 33 0 775 212 612 212;
#P fasten 35 0 33 0 711 212 612 212;
#P fasten 36 0 33 0 745 212 612 212;
#P fasten 37 0 33 0 699 212 612 212;
#P fasten 38 0 33 0 811 212 612 212;
#P connect 45 0 33 0;
#P connect 33 0 40 0;
#P connect 39 0 38 0;
#P connect 111 0 110 0;
#P connect 57 0 56 0;
#P connect 74 0 73 0;
#P connect 94 0 93 0;
#P fasten 59 1 60 0 1025 70 994 70;
#P fasten 58 0 54 0 1006 127 994 127;
#P fasten 64 0 54 0 1163 94 994 94;
#P fasten 62 0 54 0 1076 94 994 94;
#P fasten 55 0 54 0 943 137 994 137;
#P connect 60 0 54 0;
#P fasten 56 0 54 0 930 93 994 93;
#P fasten 96 1 97 0 1038 447 1007 447;
#P fasten 95 0 91 0 1019 504 1007 504;
#P fasten 92 0 91 0 956 514 1007 514;
#P fasten 93 0 91 0 943 470 1007 470;
#P connect 97 0 91 0;
#P fasten 99 0 91 0 1089 471 1007 471;
#P fasten 101 0 91 0 1176 471 1007 471;
#P fasten 123 0 122 0 1505 608 1070 608;
#P fasten 104 0 122 0 1159 608 1070 608;
#P fasten 107 0 122 0 1058 610 1070 610;
#P fasten 114 0 122 0 973 610 1070 610;
#P fasten 115 0 122 0 1247 608 1070 608;
#P fasten 112 0 122 0 1346 608 1070 608;
#P fasten 118 0 122 0 1441 608 1070 608;
#P fasten 110 0 122 0 924 610 1070 610;
#P fasten 102 0 122 0 1521 608 1070 608;
#P fasten 61 1 62 0 1107 70 1076 70;
#P fasten 86 0 85 0 1514 223 1079 223;
#P fasten 67 0 85 0 1168 223 1079 223;
#P fasten 70 0 85 0 1067 225 1079 225;
#P fasten 77 0 85 0 982 225 1079 225;
#P fasten 78 0 85 0 1256 223 1079 223;
#P fasten 75 0 85 0 1355 223 1079 223;
#P fasten 81 0 85 0 1450 223 1079 223;
#P fasten 73 0 85 0 933 225 1079 225;
#P fasten 65 0 85 0 1530 223 1079 223;
#P fasten 98 1 99 0 1120 447 1089 447;
#P fasten 127 0 108 0 1120 555 1099 555;
#P connect 108 0 107 1;
#P fasten 90 0 71 0 1129 170 1108 170;
#P connect 71 0 70 1;
#P fasten 127 0 109 0 1120 556 1140 556;
#P connect 109 0 107 2;
#P fasten 90 0 72 0 1129 171 1149 171;
#P connect 72 0 70 2;
#P hidden fasten 103 0 105 0 1287 560 1159 560;
#P connect 105 0 104 0;
#P fasten 63 1 64 0 1194 72 1163 72;
#P hidden fasten 66 0 68 0 1296 175 1168 175;
#P connect 68 0 67 0;
#P fasten 100 1 101 0 1207 449 1176 449;
#P hidden fasten 103 0 116 0 1287 560 1247 560;
#P connect 116 0 115 0;
#P hidden fasten 66 0 79 0 1296 175 1256 175;
#P connect 79 0 78 0;
#P hidden connect 106 0 103 0;
#P hidden connect 69 0 66 0;
#P hidden fasten 103 0 113 0 1287 560 1346 560;
#P connect 113 0 112 0;
#P hidden fasten 66 0 76 0 1296 175 1355 175;
#P connect 76 0 75 0;
#P connect 117 0 118 0;
#P connect 80 0 81 0;
#P connect 124 0 123 1;
#P connect 87 0 86 1;
#P connect 119 0 102 1;
#P fasten 125 0 123 2 1570 533 1555 533;
#P connect 82 0 65 1;
#P fasten 88 0 86 2 1579 148 1564 148;
#P fasten 120 0 102 2 1589 579 1577 579;
#P fasten 126 0 123 3 1608 533 1580 533;
#P fasten 83 0 65 2 1598 194 1586 194;
#P fasten 89 0 86 3 1617 148 1589 148;
#P fasten 121 0 102 3 1627 579 1605 579;
#P fasten 84 0 65 3 1636 194 1614 194;
#P pop;


August 4, 2007 | 5:26 am

Quote: vade wrote on Fri, 03 August 2007 21:19
—————————————————-
> god is fair?
>
> hahahahahahahahahahahahahahahaahahahaaahahaahahahahaha
>
> Sorry, I could not resist.
>
> Honestly, I never thought of myself as a programmer when I started
> toying with Max/MSP, but stick with it. God may not be fair, but she
> certainly values perseverance. Keep at it, stare at the patch coords
> – It will click eventually, and then again, and again. Next thing you
> know…..
>
>
>
> On Aug 3, 2007, at 8:34 PM, UCDMSRA wrote:
>
> >
> > Quote: Dan wrote on Fri, 03 August 2007 15:54
> > —————————————————-
> >>> We all know what it feels like to not understand something. There
> >>> is no
> >>> reason to put yourself down over it. Many of us here have been
> >>> lucky
> >>> enough to be taught by smart and helpful teachers in learning to use
> >>> MaxMSP and Jitter.
> >>
> >> I couldn’t agree more. Programming has never come easily for me. I
> >> had two excellent teachers (a professor and a friend) who patiently
> >> helped me visualize–in my head and on-screen–the code I didn’t
> >> understand and the results I was after. Just give yourself some time
> >> to absorb this stuff and it will come to you. Remember, your brain
> >> learns something when you’re *not* doing it. ;)
> >>
> >> By the way, I didn’t mean to suggest that your English sucked or that
> >> you weren’t spending enough time with Max — sorry if I came off that
> >> way. :) Good luck!
> >>
> > —————————————————-
> >
> > Hi,
> >
> > that’s fine, everybody has their own good part and weak part. I
> > always believe that god is fair. Somebody good at something and
> > somebody good at some other things. So I have already known my weak
> > part one hundred years ago…. I just want to try it and don’t want
> > to give it up so early. That’s why I respect you guys here because
> > you have something I don’t have yet.
> >
> > Now I just hope I can finish my project and thesis as soon as
> > possible. I am supposed to graduate in May and go make some money
> > to pay the rent and bills, but this Max/MSP thing makes me postpone
> > my graduation. Just like I said, I never regret choose Max/MSP for
> > my thesis topic because I did learn something here and I am very
> > happy with that. I am still learning it and that is always a good
> > thing for me.
> >
> > thanks,
> >
> > CK
>
> v a d e //
>
> http://www.vade.info
> abstrakt.vade.info
>
>
>
>
>
>
—————————————————-

Hi,

Here comes Mr. Vade. Yeah……good is fair but not fair to me……lol. Just want to say hello. I read many of your post. You are very good.

respect

CK


August 4, 2007 | 5:47 am

hm. Im a hack who conceals his hackish nature quite well. There are
plenty of other proper wizards on the max board. Im just louder and
more obnoxious than they.

Seriously, dont stop working with max. Stay up till 3am staring at it
and realizing you had the patch coord in the wrong outlet. I cant
count the number of times I thought I was going insane and
fundamentally misunderstood something only to realize I had made a
minor mistake. Neurons take time to adapt to new thought processes
and train themselves to spot seemingly obvious things.

Dont sell yourself short.

Anyway, enough fucking back patting buggery. Get back to coding. Im
going to go argue with god about this fairness thing.


August 4, 2007 | 5:51 am

Alright,

I think I may have a bad conception again. What I really want to do is to change all the movie scale, position and rotation and I hope I can see all the changes in the final videoplane.

I tried to put two different render window, one is directly from jit.gl.texture and the other one is from videoplane. What I found is I can see my movie become big, small and moving from jit.gl.texture but after those things go thorough jit.gl.videoplane, all the position, rotation and size change all come back (I mean back to the original). Why is that?

I just upgrade my Max/MSP to 4.6.2 and jitter to 1.6.2 (of course I use student discount for those new version). Because you told me that you can not see op.add.jxs but in my computer, I can see it. I hope that is not the reason for my problem.

thanks, please help me out


August 4, 2007 | 6:06 am

Quote: wesley.hoke@gmail.com wrote on Thu, 02 August 2007 15:26
—————————————————-
> Ok,
> You don’t send a videoplane to a slab. You have some major
> misconceptions about how things work in OpenGL. Please read the
> following _very_ carefully.
>
> 1a) Slabs work with textures. They take textures as input and give
> textures as output
> 1b) Slabs can also work with matrices. When a matrix is sent to a
> slab, internally it is converted to a texture.
> 2) A videoplane is a plane in space. It is geometry, not a texture.
> It is used to display textures in OpenGL.
>
> HTH,
> wes
>
—————————————————-

Hi,

Here my head got stock again. I think I understand what you talking about…..so I think if I put movie to the texture and cahnge those movie’s size, positions by using shape and capture, then I send the result to slab to mix those different shapes (of the movies) together, and finally send it to videoplane.

I think this seems right to me. Because videoplane just display textures in OpenGL, so I do what I want in texture, mix in slab and send to videoplane…..is this right?

I found that I can change what I want in texture, but after I send them out to videoplane, everything is not what I expected. No matter how I change the position and scales of the shape in texture, everything seems unchanged in videoplane. Would you or somebody please kindly tell me what’s wrong? I have my patch attached above.

thank you so much

CK


August 4, 2007 | 6:20 am

‘vade’ is esperanto for ‘hack’. true!

On Aug 4, 2007, at 1:47 AM, vade wrote:

> hm. Im a hack who conceals his hackish nature quite well. There are
> plenty of other proper wizards on the max board. Im just louder and
> more obnoxious than they.
>
> Seriously, dont stop working with max. Stay up till 3am staring at
> it and realizing you had the patch coord in the wrong outlet. I
> cant count the number of times I thought I was going insane and
> fundamentally misunderstood something only to realize I had made a
> minor mistake. Neurons take time to adapt to new thought processes
> and train themselves to spot seemingly obvious things.
>
> Dont sell yourself short.
>
> Anyway, enough fucking back patting buggery. Get back to coding. Im
> going to go argue with god about this fairness thing.
>


August 4, 2007 | 6:37 am

mensogulo!

On Aug 4, 2007, at 2:20 AM, joshua goldberg wrote:

> ‘vade’ is esperanto for ‘hack’. true!

v a d e //

http://www.vade.info
abstrakt.vade.info


August 4, 2007 | 3:24 pm

Quote: vade wrote on Sat, 04 August 2007 00:37
—————————————————-
> mensogulo!
>
>
> On Aug 4, 2007, at 2:20 AM, joshua goldberg wrote:
>
> > ‘vade’ is esperanto for ‘hack’. true!
>
> v a d e //
>
> http://www.vade.info
> abstrakt.vade.info
>
>
>
>
—————————————————-

Come on, guys, can anybody help me out here?? I really need to know why it doesn’t work. Anyone?

thanks

CK



MJ
August 4, 2007 | 4:00 pm

Hi,

"Here my head got stock again. I think I understand what you talking about…..so I think if I put movie to the texture and cahnge those movie’s size, positions by using shape and capture, then I send the result to slab to mix those different shapes (of the movies) together, and finally send it to videoplane."

"a movie to texture" so a jit.qt.movie connected with jit.gl.texuture.
"change a movies size, position" you mean the texture or the content in the texture?
"mix those different shapes (of the movies) together" you mean mixing the textures

ok so far.

I think this seems right to me. Because videoplane just display textures in OpenGL, so I do what I want in texture, mix in slab and send to videoplane…..is this right?

eh yes , videoplane is just a 3d object in space which is easy to texture movies on.

I found that I can change what I want in texture, but after I send them out to videoplane, everything is not what I expected. No matter how I change the position and scales of the shape in texture, everything seems unchanged in videoplane. Would you or somebody please kindly tell me what’s wrong? I have my patch attached above.

What do you expect?

i did some cleaning in your patch
check it

-mj

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 161 179 52 196617 r subway;
#P toggle 557 510 15 0;
#P flonum 1045 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1007 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 967 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 942 519 85 196617 pak scale 1. 1. 1.;
#P newex 507 593 50 196617 s grimyb;
#P flonum 1064 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1026 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 986 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 684 543 15 0;
#P message 684 566 94 196617 smooth_shading $1;
#P message 410 569 79 196617 color 0. 1. 0. 1.;
#P toggle 783 543 15 0;
#P message 783 566 90 196617 lighting_enable $1;
#P toggle 361 548 15 0;
#P message 361 569 44 196617 axes $1;
#P toggle 577 547 15 0;
#P toggle 536 546 15 0;
#P newex 495 567 92 196617 pak poly_mode 0 0;
#P hidden newex 723 500 50 196617 loadbang;
#P toggle 596 543 15 0;
#P message 596 566 81 196617 depth_enable $1;
#P hidden message 724 522 14 196617 1;
#P newex 958 564 95 196617 pak position 0. 0. 0.;
#P newex 591 442 81 196617 prepend capture;
#P user ubumenu 591 416 72 196617 0 1 1 0;
#X add none;
#X add cap;
#X add tex;
#X add none;
#X add cap;
#X add tex;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P newex 504 440 81 196617 prepend texture;
#P user ubumenu 504 414 72 196617 0 1 1 0;
#X add none;
#X add tex;
#X add cap;
#X add none;
#X add tex;
#X add cap;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 422 440 71 196617 prepend shape;
#P user ubumenu 422 414 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 371 475 50 196617 r grimyb;
#P newex 421 503 162 196617 jit.gl.gridshape test @shape torus;
#B color 5;
#P flonum 89 413 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 88 440 88 196617 param amount $1;
#P newex 56 490 170 196617 jit.gl.slab test @file co.additive.jxs;
#P message 247 507 34 196617 reset;
#P newex 247 527 84 196617 jit.gl.handle test;
#P newex 173 309 142 196617 jit.gl.texture test @name cap;
#B color 5;
#P toggle 575 304 15 0;
#P flonum 1063 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1025 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 985 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 960 313 85 196617 pak scale 1. 1. 1.;
#P newex 525 387 43 196617 s grimy;
#P flonum 1082 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1044 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1004 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 702 337 15 0;
#P message 702 360 94 196617 smooth_shading $1;
#P message 426 360 84 196617 color 1. 0. 1. 1.;
#P toggle 801 337 15 0;
#P message 801 360 90 196617 lighting_enable $1;
#P toggle 379 342 15 0;
#P message 379 363 44 196617 axes $1;
#P toggle 595 341 15 0;
#P toggle 554 340 15 0;
#P newex 513 361 92 196617 pak poly_mode 0 0;
#P hidden newex 741 294 50 196617 loadbang;
#P toggle 614 337 15 0;
#P message 614 360 81 196617 depth_enable $1;
#P hidden message 742 316 14 196617 1;
#P newex 976 358 95 196617 pak position 0. 0. 0.;
#P newex 609 236 81 196617 prepend capture;
#P user ubumenu 609 210 72 196617 0 1 1 0;
#X add none;
#X add cap;
#X add tex;
#X add none;
#X add cap;
#X add tex;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 522 234 81 196617 prepend texture;
#P user ubumenu 522 208 72 196617 0 1 1 0;
#X add none;
#X add tex;
#X add cap;
#X add none;
#X add tex;
#X add cap;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 440 234 71 196617 prepend shape;
#P user ubumenu 440 208 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 389 269 43 196617 r grimy;
#P newex 441 307 99 196617 jit.gl.gridshape test;
#B color 5;
#P newex 0 22 52 196617 r subway;
#P newex 74 68 58 196617 t b erase b;
#P user jit.fpsgui 0 48 60 196617 0;
#P newex 122 93 52 196617 s subway;
#P newex 71 561 199 196617 jit.gl.videoplane test @transform_reset 2;
#B color 5;
#P newex 17 307 142 196617 jit.gl.texture test @name tex;
#B color 5;
#P toggle 277 79 15 0;
#P message 277 99 68 196617 fullscreen $1;
#N vpatcher 30 89 166 253;
#P window setfont "Sans Serif" 9.;
#P newex 50 71 35 196617 sel 27;
#P newex 50 50 40 196617 key;
#P outlet 50 93 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 294 79 33 196617 p Esc;
#P newex 277 117 151 196617 jit.window test @depthbuffer 1;
#P toggle 74 22 15 0;
#P newex 74 41 57 196617 qmetro 30;
#P newex 74 118 187 196617 jit.gl.render test @erase_color 0 0 0 1;
#P fasten 82 0 65 0 562 535 541 535;
#P fasten 82 0 66 0 562 536 582 536;
#P hidden connect 63 0 71 0;
#P hidden connect 63 0 60 0;
#P hidden fasten 60 0 62 0 729 540 601 540;
#P hidden fasten 60 0 73 0 729 540 689 540;
#P hidden fasten 60 0 70 0 729 540 788 540;
#P fasten 52 0 51 0 376 502 426 502;
#P fasten 58 0 51 0 596 459 426 459;
#P fasten 56 0 51 0 509 459 426 459;
#P connect 54 0 51 0;
#P hidden connect 25 0 33 0;
#P hidden connect 25 0 22 0;
#P fasten 76 0 59 3 1069 559 1047 559;
#P fasten 81 0 78 3 1050 513 1022 513;
#P fasten 75 0 59 2 1031 559 1019 559;
#P fasten 80 0 78 2 1012 513 997 513;
#P connect 74 0 59 1;
#P connect 79 0 78 1;
#P fasten 38 0 21 3 1087 353 1065 353;
#P fasten 43 0 40 3 1068 307 1040 307;
#P fasten 37 0 21 2 1049 353 1037 353;
#P fasten 42 0 40 2 1030 307 1015 307;
#P connect 36 0 21 1;
#P connect 41 0 40 1;
#P connect 70 0 69 0;
#P connect 73 0 72 0;
#P connect 32 0 31 0;
#P hidden fasten 22 0 24 0 747 334 619 334;
#P hidden fasten 22 0 35 0 747 334 707 334;
#P hidden fasten 22 0 32 0 747 334 806 334;
#P connect 62 0 61 0;
#P fasten 57 1 58 0 627 437 596 437;
#P connect 66 0 64 2;
#P connect 65 0 64 1;
#P fasten 78 0 77 0 947 588 512 588;
#P fasten 61 0 77 0 601 588 512 588;
#P fasten 64 0 77 0 500 590 512 590;
#P fasten 71 0 77 0 415 590 512 590;
#P fasten 72 0 77 0 689 588 512 588;
#P fasten 69 0 77 0 788 588 512 588;
#P fasten 67 0 77 0 366 590 512 590;
#P fasten 59 0 77 0 963 588 512 588;
#P fasten 55 1 56 0 540 435 509 435;
#P connect 35 0 34 0;
#P fasten 53 1 54 0 458 435 427 435;
#P connect 24 0 23 0;
#P fasten 19 1 20 0 645 231 614 231;
#P connect 28 0 26 2;
#P fasten 44 0 27 0 580 329 559 329;
#P fasten 44 0 28 0 580 330 600 330;
#P connect 68 0 67 0;
#P connect 27 0 26 1;
#P fasten 40 0 39 0 965 382 530 382;
#P fasten 23 0 39 0 619 382 530 382;
#P fasten 26 0 39 0 518 384 530 384;
#P fasten 33 0 39 0 431 384 530 384;
#P fasten 34 0 39 0 707 382 530 382;
#P fasten 31 0 39 0 806 382 530 382;
#P fasten 29 0 39 0 384 384 530 384;
#P fasten 21 0 39 0 981 382 530 382;
#P fasten 17 1 18 0 558 229 527 229;
#P connect 16 0 13 0;
#P fasten 14 0 13 0 394 296 446 296;
#P fasten 18 0 13 0 527 253 446 253;
#P fasten 20 0 13 0 614 253 446 253;
#P fasten 15 1 16 0 476 229 445 229;
#P connect 30 0 29 0;
#P connect 5 0 3 0;
#P connect 6 0 5 0;
#P connect 4 0 6 0;
#P connect 47 0 46 0;
#P connect 45 0 48 1;
#P connect 83 0 7 0;
#P connect 83 0 45 0;
#P connect 11 2 9 0;
#P connect 50 0 49 0;
#P connect 11 0 0 0;
#P fasten 11 1 0 0 103 104 79 104;
#P connect 1 0 11 0;
#P connect 2 0 1 0;
#P connect 46 0 8 0;
#P connect 48 0 8 0;
#P connect 7 0 48 0;
#P connect 49 0 48 0;
#P connect 12 0 10 0;
#P window clipboard copycount 84;


August 4, 2007 | 5:09 pm

Quote: MJ wrote on Sat, 04 August 2007 10:00
—————————————————-
>
> Hi,
>
> "Here my head got stock again. I think I understand what you talking about…..so I think if I put movie to the texture and cahnge those movie’s size, positions by using shape and capture, then I send the result to slab to mix those different shapes (of the movies) together, and finally send it to videoplane."
>
> "a movie to texture" so a jit.qt.movie connected with jit.gl.texuture.
> "change a movies size, position" you mean the texture or the content in the texture?
> "mix those different shapes (of the movies) together" you mean mixing the textures
>
> ok so far.
>
> I think this seems right to me. Because videoplane just display textures in OpenGL, so I do what I want in texture, mix in slab and send to videoplane…..is this right?
>
> eh yes , videoplane is just a 3d object in space which is easy to texture movies on.
>
> I found that I can change what I want in texture, but after I send them out to videoplane, everything is not what I expected. No matter how I change the position and scales of the shape in texture, everything seems unchanged in videoplane. Would you or somebody please kindly tell me what’s wrong? I have my patch attached above.
>
> What do you expect?
>
> i did some cleaning in your patch
> check it
>
> -mj
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 161 179 52 196617 r subway;
> #P toggle 557 510 15 0;
> #P flonum 1045 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 1007 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 967 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 942 519 85 196617 pak scale 1. 1. 1.;
> #P newex 507 593 50 196617 s grimyb;
> #P flonum 1064 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 1026 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 986 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P toggle 684 543 15 0;
> #P message 684 566 94 196617 smooth_shading $1;
> #P message 410 569 79 196617 color 0. 1. 0. 1.;
> #P toggle 783 543 15 0;
> #P message 783 566 90 196617 lighting_enable $1;
> #P toggle 361 548 15 0;
> #P message 361 569 44 196617 axes $1;
> #P toggle 577 547 15 0;
> #P toggle 536 546 15 0;
> #P newex 495 567 92 196617 pak poly_mode 0 0;
> #P hidden newex 723 500 50 196617 loadbang;
> #P toggle 596 543 15 0;
> #P message 596 566 81 196617 depth_enable $1;
> #P hidden message 724 522 14 196617 1;
> #P newex 958 564 95 196617 pak position 0. 0. 0.;
> #P newex 591 442 81 196617 prepend capture;
> #P user ubumenu 591 416 72 196617 0 1 1 0;
> #X add none;
> #X add cap;
> #X add tex;
> #X add none;
> #X add cap;
> #X add tex;
> #X prefix_set 0 0 0;
> #X pattrmode 1;
> #P newex 504 440 81 196617 prepend texture;
> #P user ubumenu 504 414 72 196617 0 1 1 0;
> #X add none;
> #X add tex;
> #X add cap;
> #X add none;
> #X add tex;
> #X add cap;
> #X prefix_set 0 0
0;
> #X pattrmode 1;
> #P newex 422 440 71 196617 prepend shape;
> #P user ubumenu 422 414 72 196617 0 1 1 0;
> #X add sphere;
> #X add torus;
> #X add cylinder;
> #X add opencylinder;
> #X add cube;
> #X add opencube;
> #X add plane;
> #X add circle;
> #X prefix_set 0 0
0;
> #P newex 371 475 50 196617 r grimyb;
> #P newex 421 503 162 196617 jit.gl.gridshape test @shape torus;
> #B color 5;
> #P flonum 89 413 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 88 440 88 196617 param amount $1;
> #P newex 56 490 170 196617 jit.gl.slab test @file co.additive.jxs;
> #P message 247 507 34 196617 reset;
> #P newex 247 527 84 196617 jit.gl.handle test;
> #P newex 173 309 142 196617 jit.gl.texture test @name cap;
> #B color 5;
> #P toggle 575 304 15 0;
> #P flonum 1063 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 1025 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 985 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 960 313 85 196617 pak scale 1. 1. 1.;
> #P newex 525 387 43 196617 s grimy;
> #P flonum 1082 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 1044 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 1004 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P toggle 702 337 15 0;
> #P message 702 360 94 196617 smooth_shading $1;
> #P message 426 360 84 196617 color 1. 0. 1. 1.;
> #P toggle 801 337 15 0;
> #P message 801 360 90 196617 lighting_enable $1;
> #P toggle 379 342 15 0;
> #P message 379 363 44 196617 axes $1;
> #P toggle 595 341 15 0;
> #P toggle 554 340 15 0;
> #P newex 513 361 92 196617 pak poly_mode 0 0;
> #P hidden newex 741 294 50 196617 loadbang;
> #P toggle 614 337 15 0;
> #P message 614 360 81 196617 depth_enable $1;
> #P hidden message 742 316 14 196617 1;
> #P newex 976 358 95 196617 pak position 0. 0. 0.;
> #P newex 609 236 81 196617 prepend capture;
> #P user ubumenu 609 210 72 196617 0 1 1 0;
> #X add none;
> #X add cap;
> #X add tex;
> #X add none;
> #X add cap;
> #X add tex;
> #X prefix_set 0 0
0;
> #X pattrmode 1;
> #P newex 522 234 81 196617 prepend texture;
> #P user ubumenu 522 208 72 196617 0 1 1 0;
> #X add none;
> #X add tex;
> #X add cap;
> #X add none;
> #X add tex;
> #X add cap;
> #X prefix_set 0 0
0;
> #X pattrmode 1;
> #P newex 440 234 71 196617 prepend shape;
> #P user ubumenu 440 208 72 196617 0 1 1 0;
> #X add sphere;
> #X add torus;
> #X add cylinder;
> #X add opencylinder;
> #X add cube;
> #X add opencube;
> #X add plane;
> #X add circle;
> #X prefix_set 0 0
0;
> #P newex 389 269 43 196617 r grimy;
> #P newex 441 307 99 196617 jit.gl.gridshape test;
> #B color 5;
> #P newex 0 22 52 196617 r subway;
> #P newex 74 68 58 196617 t b erase b;
> #P user jit.fpsgui 0 48 60 196617 0;
> #P newex 122 93 52 196617 s subway;
> #P newex 71 561 199 196617 jit.gl.videoplane test @transform_reset 2;
> #B color 5;
> #P newex 17 307 142 196617 jit.gl.texture test @name tex;
> #B color 5;
> #P toggle 277 79 15 0;
> #P message 277 99 68 196617 fullscreen $1;
> #N vpatcher 30 89 166 253;
> #P window setfont "Sans Serif" 9.;
> #P newex 50 71 35 196617 sel 27;
> #P newex 50 50 40 196617 key;
> #P outlet 50 93 15 0;
> #P connect 1 0 2 0;
> #P connect 2 0 0 0;
> #P pop;
> #P newobj 294 79 33 196617 p Esc;
> #P newex 277 117 151 196617 jit.window test @depthbuffer 1;
> #P toggle 74 22 15 0;
> #P newex 74 41 57 196617 qmetro 30;
> #P newex 74 118 187 196617 jit.gl.render test @erase_color 0 0 0 1;
> #P fasten 82 0 65 0 562 535 541 535;
> #P fasten 82 0 66 0 562 536 582 536;
> #P hidden connect 63 0 71 0;
> #P hidden connect 63 0 60 0;
> #P hidden fasten 60 0 62 0 729 540 601 540;
> #P hidden fasten 60 0 73 0 729 540 689 540;
> #P hidden fasten 60 0 70 0 729 540 788 540;
> #P fasten 52 0 51 0 376 502 426 502;
> #P fasten 58 0 51 0 596 459 426 459;
> #P fasten 56 0 51 0 509 459 426 459;
> #P connect 54 0 51 0;
> #P hidden connect 25 0 33 0;
> #P hidden connect 25 0 22 0;
> #P fasten 76 0 59 3 1069 559 1047 559;
> #P fasten 81 0 78 3 1050 513 1022 513;
> #P fasten 75 0 59 2 1031 559 1019 559;
> #P fasten 80 0 78 2 1012 513 997 513;
> #P connect 74 0 59 1;
> #P connect 79 0 78 1;
> #P fasten 38 0 21 3 1087 353 1065 353;
> #P fasten 43 0 40 3 1068 307 1040 307;
> #P fasten 37 0 21 2 1049 353 1037 353;
> #P fasten 42 0 40 2 1030 307 1015 307;
> #P connect 36 0 21 1;
> #P connect 41 0 40 1;
> #P connect 70 0 69 0;
> #P connect 73 0 72 0;
> #P connect 32 0 31 0;
> #P hidden fasten 22 0 24 0 747 334 619 334;
> #P hidden fasten 22 0 35 0 747 334 707 334;
> #P hidden fasten 22 0 32 0 747 334 806 334;
> #P connect 62 0 61 0;
> #P fasten 57 1 58 0 627 437 596 437;
> #P connect 66 0 64 2;
> #P connect 65 0 64 1;
> #P fasten 78 0 77 0 947 588 512 588;
> #P fasten 61 0 77 0 601 588 512 588;
> #P fasten 64 0 77 0 500 590 512 590;
> #P fasten 71 0 77 0 415 590 512 590;
> #P fasten 72 0 77 0 689 588 512 588;
> #P fasten 69 0 77 0 788 588 512 588;
> #P fasten 67 0 77 0 366 590 512 590;
> #P fasten 59 0 77 0 963 588 512 588;
> #P fasten 55 1 56 0 540 435 509 435;
> #P connect 35 0 34 0;
> #P fasten 53 1 54 0 458 435 427 435;
> #P connect 24 0 23 0;
> #P fasten 19 1 20 0 645 231 614 231;
> #P connect 28 0 26 2;
> #P fasten 44 0 27 0 580 329 559 329;
> #P fasten 44 0 28 0 580 330 600 330;
> #P connect 68 0 67 0;
> #P connect 27 0 26 1;
> #P fasten 40 0 39 0 965 382 530 382;
> #P fasten 23 0 39 0 619 382 530 382;
> #P fasten 26 0 39 0 518 384 530 384;
> #P fasten 33 0 39 0 431 384 530 384;
> #P fasten 34 0 39 0 707 382 530 382;
> #P fasten 31 0 39 0 806 382 530 382;
> #P fasten 29 0 39 0 384 384 530 384;
> #P fasten 21 0 39 0 981 382 530 382;
> #P fasten 17 1 18 0 558 229 527 229;
> #P connect 16 0 13 0;
> #P fasten 14 0 13 0 394 296 446 296;
> #P fasten 18 0 13 0 527 253 446 253;
> #P fasten 20 0 13 0 614 253 446 253;
> #P fasten 15 1 16 0 476 229 445 229;
> #P connect 30 0 29 0;
> #P connect 5 0 3 0;
> #P connect 6 0 5 0;
> #P connect 4 0 6 0;
> #P connect 47 0 46 0;
> #P connect 45 0 48 1;
> #P connect 83 0 7 0;
> #P connect 83 0 45 0;
> #P connect 11 2 9 0;
> #P connect 50 0 49 0;
> #P connect 11 0 0 0;
> #P fasten 11 1 0 0 103 104 79 104;
> #P connect 1 0 11 0;
> #P connect 2 0 1 0;
> #P connect 46 0 8 0;
> #P connect 48 0 8 0;
> #P connect 7 0 48 0;
> #P connect 49 0 48 0;
> #P connect 12 0 10 0;
> #P window clipboard copycount 84;
>
—————————————————-

Yeah, that’s "almost" what I want…….I am so happy….

However, when I connect jit.qt.movie to the jit.gl.texture, I can see "the movie attached in the shape as the content of the texture" (am I right?), but one thing very annoying is the original movie still playback in the background of the test window. How can I get rid off the original movie? I mean, I am very happy to see the shape is moving around with jit.qt.movie attached in it but I don’t want to see the movie still play in the background…….how to fix that? I know since I have already send movie to the texture, movie will go through texture, to slab and go to videoplane. Is there anyway to to "filter out" the original movie but the movie will still playback as the texture of the content in the shape?

I am sorry for my poor English and I am very appreciate your patience and your help. I think what I said movie in texture means "movie as content of the texture"….so I can see movie playback in the shape.

Here is the patch I add "jit.qt.movie" on it, but I don’t know how to get rid off the original movie playback in the background.

thank you so much,

max v2;
#N vpatcher 34 84 965 649;
#P origin -1 21;
#P window setfont "Sans Serif" 9.;
#P user ubumenu 311 209 100 196617 0 1 1 0;
#X add auto;
#X add alpha;
#X add luminance;
#X add intensity;
#X add depth;
#X add lumalpha;
#X add rgb;
#X add argb;
#X add uyvy;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P newex 318 234 93 196617 prepend colormode;
#P message 287 140 28 196617 read;
#P message 318 140 31 196617 start;
#P newex 224 172 103 196617 jit.qt.movie 256 256;
#P user jit.pwindow 223 217 66 66 0 1 0 0 1 0;
#P newex 162 158 52 196617 r subway;
#P toggle 558 489 15 0;
#P flonum 1046 471 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1008 471 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 968 471 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 943 498 85 196617 pak scale 1. 1. 1.;
#P newex 508 572 50 196617 s grimyb;
#P flonum 1065 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1027 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 987 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 685 522 15 0;
#P message 685 545 94 196617 smooth_shading $1;
#P message 411 548 79 196617 color 0. 1. 0. 1.;
#P toggle 784 522 15 0;
#P message 784 545 90 196617 lighting_enable $1;
#P toggle 362 527 15 0;
#P message 362 548 44 196617 axes $1;
#P toggle 578 526 15 0;
#P toggle 537 525 15 0;
#P newex 496 546 92 196617 pak poly_mode 0 0;
#P hidden newex 724 479 50 196617 loadbang;
#P toggle 597 522 15 0;
#P message 597 545 81 196617 depth_enable $1;
#P hidden message 725 501 14 196617 1;
#P newex 959 543 95 196617 pak position 0. 0. 0.;
#P newex 592 421 81 196617 prepend capture;
#P user ubumenu 592 395 72 196617 0 1 1 0;
#X add none;
#X add cap;
#X add tex;
#X add none;
#X add cap;
#X add tex;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 505 419 81 196617 prepend texture;
#P user ubumenu 505 393 72 196617 0 1 1 0;
#X add none;
#X add tex;
#X add cap;
#X add none;
#X add tex;
#X add cap;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 423 419 71 196617 prepend shape;
#P user ubumenu 423 393 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 372 454 50 196617 r grimyb;
#P newex 422 482 162 196617 jit.gl.gridshape test @shape torus;
#B color 5;
#P flonum 90 392 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 89 419 88 196617 param amount $1;
#P newex 57 469 170 196617 jit.gl.slab test @file co.additive.jxs;
#P message 248 486 34 196617 reset;
#P newex 248 506 84 196617 jit.gl.handle test;
#P newex 174 288 142 196617 jit.gl.texture test @name cap;
#B color 5;
#P toggle 576 283 15 0;
#P flonum 1064 265 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1026 265 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 986 265 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 961 292 85 196617 pak scale 1. 1. 1.;
#P newex 526 366 43 196617 s grimy;
#P flonum 1083 313 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1045 313 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1005 313 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 703 316 15 0;
#P message 703 339 94 196617 smooth_shading $1;
#P message 427 339 84 196617 color 1. 0. 1. 1.;
#P toggle 802 316 15 0;
#P message 802 339 90 196617 lighting_enable $1;
#P toggle 380 321 15 0;
#P message 380 342 44 196617 axes $1;
#P toggle 596 320 15 0;
#P toggle 555 319 15 0;
#P newex 514 340 92 196617 pak poly_mode 0 0;
#P hidden newex 742 273 50 196617 loadbang;
#P toggle 615 316 15 0;
#P message 615 339 81 196617 depth_enable $1;
#P hidden message 743 295 14 196617 1;
#P newex 977 337 95 196617 pak position 0. 0. 0.;
#P newex 610 215 81 196617 prepend capture;
#P user ubumenu 610 189 72 196617 0 1 1 0;
#X add none;
#X add cap;
#X add tex;
#X add none;
#X add cap;
#X add tex;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 523 213 81 196617 prepend texture;
#P user ubumenu 523 187 72 196617 0 1 1 0;
#X add none;
#X add tex;
#X add cap;
#X add none;
#X add tex;
#X add cap;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P newex 441 213 71 196617 prepend shape;
#P user ubumenu 441 187 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 390 248 43 196617 r grimy;
#P newex 442 286 99 196617 jit.gl.gridshape test;
#B color 5;
#P newex 1 1 52 196617 r subway;
#P newex 75 47 58 196617 t b erase b;
#P user jit.fpsgui 1 27 60 196617 0;
#P newex 123 72 52 196617 s subway;
#P newex 72 540 199 196617 jit.gl.videoplane test @transform_reset 2;
#B color 5;
#P newex 18 286 142 196617 jit.gl.texture test @name tex;
#B color 5;
#P toggle 278 58 15 0;
#P message 278 78 68 196617 fullscreen $1;
#N vpatcher 30 89 166 253;
#P window setfont "Sans Serif" 9.;
#P newex 50 71 35 196617 sel 27;
#P newex 50 50 40 196617 key;
#P outlet 50 93 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 295 58 33 196617 p Esc;
#P newex 278 96 151 196617 jit.window test @depthbuffer 1;
#P toggle 75 1 15 0;
#P newex 75 20 57 196617 qmetro 30;
#P newex 75 97 187 196617 jit.gl.render test @erase_color 0 0 0 1;
#P connect 12 0 10 0;
#P connect 83 0 7 0;
#P connect 88 0 7 0;
#P connect 7 0 48 0;
#P connect 49 0 48 0;
#P connect 48 0 8 0;
#P connect 46 0 8 0;
#P connect 2 0 1 0;
#P connect 1 0 11 0;
#P fasten 11 1 0 0 104 83 80 83;
#P connect 11 0 0 0;
#P connect 50 0 49 0;
#P connect 11 2 9 0;
#P connect 85 0 45 0;
#P connect 83 0 45 0;
#P connect 45 0 48 1;
#P connect 83 0 85 0;
#P fasten 87 0 85 0 292 166 229 166;
#P fasten 86 0 85 0 323 166 229 166;
#P connect 85 0 84 0;
#P connect 47 0 46 0;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 3 0;
#P connect 89 1 88 0;
#P connect 68 0 67 0;
#P connect 30 0 29 0;
#P hidden connect 63 0 71 0;
#P connect 54 0 51 0;
#P fasten 56 0 51 0 510 438 427 438;
#P fasten 58 0 51 0 597 438 427 438;
#P fasten 52 0 51 0 377 481 427 481;
#P fasten 53 1 54 0 459 414 428 414;
#P hidden connect 25 0 33 0;
#P fasten 15 1 16 0 477 208 446 208;
#P fasten 20 0 13 0 615 232 447 232;
#P fasten 18 0 13 0 528 232 447 232;
#P fasten 14 0 13 0 395 275 447 275;
#P connect 16 0 13 0;
#P fasten 55 1 56 0 541 414 510 414;
#P fasten 59 0 77 0 964 567 513 567;
#P fasten 67 0 77 0 367 569 513 569;
#P fasten 69 0 77 0 789 567 513 567;
#P fasten 72 0 77 0 690 567 513 567;
#P fasten 71 0 77 0 416 569 513 569;
#P fasten 64 0 77 0 501 569 513 569;
#P fasten 61 0 77 0 602 567 513 567;
#P fasten 78 0 77 0 948 567 513 567;
#P fasten 17 1 18 0 559 208 528 208;
#P fasten 21 0 39 0 982 361 531 361;
#P fasten 29 0 39 0 385 363 531 363;
#P fasten 31 0 39 0 807 361 531 361;
#P fasten 34 0 39 0 708 361 531 361;
#P fasten 33 0 39 0 432 363 531 363;
#P fasten 26 0 39 0 519 363 531 363;
#P fasten 23 0 39 0 620 361 531 361;
#P fasten 40 0 39 0 966 361 531 361;
#P fasten 82 0 65 0 563 514 542 514;
#P connect 65 0 64 1;
#P fasten 44 0 27 0 581 308 560 308;
#P connect 27 0 26 1;
#P fasten 82 0 66 0 563 515 583 515;
#P connect 66 0 64 2;
#P fasten 57 1 58 0 628 416 597 416;
#P fasten 44 0 28 0 581 309 601 309;
#P connect 28 0 26 2;
#P hidden fasten 60 0 62 0 730 519 602 519;
#P connect 62 0 61 0;
#P fasten 19 1 20 0 646 210 615 210;
#P hidden fasten 22 0 24 0 748 313 620 313;
#P connect 24 0 23 0;
#P hidden fasten 60 0 73 0 730 519 690 519;
#P connect 73 0 72 0;
#P hidden fasten 22 0 35 0 748 313 708 313;
#P connect 35 0 34 0;
#P hidden connect 63 0 60 0;
#P hidden connect 25 0 22 0;
#P hidden fasten 60 0 70 0 730 519 789 519;
#P connect 70 0 69 0;
#P hidden fasten 22 0 32 0 748 313 807 313;
#P connect 32 0 31 0;
#P connect 79 0 78 1;
#P connect 41 0 40 1;
#P connect 74 0 59 1;
#P fasten 80 0 78 2 1013 492 998 492;
#P connect 36 0 21 1;
#P fasten 42 0 40 2 1031 286 1016 286;
#P fasten 75 0 59 2 1032 538 1020 538;
#P fasten 81 0 78 3 1051 492 1023 492;
#P fasten 37 0 21 2 1050 332 1038 332;
#P fasten 43 0 40 3 1069 286 1041 286;
#P fasten 76 0 59 3 1070 538 1048 538;
#P fasten 38 0 21 3 1088 332 1066 332;
#P pop;



MJ
August 4, 2007 | 7:17 pm

hi

you cannot put a jit.qt.movie and a capture output from a gridshape
both in the same jit.gl.texture
its one or another.

but you want to just move the movie in a texture maybe have a look at
jit.rota or the shader version td.rota.jxs. then you dont need
other gridshape objects.

if you want to make a texture of of a gridshape object which has the
movie as a texture , just add the movie as a seperate texture to the
gridshape.

-mj

>Quote: MJ wrote on Sat, 04 August 2007 10:00
>—————————————————-
>>
>> Hi,
>>
>> "Here my head got stock again. I think I understand what you
>>talking about…..so I think if I put movie to the texture and
>>cahnge those movie’s size, positions by using shape and capture,
>>then I send the result to slab to mix those different shapes (of
>>the movies) together, and finally send it to videoplane."
>>
>> "a movie to texture" so a jit.qt.movie connected with jit.gl.texuture.
>> "change a movies size, position" you mean the texture or the
>>content in the texture?
>> "mix those different shapes (of the movies) together" you mean
>>mixing the textures
>>
>> ok so far.
>>
>> I think this seems right to me. Because videoplane just display
>>textures in OpenGL, so I do what I want in texture, mix in slab and
>>send to videoplane…..is this right?
>>
>> eh yes , videoplane is just a 3d object in space which is easy to
>>texture movies on.
>>
>> I found that I can change what I want in texture, but after I send
>>them out to videoplane, everything is not what I expected. No
>>matter how I change the position and scales of the shape in
>>texture, everything seems unchanged in videoplane. Would you or
>>somebody please kindly tell me what’s wrong? I have my patch
>>attached above.
>>
>> What do you expect?
>>
>> i did some cleaning in your patch
>> check it
>>
>> -mj
>>
>> #P window setfont "Sans Serif" 9.;
>> #P window linecount 1;
>> #P newex 161 179 52 196617 r subway;
>> #P toggle 557 510 15 0;
>> #P flonum 1045 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 1007 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 967 492 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P newex 942 519 85 196617 pak scale 1. 1. 1.;
>> #P newex 507 593 50 196617 s grimyb;
>> #P flonum 1064 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 1026 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 986 540 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P toggle 684 543 15 0;
>> #P message 684 566 94 196617 smooth_shading $1;
>> #P message 410 569 79 196617 color 0. 1. 0. 1.;
>> #P toggle 783 543 15 0;
>> #P message 783 566 90 196617 lighting_enable $1;
>> #P toggle 361 548 15 0;
>> #P message 361 569 44 196617 axes $1;
>> #P toggle 577 547 15 0;
>> #P toggle 536 546 15 0;
>> #P newex 495 567 92 196617 pak poly_mode 0 0;
>> #P hidden newex 723 500 50 196617 loadbang;
>> #P toggle 596 543 15 0;
>> #P message 596 566 81 196617 depth_enable $1;
>> #P hidden message 724 522 14 196617 1;
>> #P newex 958 564 95 196617 pak position 0. 0. 0.;
>> #P newex 591 442 81 196617 prepend capture;
>> #P user ubumenu 591 416 72 196617 0 1 1 0;
>> #X add none;
>> #X add cap;
>> #X add tex;
>> #X add none;
>> #X add cap;
>> #X add tex;
>> #X prefix_set 0 0 0;
>> #X pattrmode 1;
>> #P newex 504 440 81 196617 prepend texture;
>> #P user ubumenu 504 414 72 196617 0 1 1 0;
>> #X add none;
>> #X add tex;
>> #X add cap;
>> #X add none;
>> #X add tex;
>> #X add cap;
>> #X prefix_set 0 0
0;
>> #X pattrmode 1;
>> #P newex 422 440 71 196617 prepend shape;
>> #P user ubumenu 422 414 72 196617 0 1 1 0;
>> #X add sphere;
>> #X add torus;
>> #X add cylinder;
>> #X add opencylinder;
>> #X add cube;
>> #X add opencube;
>> #X add plane;
>> #X add circle;
>> #X prefix_set 0 0
0;
>> #P newex 371 475 50 196617 r grimyb;
>> #P newex 421 503 162 196617 jit.gl.gridshape test @shape torus;
>> #B color 5;
>> #P flonum 89 413 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> > #P message 88 440 88 196617 param amount $1;
>> #P newex 56 490 170 196617 jit.gl.slab test @file co.additive.jxs;
>> #P message 247 507 34 196617 reset;
>> #P newex 247 527 84 196617 jit.gl.handle test;
>> #P newex 173 309 142 196617 jit.gl.texture test @name cap;
>> #B color 5;
>> #P toggle 575 304 15 0;
>> #P flonum 1063 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 1025 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 985 286 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P newex 960 313 85 196617 pak scale 1. 1. 1.;
>> #P newex 525 387 43 196617 s grimy;
>> #P flonum 1082 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 1044 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P flonum 1004 334 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>> #P toggle 702 337 15 0;
>> #P message 702 360 94 196617 smooth_shading $1;
>> #P message 426 360 84 196617 color 1. 0. 1. 1.;
>> #P toggle 801 337 15 0;
>> #P message 801 360 90 196617 lighting_enable $1;
>> #P toggle 379 342 15 0;
>> #P message 379 363 44 196617 axes $1;
>> #P toggle 595 341 15 0;
>> #P toggle 554 340 15 0;
>> #P newex 513 361 92 196617 pak poly_mode 0 0;
>> #P hidden newex 741 294 50 196617 loadbang;
>> #P toggle 614 337 15 0;
>> #P message 614 360 81 196617 depth_enable $1;
>> #P hidden message 742 316 14 196617 1;
>> #P newex 976 358 95 196617 pak position 0. 0. 0.;
>> #P newex 609 236 81 196617 prepend capture;
>> #P user ubumenu 609 210 72 196617 0 1 1 0;
>> #X add none;
>> #X add cap;
>> #X add tex;
>> #X add none;
>> #X add cap;
>> #X add tex;
>> #X prefix_set 0 0
0;
>> #X pattrmode 1;
>> #P newex 522 234 81 196617 prepend texture;
>> #P user ubumenu 522 208 72 196617 0 1 1 0;
>> #X add none;
>> #X add tex;
>> #X add cap;
>> #X add none;
>> #X add tex;
>> #X add cap;
>> #X prefix_set 0 0
0;
>> #X pattrmode 1;
>> #P newex 440 234 71 196617 prepend shape;
>> #P user ubumenu 440 208 72 196617 0 1 1 0;
>> #X add sphere;
>> #X add torus;
>> #X add cylinder;
>> #X add opencylinder;
>> #X add cube;
>> #X add opencube;
>> #X add plane;
>> #X add circle;
>> #X prefix_set 0 0
0;
>> #P newex 389 269 43 196617 r grimy;
>> #P newex 441 307 99 196617 jit.gl.gridshape test;
>> #B color 5;
>> #P newex 0 22 52 196617 r subway;
>> #P newex 74 68 58 196617 t b erase b;
>> #P user jit.fpsgui 0 48 60 196617 0;
>> #P newex 122 93 52 196617 s subway;
>> #P newex 71 561 199 196617 jit.gl.videoplane test @transform_reset 2;
>> #B color 5;
>> #P newex 17 307 142 196617 jit.gl.texture test @name tex;
>> #B color 5;
>> #P toggle 277 79 15 0;
>> #P message 277 99 68 196617 fullscreen $1;
>> #N vpatcher 30 89 166 253;
>> #P window setfont "Sans Serif" 9.;
>> #P newex 50 71 35 196617 sel 27;
>> #P newex 50 50 40 196617 key;
>> #P outlet 50 93 15 0;
>> #P connect 1 0 2 0;
>> #P connect 2 0 0 0;
>> #P pop;
>> #P newobj 294 79 33 196617 p Esc;
>> #P newex 277 117 151 196617 jit.window test @depthbuffer 1;
>> #P toggle 74 22 15 0;
>> #P newex 74 41 57 196617 qmetro 30;
>> #P newex 74 118 187 196617 jit.gl.render test @erase_color 0 0 0 1;
>> #P fasten 82 0 65 0 562 535 541 535;
>> #P fasten 82 0 66 0 562 536 582 536;
>> #P hidden connect 63 0 71 0;
>> #P hidden connect 63 0 60 0;
>> #P hidden fasten 60 0 62 0 729 540 601 540;
>> #P hidden fasten 60 0 73 0 729 540 689 540;
>> #P hidden fasten 60 0 70 0 729 540 788 540;
>> #P fasten 52 0 51 0 376 502 426 502;
>> #P fasten 58 0 51 0 596 459 426 459;
>> #P fasten 56 0 51 0 509 459 426 459;
>> #P connect 54 0 51 0;
>> #P hidden connect 25 0 33 0;
>> #P hidden connect 25 0 22 0;
>> #P fasten 76 0 59 3 1069 559 1047 559;
>> #P fasten 81 0 78 3 1050 513 1022 513;
>> #P fasten 75 0 59 2 1031 559 1019 559;
>> #P fasten 80 0 78 2 1012 513 997 513;
>> #P connect 74 0 59 1;
>> #P connect 79 0 78 1;
>> #P fasten 38 0 21 3 1087 353 1065 353;
>> #P fasten 43 0 40 3 1068 307 1040 307;
>> #P fasten 37 0 21 2 1049 353 1037 353;
>> #P fasten 42 0 40 2 1030 307 1015 307;
>> #P connect 36 0 21 1;
>> #P connect 41 0 40 1;
>> #P connect 70 0 69 0;
>> #P connect 73 0 72 0;
>> #P connect 32 0 31 0;
>> #P hidden fasten 22 0 24 0 747 334 619 334;
>> #P hidden fasten 22 0 35 0 747 334 707 334;
> > #P hidden fasten 22 0 32 0 747 334 806 334;
>> #P connect 62 0 61 0;
>> #P fasten 57 1 58 0 627 437 596 437;
>> #P connect 66 0 64 2;
>> #P connect 65 0 64 1;
>> #P fasten 78 0 77 0 947 588 512 588;
>> #P fasten 61 0 77 0 601 588 512 588;
>> #P fasten 64 0 77 0 500 590 512 590;
>> #P fasten 71 0 77 0 415 590 512 590;
>> #P fasten 72 0 77 0 689 588 512 588;
>> #P fasten 69 0 77 0 788 588 512 588;
>> #P fasten 67 0 77 0 366 590 512 590;
>> #P fasten 59 0 77 0 963 588 512 588;
>> #P fasten 55 1 56 0 540 435 509 435;
>> #P connect 35 0 34 0;
>> #P fasten 53 1 54 0 458 435 427 435;
>> #P connect 24 0 23 0;
>> #P fasten 19 1 20 0 645 231 614 231;
>> #P connect 28 0 26 2;
>> #P fasten 44 0 27 0 580 329 559 329;
>> #P fasten 44 0 28 0 580 330 600 330;
>> #P connect 68 0 67 0;
>> #P connect 27 0 26 1;
>> #P fasten 40 0 39 0 965 382 530 382;
>> #P fasten 23 0 39 0 619 382 530 382;
>> #P fasten 26 0 39 0 518 384 530 384;
>> #P fasten 33 0 39 0 431 384 530 384;
>> #P fasten 34 0 39 0 707 382 530 382;
>> #P fasten 31 0 39 0 806 382 530 382;
>> #P fasten 29 0 39 0 384 384 530 384;
>> #P fasten 21 0 39 0 981 382 530 382;
>> #P fasten 17 1 18 0 558 229 527 229;
>> #P connect 16 0 13 0;
>> #P fasten 14 0 13 0 394 296 446 296;
>> #P fasten 18 0 13 0 527 253 446 253;
>> #P fasten 20 0 13 0 614 253 446 253;
>> #P fasten 15 1 16 0 476 229 445 229;
>> #P connect 30 0 29 0;
>> #P connect 5 0 3 0;
>> #P connect 6 0 5 0;
>> #P connect 4 0 6 0;
>> #P connect 47 0 46 0;
>> #P connect 45 0 48 1;
>> #P connect 83 0 7 0;
>> #P connect 83 0 45 0;
>> #P connect 11 2 9 0;
>> #P connect 50 0 49 0;
>> #P connect 11 0 0 0;
>> #P fasten 11 1 0 0 103 104 79 104;
>> #P connect 1 0 11 0;
>> #P connect 2 0 1 0;
>> #P connect 46 0 8 0;
>> #P connect 48 0 8 0;
>> #P connect 7 0 48 0;
>> #P connect 49 0 48 0;
>> #P connect 12 0 10 0;
>> #P window clipboard copycount 84;
>>
>—————————————————-
>
>Yeah, that’s "almost" what I want…….I am so happy….
>
>However, when I connect jit.qt.movie to the jit.gl.texture, I can
>see "the movie attached in the shape as the content of the texture"
>(am I right?), but one thing very annoying is the original movie
>still playback in the background of the test window. How can I get
>rid off the original movie? I mean, I am very happy to see the shape
>is moving around with jit.qt.movie attached in it but I don’t want
>to see the movie still play in the background…….how to fix that?
>I know since I have already send movie to the texture, movie will go
>through texture, to slab and go to videoplane. Is there anyway to to
>"filter out" the original movie but the movie will still playback as
>the texture of the content in the shape?
>
>I am sorry for my poor English and I am very appreciate your
>patience and your help. I think what I said movie in texture means
>"movie as content of the texture"….so I can see movie playback in
>the shape.
>
>Here is the patch I add "jit.qt.movie" on it, but I don’t know how
>to get rid off the original movie playback in the background.
>
>thank you so much,
>
>max v2;
>#N vpatcher 34 84 965 649;
>#P origin -1 21;
>#P window setfont "Sans Serif" 9.;
>#P user ubumenu 311 209 100 196617 0 1 1 0;
>#X add auto;
>#X add alpha;
>#X add luminance;
>#X add intensity;
>#X add depth;
>#X add lumalpha;
>#X add rgb;
>#X add argb;
>#X add uyvy;
>#X prefix_set 0 0
0;
>#X pattrmode 1;
>#P newex 318 234 93 196617 prepend colormode;
>#P message 287 140 28 196617 read;
>#P message 318 140 31 196617 start;
>#P newex 224 172 103 196617 jit.qt.movie 256 256;
>#P user jit.pwindow 223 217 66 66 0 1 0 0 1 0;
>#P newex 162 158 52 196617 r subway;
>#P toggle 558 489 15 0;
>#P flonum 1046 471 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 1008 471 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 968 471 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P newex 943 498 85 196617 pak scale 1. 1. 1.;
>#P newex 508 572 50 196617 s grimyb;
>#P flonum 1065 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 1027 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 987 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P toggle 685 522 15 0;
>#P message 685 545 94 196617 smooth_shading $1;
>#P message 411 548 79 196617 color 0. 1. 0. 1.;
>#P toggle 784 522 15 0;
>#P message 784 545 90 196617 lighting_enable $1;
>#P toggle 362 527 15 0;
>#P message 362 548 44 196617 axes $1;
>#P toggle 578 526 15 0;
>#P toggle 537 525 15 0;
>#P newex 496 546 92 196617 pak poly_mode 0 0;
>#P hidden newex 724 479 50 196617 loadbang;
>#P toggle 597 522 15 0;
>#P message 597 545 81 196617 depth_enable $1;
>#P hidden message 725 501 14 196617 1;
>#P newex 959 543 95 196617 pak position 0. 0. 0.;
>#P newex 592 421 81 196617 prepend capture;
>#P user ubumenu 592 395 72 196617 0 1 1 0;
>#X add none;
>#X add cap;
>#X add tex;
>#X add none;
>#X add cap;
>#X add tex;
>#X prefix_set 0 0
0;
>#X pattrmode 1;
>#P newex 505 419 81 196617 prepend texture;
>#P user ubumenu 505 393 72 196617 0 1 1 0;
>#X add none;
>#X add tex;
>#X add cap;
>#X add none;
>#X add tex;
>#X add cap;
>#X prefix_set 0 0
0;
>#X pattrmode 1;
>#P newex 423 419 71 196617 prepend shape;
>#P user ubumenu 423 393 72 196617 0 1 1 0;
>#X add sphere;
>#X add torus;
>#X add cylinder;
>#X add opencylinder;
>#X add cube;
>#X add opencube;
>#X add plane;
>#X add circle;
>#X prefix_set 0 0
0;
>#P newex 372 454 50 196617 r grimyb;
>#P newex 422 482 162 196617 jit.gl.gridshape test @shape torus;
>#B color 5;
>#P flonum 90 392 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P message 89 419 88 196617 param amount $1;
>#P newex 57 469 170 196617 jit.gl.slab test @file co.additive.jxs;
>#P message 248 486 34 196617 reset;
>#P newex 248 506 84 196617 jit.gl.handle test;
>#P newex 174 288 142 196617 jit.gl.texture test @name cap;
>#B color 5;
>#P toggle 576 283 15 0;
>#P flonum 1064 265 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 1026 265 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 986 265 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P newex 961 292 85 196617 pak scale 1. 1. 1.;
>#P newex 526 366 43 196617 s grimy;
>#P flonum 1083 313 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 1045 313 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P flonum 1005 313 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
>#P toggle 703 316 15 0;
>#P message 703 339 94 196617 smooth_shading $1;
>#P message 427 339 84 196617 color 1. 0. 1. 1.;
>#P toggle 802 316 15 0;
>#P message 802 339 90 196617 lighting_enable $1;
>#P toggle 380 321 15 0;
>#P message 380 342 44 196617 axes $1;
>#P toggle 596 320 15 0;
>#P toggle 555 319 15 0;
>#P newex 514 340 92 196617 pak poly_mode 0 0;
>#P hidden newex 742 273 50 196617 loadbang;
>#P toggle 615 316 15 0;
>#P message 615 339 81 196617 depth_enable $1;
>#P hidden message 743 295 14 196617 1;
>#P newex 977 337 95 196617 pak position 0. 0. 0.;
>#P newex 610 215 81 196617 prepend capture;
>#P user ubumenu 610 189 72 196617 0 1 1 0;
>#X add none;
>#X add cap;
>#X add tex;
>#X add none;
>#X add cap;
>#X add tex;
>#X prefix_set 0 0
0;
>#X pattrmode 1;
>#P newex 523 213 81 196617 prepend texture;
>#P user ubumenu 523 187 72 196617 0 1 1 0;
>#X add none;
>#X add tex;
>#X add cap;
>#X add none;
>#X add tex;
>#X add cap;
>#X prefix_set 0 0
0;
>#X pattrmode 1;
>#P newex 441 213 71 196617 prepend shape;
>#P user ubumenu 441 187 72 196617 0 1 1 0;
>#X add sphere;
>#X add torus;
>#X add cylinder;
>#X add opencylinder;
>#X add cube;
>#X add opencube;
>#X add plane;
>#X add circle;
>#X prefix_set 0 0
0;
>#P newex 390 248 43 196617 r grimy;
>#P newex 442 286 99 196617 jit.gl.gridshape test;
>#B color 5;
>#P newex 1 1 52 196617 r subway;
>#P newex 75 47 58 196617 t b erase b;
>#P user jit.fpsgui 1 27 60 196617 0;
>#P newex 123 72 52 196617 s subway;
>#P newex 72 540 199 196617 jit.gl.videoplane test @transform_reset 2;
>#B color 5;
>#P newex 18 286 142 196617 jit.gl.texture test @name tex;
>#B color 5;
>#P toggle 278 58 15 0;
>#P message 278 78 68 196617 fullscreen $1;
>#N vpatcher 30 89 166 253;
>#P window setfont "Sans Serif" 9.;
>#P newex 50 71 35 196617 sel 27;
>#P newex 50 50 40 196617 key;
>#P outlet 50 93 15 0;
>#P connect 1 0 2 0;
>#P connect 2 0 0 0;
>#P pop;
>#P newobj 295 58 33 196617 p Esc;
>#P newex 278 96 151 196617 jit.window test @depthbuffer 1;
>#P toggle 75 1 15 0;
>#P newex 75 20 57 196617 qmetro 30;
>#P newex 75 97 187 196617 jit.gl.render test @erase_color 0 0 0 1;
>#P connect 12 0 10 0;
>#P connect 83 0 7 0;
>#P connect 88 0 7 0;
>#P connect 7 0 48 0;
>#P connect 49 0 48 0;
>#P connect 48 0 8 0;
>#P connect 46 0 8 0;
>#P connect 2 0 1 0;
>#P connect 1 0 11 0;
>#P fasten 11 1 0 0 104 83 80 83;
>#P connect 11 0 0 0;
>#P connect 50 0 49 0;
>#P connect 11 2 9 0;
>#P connect 85 0 45 0;
>#P connect 83 0 45 0;
>#P connect 45 0 48 1;
>#P connect 83 0 85 0;
>#P fasten 87 0 85 0 292 166 229 166;
>#P fasten 86 0 85 0 323 166 229 166;
>#P connect 85 0 84 0;
>#P connect 47 0 46 0;
>#P connect 4 0 6 0;
>#P connect 6 0 5 0;
>#P connect 5 0 3 0;
>#P connect 89 1 88 0;
>#P connect 68 0 67 0;
>#P connect 30 0 29 0;
>#P hidden connect 63 0 71 0;
>#P connect 54 0 51 0;
>#P fasten 56 0 51 0 510 438 427 438;
>#P fasten 58 0 51 0 597 438 427 438;
>#P fasten 52 0 51 0 377 481 427 481;
>#P fasten 53 1 54 0 459 414 428 414;
>#P hidden connect 25 0 33 0;
>#P fasten 15 1 16 0 477 208 446 208;
>#P fasten 20 0 13 0 615 232 447 232;
>#P fasten 18 0 13 0 528 232 447 232;
>#P fasten 14 0 13 0 395 275 447 275;
>#P connect 16 0 13 0;
>#P fasten 55 1 56 0 541 414 510 414;
>#P fasten 59 0 77 0 964 567 513 567;
>#P fasten 67 0 77 0 367 569 513 569;
>#P fasten 69 0 77 0 789 567 513 567;
>#P fasten 72 0 77 0 690 567 513 567;
>#P fasten 71 0 77 0 416 569 513 569;
>#P fasten 64 0 77 0 501 569 513 569;
>#P fasten 61 0 77 0 602 567 513 567;
>#P fasten 78 0 77 0 948 567 513 567;
>#P fasten 17 1 18 0 559 208 528 208;
>#P fasten 21 0 39 0 982 361 531 361;
>#P fasten 29 0 39 0 385 363 531 363;
>#P fasten 31 0 39 0 807 361 531 361;
>#P fasten 34 0 39 0 708 361 531 361;
>#P fasten 33 0 39 0 432 363 531 363;
>#P fasten 26 0 39 0 519 363 531 363;
>#P fasten 23 0 39 0 620 361 531 361;
>#P fasten 40 0 39 0 966 361 531 361;
>#P fasten 82 0 65 0 563 514 542 514;
>#P connect 65 0 64 1;
>#P fasten 44 0 27 0 581 308 560 308;
>#P connect 27 0 26 1;
>#P fasten 82 0 66 0 563 515 583 515;
>#P connect 66 0 64 2;
>#P fasten 57 1 58 0 628 416 597 416;
>#P fasten 44 0 28 0 581 309 601 309;
>#P connect 28 0 26 2;
>#P hidden fasten 60 0 62 0 730 519 602 519;
>#P connect 62 0 61 0;
>#P fasten 19 1 20 0 646 210 615 210;
>#P hidden fasten 22 0 24 0 748 313 620 313;
>#P connect 24 0 23 0;
>#P hidden fasten 60 0 73 0 730 519 690 519;
>#P connect 73 0 72 0;
>#P hidden fasten 22 0 35 0 748 313 708 313;
>#P connect 35 0 34 0;
>#P hidden connect 63 0 60 0;
>#P hidden connect 25 0 22 0;
>#P hidden fasten 60 0 70 0 730 519 789 519;
>#P connect 70 0 69 0;
>#P hidden fasten 22 0 32 0 748 313 807 313;
>#P connect 32 0 31 0;
>#P connect 79 0 78 1;
>#P connect 41 0 40 1;
>#P connect 74 0 59 1;
>#P fasten 80 0 78 2 1013 492 998 492;
>#P connect 36 0 21 1;
>#P fasten 42 0 40 2 1031 286 1016 286;
>#P fasten 75 0 59 2 1032 538 1020 538;
>#P fasten 81 0 78 3 1051 492 1023 492;
>#P fasten 37 0 21 2 1050 332 1038 332;
>#P fasten 43 0 40 3 1069 286 1041 286;
>#P fasten 76 0 59 3 1070 538 1048 538;
>#P fasten 38 0 21 3 1088 332 1066 332;
>#P pop;
>


August 4, 2007 | 7:32 pm

See if you can understand these 3 techniques. Once you know what
they’re doing, you should have a good comprehension of the
relationship between textures and geometry in OpenGL.

wes

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 631 56 100 196617 Capture Technique;
#P comment 386 420 100 196617 3D Technique;
#P flonum 539 110 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 498 110 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 498 133 87 196617 pak position 0. 0.;
#P newex 633 247 217 196617 jit.gl.texture test @name cap1 @dim 720 480;
#P flonum 794 91 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 794 112 42 196617 rate $1;
#P message 679 91 81 196617 read wheel.mov;
#P message 728 112 27 196617 stop;
#P message 694 112 31 196617 start;
#P flonum 637 91 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 595 91 15 0;
#P newex 595 111 52 196617 metro 30;
#P message 758 112 31 196617 clear;
#P newex 595 139 103 196617 jit.qt.movie 320 240;
#B color 5;
#P message 627 199 133 196617 reset , drawobject vplane 0;
#P newex 597 174 329 196617 jit.gl.videoplane test @transform_reset 2
@name vplane @automatic 0;
#P window linecount 2;
#P newex 548 305 397 196617 jit.gl.videoplane test @transform_reset 2
@scale 0.666 1 1 @position 0.466 0 @blend_enable 1 @blend_mode 6 1
@color 1 1 1 0.75 @depth_enable 0 @texture cap1;
#P window linecount 1;
#P newex 627 221 154 196617 jit.gl.sketch test @capture cap1;
#P flonum 332 401 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 332 422 42 196617 rate $1;
#P message 217 401 80 196617 read dozer.mov;
#P message 266 422 27 196617 stop;
#P message 232 422 31 196617 start;
#P flonum 175 401 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 133 401 15 0;
#P newex 133 421 52 196617 metro 30;
#P message 296 422 31 196617 clear;
#P newex 133 449 103 196617 jit.qt.movie 320 240;
#B color 5;
#P flonum 49 418 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 8 418 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 8 441 87 196617 pak position 0. 0.;
#P window linecount 2;
#P newex 133 476 362 196617 jit.gl.videoplane test @transform_reset 2
@scale 0.666 1 1 @position -0.166 0 0 @blend_enable 1 @blend_mode 6 1
@color 1 1 1 0.75 @depth_enable 0;
#P flonum 56 216 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 15 216 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 15 239 79 196617 pak offset 0. 0.;
#P newex 15 261 76 196617 prepend param;
#P window linecount 2;
#P newex 125 318 362 196617 jit.gl.videoplane test @transform_reset 2
@scale 0.666 1 1 @position -0.666 0 0 @blend_enable 1 @blend_mode 6 1
@color 1 1 1 0.75 @depth_enable 0;
#P window linecount 1;
#P newex 125 291 152 196617 jit.gl.slab test @file td.rota.jxs;
#P flonum 324 195 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 324 216 42 196617 rate $1;
#P message 209 195 83 196617 read dishes.mov;
#P message 258 216 27 196617 stop;
#P message 224 216 31 196617 start;
#P flonum 167 195 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 125 195 15 0;
#P newex 125 215 52 196617 metro 30;
#P message 288 216 31 196617 clear;
#P newex 125 243 103 196617 jit.qt.movie 320 240;
#B color 5;
#P message 139 98 34 196617 reset;
#P newex 139 118 186 196617 jit.gl.handle test @inherit_transform 1;
#P newex 4 118 48 196617 r render;
#P toggle 119 89 15 0;
#N vpatcher 53 128 279 297;
#P inlet 106 30 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 43 95 47 196617 gate 1 1;
#P newex 42 116 41 196617 s draw;
#P window linecount 1;
#P newex 17 52 58 196617 t b b erase;
#P inlet 17 32 15 0;
#P outlet 17 83 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P fasten 2 2 0 0 70 75 22 75;
#P connect 4 0 3 0;
#P fasten 5 0 4 0 111 88 48 88;
#P fasten 2 1 4 1 46 83 85 83;
#P lcolor 15;
#P pop;
#P newobj 57 118 42 196617 p Draw;
#P toggle 195 57 15 0;
#P message 195 77 68 196617 fullscreen $1;
#N vpatcher 30 89 166 253;
#P window setfont "Sans Serif" 9.;
#P newex 50 71 35 196617 sel 27;
#P newex 50 50 40 196617 key;
#P outlet 50 93 15 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 212 57 33 196617 p Esc;
#P newex 195 95 151 196617 jit.window test @depthbuffer 1;
#P toggle 57 70 15 0;
#P newex 57 89 57 196617 qmetro 30;
#P newex 57 145 187 196617 jit.gl.render test @erase_color 0 0 0 1;
#P comment 309 265 100 196617 Slab Technique;
#P connect 23 0 24 0;
#P connect 33 0 29 0;
#P connect 30 0 29 0;
#P connect 58 0 45 0;
#P fasten 60 0 58 2 544 129 579 129;
#P fasten 59 0 58 1 503 129 541 129;
#P connect 46 0 43 0;
#P connect 47 0 45 0;
#P connect 56 0 55 0;
#P connect 51 0 49 1;
#P fasten 55 0 47 0 799 133 600 133;
#P fasten 54 0 47 0 684 133 600 133;
#P fasten 53 0 47 0 733 133 600 133;
#P fasten 52 0 47 0 699 133 600 133;
#P fasten 48 0 47 0 763 133 600 133;
#P fasten 49 0 47 0 600 136 600 136;
#P connect 50 0 49 0;
#P connect 36 0 35 0;
#P fasten 35 0 33 0 138 446 138 446;
#P fasten 34 0 33 0 301 443 138 443;
#P fasten 38 0 33 0 237 443 138 443;
#P fasten 39 0 33 0 271 443 138 443;
#P fasten 40 0 33 0 222 443 138 443;
#P fasten 41 0 33 0 337 443 138 443;
#P connect 37 0 35 1;
#P connect 42 0 41 0;
#P fasten 31 0 30 1 13 437 51 437;
#P fasten 32 0 30 2 54 437 89 437;
#P connect 13 0 23 0;
#P fasten 27 0 26 1 20 235 54 235;
#P fasten 28 0 26 2 61 235 88 235;
#P connect 26 0 25 0;
#P connect 25 0 23 0;
#P connect 22 0 21 0;
#P connect 17 0 15 1;
#P fasten 21 0 13 0 329 237 130 237;
#P fasten 20 0 13 0 214 237 130 237;
#P fasten 19 0 13 0 263 237 130 237;
#P fasten 18 0 13 0 229 237 130 237;
#P fasten 14 0 13 0 293 237 130 237;
#P fasten 15 0 13 0 130 240 130 240;
#P connect 16 0 15 0;
#P connect 6 0 4 0;
#P connect 7 0 6 0;
#P connect 5 0 7 0;
#P connect 12 0 11 0;
#P fasten 9 0 8 1 124 111 94 111;
#P fasten 10 0 1 0 9 140 62 140;
#P connect 8 0 1 0;
#P fasten 11 0 1 0 144 140 62 140;
#P connect 2 0 8 0;
#P connect 3 0 2 0;
#P window clipboard copycount 63;


Viewing 31 posts - 1 through 31 (of 31 total)