From patrick.suchet at freesbee.fr Sun Jul 1 04:52:32 2007 From: patrick.suchet at freesbee.fr (taprik) Date: Sun Jul 1 04:52:40 2007 Subject: [jitter] Texture coordinate in Max land Message-ID: <1ab6f.4687876e@www.cycling74.com> Hi there, here is something I still not understand : It seems that the origins of textures coordinates are not the same in Max land and in other 3D software. In the example below the origin is at the top left vertex and in other 3D software it will be at the bottom left vertex. Is it really different or am I confusing ? Thanks for light Taprik #P window setfont "Sans Serif" 14.; #P window linecount 2; #P comment 562 117 252 196622 Try this two definitions of the primitive and textures coordinates; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 240 344 14 196617 7; #P window setfont "Sans Serif" 14.; #P newex 215 310 73 196622 loadbang; #P window linecount 2; #P comment 324 612 253 196622 Textures coordinates In other 3D software land are in black; #P comment 324 569 253 196622 Textures coordinates in max land are in blue; #B color 12; #P comment 824 244 100 196622 In other 3D software land; #P window linecount 1; #P comment 810 691 37 196622 1 \, 1; #B color 12; #P comment 626 693 37 196622 0 \, 1; #B color 12; #P comment 815 539 37 196622 1 \, 0; #B color 12; #P comment 631 539 37 196622 0 \, 0; #B color 12; #P comment 810 668 37 196622 1 \, 0; #P comment 626 670 37 196622 0 \, 0; #P comment 815 516 37 196622 1 \, 1; #P window linecount 2; #P message 557 235 259 196622 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 0 0 1 1; #P message 560 172 259 196622 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 1 1 0 0; #P window linecount 1; #P message 215 401 130 196622 usetexture video; #P newex 341 197 165 196622 prepend texture video; #P user jit.fpsgui 105 106 60 196622 0; #P newex 16 508 381 196622 jit.window troisd?s @rect 10 50 330 290 @floating 1; #P newex 548 336 97 196622 jit.fill couleur; #P newex 511 403 221 196622 jit.matrix couleur 5 float32 4 1; #P user ubumenu 412 393 68 196622 0 1 1 0; #X add points; #X add lines; #X add line_strip; #X add line_loop; #X add triangles; #X add tri_strip; #X add tri_fan; #X add quads; #X add quad_strip; #X add polygon; #X add tri_grid; #X prefix_set 0 0 0; #P newex 209 118 177 196622 t b b b b l erase; #P user jit.pwindow 396 111 77 65 0 1 0 0 1 0; #P message 367 41 53 196622 read; #P message 485 41 52 196622 stop; #P message 425 41 56 196622 start; #P toggle 209 21 16 0; #P newex 209 45 81 196622 metro 20; #P newex 209 77 150 196622 jit.qt.movie 320 240; #P newex 354 462 153 196622 jit.gl.render troisd?s; #P comment 631 516 37 196622 0 \, 1; #P window setfont "Sans Serif" 9.; #P comment 689 571 100 196617 The surface; #P user panel 674 539 128 128; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window setfont "Sans Serif" 14.; #P comment 823 181 100 196622 In max land; #B color 12; #P window setfont "Sans Serif" 20.; #P comment 41 695 507 196628 please lock the patche to see the differents colors; #P connect 7 0 18 0; #P fasten 7 0 6 0 214 71 214 71; #P fasten 22 0 16 0 562 305 553 305; #P fasten 21 0 16 0 565 224 553 224; #P fasten 13 1 15 0 247 192 516 192; #P fasten 34 0 14 0 245 376 417 376; #P connect 6 0 13 0; #P fasten 6 0 12 0 214 108 402 108; #P connect 15 0 5 0; #P fasten 20 0 5 0 220 441 359 441; #P fasten 19 0 5 0 346 232 359 232; #P fasten 13 0 5 0 214 167 359 167; #P fasten 13 5 5 0 379 167 359 167; #P fasten 14 1 5 0 446 422 359 422; #P connect 13 4 19 0; #P connect 33 0 34 0; #P connect 33 0 20 0; #P fasten 11 0 6 0 372 71 214 71; #P fasten 10 0 6 0 490 71 214 71; #P fasten 9 0 6 0 430 71 214 71; #P connect 8 0 7 0; #P window clipboard copycount 36; From mzeinstra at gmail.com Sun Jul 1 05:04:18 2007 From: mzeinstra at gmail.com (Maarten Zeinstra) Date: Sun Jul 1 05:04:19 2007 Subject: [jitter] How to close a grabbed file Message-ID: <1ab71.46878a30@www.cycling74.com> Hi I am using jit..qt.grap and jit.qt.movie after one another. I record a camera stream, whereafter I manipulate this with a qt.movie editor. First time I record everything works just fine, however the second time when I overwrite my sample file the file seems to remain open and then I cannot open it using qt.movie. What message should I use to the grab to close the file? I've tried close, stop and clear. Included is a simplified patch. max v2; #N vpatcher 10 59 1207 708; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 289 405 62 196617 print movie; #P newex 236 380 63 196617 jit.qt.movie; #P newex 236 352 68 196617 prepend read; #P button 331 214 15 0; #P newex 331 241 86 196617 opendialog folder; #P comment 348 214 100 196617 Set write Folder; #P newex 489 336 63 196617 route close; #P newex 398 315 101 196617 jit.qt.grab 720 576; #B color 5; #P user jit.pwindow 397 367 82 62 0 1 0 0 1 0; #N vpatcher 456 125 1318 562; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P newex 408 133 20 196617 t b; #P outlet 408 278 15 0; #P inlet 408 76 15 0; #P window linecount 1; #P message 408 260 16 196617 "Macintosh HD:/Users/maartenzeinstra/Desktop/sample"; #P newex 335 234 62 196617 prepend set; #P inlet 119 100 15 0; #N vpatcher 10 59 610 459; #P window setfont "Sans Serif" 9.; #P newex 360 107 90 196617 prepend set codec; #P inlet 360 57 15 0; #P outlet 246 302 15 0; #P outlet 85 302 15 0; #P inlet 138 58 15 0; #P inlet 85 58 15 0; #P newex 138 143 62 196617 prepend set; #P newex 138 108 51 196617 tosymbol; #P newex 138 81 89 196617 sprintf %ssample; #P newex 85 255 89 196617 append codec bmp; #P newex 85 230 73 196617 prepend write; #P message 85 194 16 196617 "Macintosh HD:/Users/maartenzeinstra/Desktop/sample"; #P connect 6 0 0 0; #P fasten 5 0 0 0 143 185 90 185; #P connect 0 0 1 0; #P connect 1 0 2 0; #P fasten 11 0 2 0 365 250 90 250; #P connect 2 0 8 0; #P connect 7 0 3 0; #P connect 3 0 4 0; #P connect 4 0 5 0; #P fasten 0 0 9 0 90 221 251 221; #P connect 10 0 11 0; #P pop; #P newobj 81 212 48 196617 p writer; #P inlet 100 100 15 0; #P newex 81 162 62 196617 t b b; #P message 133 212 30 196617 open; #P outlet 228 278 15 0; #P newex 228 135 57 196617 qmetro 40; #P message 187 211 89 196617 close \, stop \, clear; #P outlet 133 278 15 0; #P newex 187 161 20 196617 t b; #P newex 81 133 116 196617 sel 1; #P inlet 81 100 15 0; #P fasten 0 0 1 0 86 124 86 124; #P connect 1 0 8 0; #P connect 8 0 10 0; #P connect 9 0 10 1; #P connect 11 0 10 2; #P connect 8 1 7 0; #P fasten 7 0 3 0 138 252 138 252; #P fasten 4 0 3 0 192 252 138 252; #P fasten 10 0 3 0 86 253 138 253; #P connect 1 1 2 0; #P connect 2 0 4 0; #P fasten 0 0 5 0 86 126 233 126; #P connect 5 0 6 0; #P fasten 10 1 12 0 124 231 340 231; #P connect 14 0 16 0; #P connect 16 0 13 0; #P fasten 12 0 13 0 340 255 413 255; #P connect 13 0 15 0; #P pop; #P newobj 293 264 126 196617 p record; #P toggle 293 241 15 0; #P fasten 1 2 8 0 414 305 241 305; #P connect 8 0 9 0; #P connect 9 1 10 0; #P connect 0 0 1 0; #P connect 7 0 6 0; #P connect 6 0 1 1; #P fasten 1 1 3 0 356 298 403 298; #P fasten 1 0 3 0 298 298 403 298; #P connect 3 0 2 0; #P connect 4 1 1 3; #P connect 3 1 4 0; #P pop; From secondbox at gmx.net Sun Jul 1 05:58:07 2007 From: secondbox at gmx.net (secco) Date: Sun Jul 1 05:58:09 2007 Subject: [jitter] jit.gl.model how to get the dimensions, size Message-ID: <1ab76.468796ce@www.cycling74.com> hi all, is there a way to get the dimensions of an imported jit.gl.model? I also have this problem with jit.gl.3dtext. How can I get the differing dimensions of two different textlines in 3d? thanks secco From secondbox at gmx.net Sun Jul 1 06:04:54 2007 From: secondbox at gmx.net (secco) Date: Sun Jul 1 06:04:56 2007 Subject: [jitter] Re: Re: smoothing changing values - inertia - slide - acceleration In-Reply-To: <1b1605c20706301100g1f291748xae25c0a816b071d7@mail.gmail.com> Message-ID: <1ab77.46879866@www.cycling74.com> it's not from a sensor it's user input. the user can choose the destination coordinates of different objects. the objects then move to these coordinates. this movement should accelerate and decelerate softly. From mzeinstra at gmail.com Sun Jul 1 06:30:05 2007 From: mzeinstra at gmail.com (Maarten Zeinstra) Date: Sun Jul 1 06:30:08 2007 Subject: [jitter] Re: How to close a grabbed file In-Reply-To: <1ab71.46878a30@www.cycling74.com> Message-ID: <1ab79.46879e4c@www.cycling74.com> Made a mistake when simplifying, this is the correct patch max v2; #N vpatcher 10 59 1207 708; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 542 361 32 196617 print; #P newex 289 405 62 196617 print movie; #P newex 236 380 63 196617 jit.qt.movie; #P newex 236 352 68 196617 prepend read; #P button 331 214 15 0; #P newex 331 241 86 196617 opendialog folder; #P comment 348 214 100 196617 Set write Folder; #P newex 489 336 63 196617 route close; #P newex 398 315 101 196617 jit.qt.grab 720 576; #B color 5; #P user jit.pwindow 397 367 82 62 0 1 0 0 1 0; #N vpatcher 456 125 1318 562; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P newex 408 133 20 196617 t b; #P outlet 408 278 15 0; #P inlet 408 76 15 0; #P window linecount 1; #P message 408 260 280 196617 "Macintosh HD:/Users/maartenzeinstra/Desktop/sample"; #P newex 335 234 62 196617 prepend set; #P inlet 119 100 15 0; #N vpatcher 10 59 610 459; #P window setfont "Sans Serif" 9.; #P newex 360 107 90 196617 prepend set codec; #P inlet 360 57 15 0; #P outlet 246 302 15 0; #P outlet 85 302 15 0; #P inlet 138 58 15 0; #P inlet 85 58 15 0; #P newex 138 143 62 196617 prepend set; #P newex 138 108 51 196617 tosymbol; #P newex 138 81 89 196617 sprintf %ssample; #P newex 85 255 89 196617 append codec bmp; #P newex 85 230 73 196617 prepend write; #P message 85 194 16 196617 "Macintosh HD:/Users/maartenzeinstra/Desktop/sample"; #P connect 6 0 0 0; #P fasten 5 0 0 0 143 185 90 185; #P connect 0 0 1 0; #P connect 1 0 2 0; #P fasten 11 0 2 0 365 250 90 250; #P connect 2 0 8 0; #P connect 7 0 3 0; #P connect 3 0 4 0; #P connect 4 0 5 0; #P fasten 0 0 9 0 90 221 251 221; #P connect 10 0 11 0; #P pop; #P newobj 81 212 48 196617 p writer; #P inlet 100 100 15 0; #P newex 81 162 62 196617 t b b; #P message 133 212 30 196617 open; #P outlet 228 278 15 0; #P newex 228 135 57 196617 qmetro 40; #P message 187 211 89 196617 clear \, close \, stop; #P outlet 133 278 15 0; #P newex 187 161 20 196617 t b; #P newex 81 133 116 196617 sel 1; #P inlet 81 100 15 0; #P fasten 0 0 1 0 86 124 86 124; #P connect 1 0 8 0; #P connect 8 0 10 0; #P connect 9 0 10 1; #P connect 11 0 10 2; #P connect 8 1 7 0; #P fasten 7 0 3 0 138 252 138 252; #P fasten 4 0 3 0 192 252 138 252; #P fasten 10 0 3 0 86 253 138 253; #P connect 1 1 2 0; #P connect 2 0 4 0; #P fasten 0 0 5 0 86 126 233 126; #P connect 5 0 6 0; #P fasten 10 1 12 0 124 231 340 231; #P connect 14 0 16 0; #P connect 16 0 13 0; #P fasten 12 0 13 0 340 255 413 255; #P connect 13 0 15 0; #P pop; #P newobj 293 264 126 196617 p record; #P toggle 293 241 15 0; #P fasten 1 2 8 0 414 305 241 305; #P connect 8 0 9 0; #P connect 9 1 10 0; #P connect 0 0 1 0; #P connect 7 0 6 0; #P connect 6 0 1 1; #P fasten 1 1 3 0 356 298 403 298; #P fasten 1 0 3 0 298 298 403 298; #P connect 3 0 2 0; #P connect 4 0 1 3; #P connect 3 1 4 0; #P connect 4 1 11 0; #P pop; From wesley.hoke at gmail.com Sun Jul 1 08:34:43 2007 From: wesley.hoke at gmail.com (Wesley Smith) Date: Sun Jul 1 08:34:47 2007 Subject: [jitter] Texture coordinate in Max land In-Reply-To: <1ab6f.4687876e@www.cycling74.com> References: <1ab6f.4687876e@www.cycling74.com> Message-ID: <1079b050707010734o2db7117cie5ad0895834f99fc@mail.gmail.com> Seems like you understand quite well. What is the problem here? Texture coordinates are texture coordinates. Does their origin really matter? It's kind of an arbitrary thing whether it's top left or bottom left. I wouldn't worry about it too much. wes On 7/1/07, taprik wrote: > > Hi there, > > here is something I still not understand : > It seems that the origins of textures coordinates are not the same in Max land and in other 3D software. > In the example below the origin is at the top left vertex and in other 3D software it will be at the bottom left vertex. > Is it really different or am I confusing ? > Thanks for light > Taprik > > #P window setfont "Sans Serif" 14.; > #P window linecount 2; > #P comment 562 117 252 196622 Try this two definitions of the primitive and textures coordinates; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P message 240 344 14 196617 7; > #P window setfont "Sans Serif" 14.; > #P newex 215 310 73 196622 loadbang; > #P window linecount 2; > #P comment 324 612 253 196622 Textures coordinates In other 3D software land are in black; > #P comment 324 569 253 196622 Textures coordinates in max land are in blue; > #B color 12; > #P comment 824 244 100 196622 In other 3D software land; > #P window linecount 1; > #P comment 810 691 37 196622 1 \, 1; > #B color 12; > #P comment 626 693 37 196622 0 \, 1; > #B color 12; > #P comment 815 539 37 196622 1 \, 0; > #B color 12; > #P comment 631 539 37 196622 0 \, 0; > #B color 12; > #P comment 810 668 37 196622 1 \, 0; > #P comment 626 670 37 196622 0 \, 0; > #P comment 815 516 37 196622 1 \, 1; > #P window linecount 2; > #P message 557 235 259 196622 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 0 0 1 1; > #P message 560 172 259 196622 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 1 1 0 0; > #P window linecount 1; > #P message 215 401 130 196622 usetexture video; > #P newex 341 197 165 196622 prepend texture video; > #P user jit.fpsgui 105 106 60 196622 0; > #P newex 16 508 381 196622 jit.window troisd?s @rect 10 50 330 290 @floating 1; > #P newex 548 336 97 196622 jit.fill couleur; > #P newex 511 403 221 196622 jit.matrix couleur 5 float32 4 1; > #P user ubumenu 412 393 68 196622 0 1 1 0; > #X add points; > #X add lines; > #X add line_strip; > #X add line_loop; > #X add triangles; > #X add tri_strip; > #X add tri_fan; > #X add quads; > #X add quad_strip; > #X add polygon; > #X add tri_grid; > #X prefix_set 0 0 0; > #P newex 209 118 177 196622 t b b b b l erase; > #P user jit.pwindow 396 111 77 65 0 1 0 0 1 0; > #P message 367 41 53 196622 read; > #P message 485 41 52 196622 stop; > #P message 425 41 56 196622 start; > #P toggle 209 21 16 0; > #P newex 209 45 81 196622 metro 20; > #P newex 209 77 150 196622 jit.qt.movie 320 240; > #P newex 354 462 153 196622 jit.gl.render troisd?s; > #P comment 631 516 37 196622 0 \, 1; > #P window setfont "Sans Serif" 9.; > #P comment 689 571 100 196617 The surface; > #P user panel 674 539 128 128; > #X brgb 191 191 191; > #X frgb 0 0 0; > #X border 1; > #X rounded 0; > #X shadow 0; > #X done; > #P window setfont "Sans Serif" 14.; > #P comment 823 181 100 196622 In max land; > #B color 12; > #P window setfont "Sans Serif" 20.; > #P comment 41 695 507 196628 please lock the patche to see the differents colors; > #P connect 7 0 18 0; > #P fasten 7 0 6 0 214 71 214 71; > #P fasten 22 0 16 0 562 305 553 305; > #P fasten 21 0 16 0 565 224 553 224; > #P fasten 13 1 15 0 247 192 516 192; > #P fasten 34 0 14 0 245 376 417 376; > #P connect 6 0 13 0; > #P fasten 6 0 12 0 214 108 402 108; > #P connect 15 0 5 0; > #P fasten 20 0 5 0 220 441 359 441; > #P fasten 19 0 5 0 346 232 359 232; > #P fasten 13 0 5 0 214 167 359 167; > #P fasten 13 5 5 0 379 167 359 167; > #P fasten 14 1 5 0 446 422 359 422; > #P connect 13 4 19 0; > #P connect 33 0 34 0; > #P connect 33 0 20 0; > #P fasten 11 0 6 0 372 71 214 71; > #P fasten 10 0 6 0 490 71 214 71; > #P fasten 9 0 6 0 430 71 214 71; > #P connect 8 0 7 0; > #P window clipboard copycount 36; > > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > From doktorp at mac.com Sun Jul 1 11:01:36 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 11:01:45 2007 Subject: [jitter] Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <1ab68.4687125c@www.cycling74.com> References: <1ab68.4687125c@www.cycling74.com> Message-ID: <52B5BCCE-75E4-4BF5-9C8B-95A8706DC175@mac.com> I would most definitely not use jitter in a broadcast environment. You can guarantee a stable 30 fps *video signal* output from something like a Kona card which jitter can output, but that doesnt guarantee that the content will look like it has a stable 30 fps. Yeah, I would shy away from that very fast. On Jun 30, 2007, at 10:33 PM, robert vanrhyn wrote: > > This is a simple question. > > Can jitter be relied upon to provide stable playback at 30 fps > with more than 1 jit-object at 720x486? > > If I have just 1 jit.qt.movie object all playsback fine but > I now extract an alpha with let's say jit.unpack or jit.coerce, > etc, I can surely expect inconsistent playback, despite any > system specs (mine are beefy pc w/intel quad core). > > Playback is ok most of the time, but "most of the time" isn't > good enough for broadcast work. > > Is there a consensus on this? > > > help!!! > > > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/5622fca3/attachment.htm From bruno.zamborlin at gmail.com Sun Jul 1 11:39:32 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Sun Jul 1 11:39:34 2007 Subject: [jitter] Obj files in displaylist? Message-ID: <1ab81.4687e6d2@www.cycling74.com> Dear all, I'm looking for a solution to load in a displaylist a series of hundreds obj files. I have to make an animation, and I already build all the obj files. I would like to show an obj each 40-50 milliseconds, as shown in the (wrong) patch below. Thank you very much #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 237 169 120 196617 read mymodels-33.obj; #P newex 237 147 62 196617 prepend set; #P number 126 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 126 54 52 196617 metro 40; #N counter 2 1 50; #X flags 0 0; #P newobj 126 78 77 196617 counter 2 1 50; #P newex 126 123 148 196617 sprintf read mymodels-%s.obj; #P newex 12 119 105 196617 jit.qball @mode usurp; #P toggle 12 27 15 0; #P newex 12 96 55 196617 metro 20; #P newex 12 143 55 196617 t b b erase; #P newex 126 147 78 196617 jit.gl.model mdl; #B color 5; #P newex 12 181 80 196617 jit.gl.render mdl; #P newex 13 208 311 196617 jit.window mdl @depthbuffer 1 @rect 614 76 934 316 @floating 1; #P connect 7 0 2 0; #P fasten 7 0 11 0 131 142 242 142; #P connect 5 0 4 0; #P fasten 5 0 9 0 17 47 131 47; #P connect 10 0 7 0; #P connect 11 0 12 0; #P connect 8 0 10 0; #P connect 9 0 8 0; #P fasten 2 0 1 0 131 172 17 172; #P connect 6 0 3 0; #P connect 4 0 6 0; #P fasten 3 2 1 0 61 165 17 165; #P fasten 3 0 1 0 17 163 17 163; #P window clipboard copycount 13; -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From doktorp at mac.com Sun Jul 1 11:51:58 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 11:52:05 2007 Subject: [jitter] Obj files in displaylist? In-Reply-To: <1ab81.4687e6d2@www.cycling74.com> References: <1ab81.4687e6d2@www.cycling74.com> Message-ID: <9F038B62-8B38-46D6-97FC-C3BB86F83B55@mac.com> well, you can load them all in to 100 obj files in a java script script and then cycle the 'enable' parameter for display. On Jul 1, 2007, at 1:39 PM, Bruno Zamborlin wrote: > > Dear all, > I'm looking for a solution to load in a displaylist a series of > hundreds obj files. > > I have to make an animation, and I already build all the obj files. > I would like to show an obj each 40-50 milliseconds, as shown in > the (wrong) patch below. > > Thank you very much > > > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P message 237 169 120 196617 read mymodels-33.obj; > #P newex 237 147 62 196617 prepend set; > #P number 126 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 126 54 52 196617 metro 40; > #N counter 2 1 50; > #X flags 0 0; > #P newobj 126 78 77 196617 counter 2 1 50; > #P newex 126 123 148 196617 sprintf read mymodels-%s.obj; > #P newex 12 119 105 196617 jit.qball @mode usurp; > #P toggle 12 27 15 0; > #P newex 12 96 55 196617 metro 20; > #P newex 12 143 55 196617 t b b erase; > #P newex 126 147 78 196617 jit.gl.model mdl; > #B color 5; > #P newex 12 181 80 196617 jit.gl.render mdl; > #P newex 13 208 311 196617 jit.window mdl @depthbuffer 1 @rect 614 > 76 934 316 @floating 1; > #P connect 7 0 2 0; > #P fasten 7 0 11 0 131 142 242 142; > #P connect 5 0 4 0; > #P fasten 5 0 9 0 17 47 131 47; > #P connect 10 0 7 0; > #P connect 11 0 12 0; > #P connect 8 0 10 0; > #P connect 9 0 8 0; > #P fasten 2 0 1 0 131 172 17 172; > #P connect 6 0 3 0; > #P connect 4 0 6 0; > #P fasten 3 2 1 0 61 165 17 165; > #P fasten 3 0 1 0 17 163 17 163; > #P window clipboard copycount 13; > > -- > Bruno > > www.brunozamborlin.com > www.myspace.com/brunozamborlin > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/63719b5f/attachment.htm From yair99 at gmail.com Sun Jul 1 12:31:20 2007 From: yair99 at gmail.com (yair reshef) Date: Sun Jul 1 12:31:42 2007 Subject: [jitter] Re: Re: smoothing changing values - inertia - slide - acceleration In-Reply-To: <1ab77.46879866@www.cycling74.com> References: <1b1605c20706301100g1f291748xae25c0a816b071d7@mail.gmail.com> <1ab77.46879866@www.cycling74.com> Message-ID: <1b1605c20707011131q6eac4a10sa5c63dcb899240ef@mail.gmail.com> run a search on the main max list for "exponential" On 7/1/07, secco wrote: > > > it's not from a sensor it's user input. the user can choose the > destination coordinates of different objects. the objects then move to these > coordinates. this movement should accelerate and decelerate softly. > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/3d0c8228/attachment.htm From jeanfrancois.charles at newflore.org Sun Jul 1 12:40:21 2007 From: jeanfrancois.charles at newflore.org (Jean-Fran=?ISO-8859-1?B?5w==?=ois Charles) Date: Sun Jul 1 12:40:24 2007 Subject: [jitter] jit.tiffany from within jit.expr Message-ID: Hello, We can use jit.tiffany with fixed xy values, and with random ones. In the later case, the internal values are not reinitialized when we change xrange, yrange, or when a new matrix comes in. Rather, one has to give the message "xy" (or "x" or "y".) But when using jit.tiffany as a functor in jit.expr, I can't find a mean to reset randomly the internal values according to xrange and yrange. Or rather, those values seem to reset each time a new matrix comes (different from what the object does), but with the default values "0.2" I dont' think it's possible, but is there a way to send a message to a functor in jit.expr? Thanks, Jean-Fran?ois. See patch: #P window setfont "Sans Serif" 18.; #P window linecount 1; #P comment 50 308 21 196626 4; #P comment 856 267 21 196626 3; #P comment 272 121 21 196626 2; #P comment 100 28 21 196626 1; #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 63 340 155 196617 the functor seems stuck to default xrange and yrange 0.2; #P comment 70 309 100 196617 how to reset internal values here!!?; #P toggle 43 30 15 0; #P window linecount 1; #P newex 43 48 58 196617 metro 100; #P message 735 267 20 196617 xy; #P newex 650 266 79 196617 prepend yrange; #P newex 569 266 79 196617 prepend xrange; #P comment 179 121 41 196617 xrange; #P newex 179 269 69 196617 prepend expr; #P user jit.pwindow 552 388 202 152 0 1 0 0 1 0; #P user jit.pwindow 178 388 202 152 0 1 0 0 1 0; #P window linecount 5; #P message 266 318 107 196617 expr "jit.tiffany(in[0]\\\, @xrange 0.030000\\\, @yrange 0.020000\\\, @grid 0)"; #P window linecount 1; #P newex 43 133 27 196617 t l b; #P message 123 47 74 196617 read chilis.jpg; #P newex 43 79 111 196617 jit.qt.movie 600 2000; #P newex 553 311 55 196617 jit.tiffany; #P newex 266 299 62 196617 prepend set; #P newex 179 311 45 196617 jit.expr; #P flonum 220 134 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 179 134 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 179 237 375 196617 sprintf symout jit.tiffany(in[0]\\\\\\\, @xrange %f\\\\\\\, @yrange %f\\\\\\\, @grid 0); #P comment 220 121 50 196617 yrange; #P window linecount 2; #P comment 756 267 100 196617 <- xy resets internal values; #P user panel 731 260 155 44; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P user panel 46 302 185 75; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P user panel 31 23 173 54; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P user panel 165 110 141 48; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P connect 24 0 23 0; #P connect 23 0 12 0; #P fasten 13 0 12 0 128 71 48 71; #P connect 12 0 14 0; #P connect 7 0 6 0; #P fasten 14 1 6 0 65 222 184 222; #P lcolor 7; #P connect 6 0 18 0; #P fasten 14 0 9 0 48 310 184 310; #P lcolor 7; #P connect 18 0 9 0; #P connect 9 0 16 0; #P connect 18 0 10 0; #P connect 10 0 15 0; #P fasten 8 0 6 1 225 219 549 219; #P connect 20 0 11 0; #P connect 21 0 11 0; #P fasten 14 0 11 0 48 293 558 293; #P lcolor 7; #P connect 22 0 11 0; #P connect 11 0 17 0; #P fasten 7 0 20 0 184 169 574 169; #P fasten 8 0 21 0 225 161 655 161; #P window clipboard copycount 31; From jeanfrancois.charles at newflore.org Sun Jul 1 13:07:47 2007 From: jeanfrancois.charles at newflore.org (Jean-Fran=?ISO-8859-1?B?5w==?=ois Charles) Date: Sun Jul 1 13:07:55 2007 Subject: [jitter] Re: Re: smoothing changing values - inertia - slide - acceleration In-Reply-To: <1b1605c20707011131q6eac4a10sa5c63dcb899240ef@mail.gmail.com> Message-ID: You want a sigmoid function, not an exponential, right? Here is a patch quickly made. Wikipedia "sigmoid function". Jean-Fran?ois. #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 407 55 59 196617 graph it:; #P newex 470 72 48 196617 t b clear; #P newex 547 201 39 196617 !- 100; #P newex 547 182 41 196617 * 100.; #P newex 504 134 27 196617 t i i; #P button 470 55 15 0; #P newex 504 115 27 196617 -1; #P newex 521 153 40 196617 / 100.; #P newex 504 220 54 196617 pack 0. 0.; #P message 504 239 103 196617 setpixel \$1 \$2 0 0 0; #P user lcd 447 281 100 100 1 1 0 0 0; #P newex 470 96 44 196617 uzi 100; #P newex 278 233 98 196617 zmap 0. 1. -5.5 5.5; #P flonum 278 207 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 278 298 45 196617 t 2.71 f; #P flonum 278 401 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 278 369 31 196617 !/ 1.; #P newex 278 350 27 196617 + 1.; #P newex 278 278 34 196617 * -1.; #P newex 278 331 27 196617 pow; #P flonum 278 260 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 148 304 100 196617 sigmoid function:; #P fasten 14 0 8 0 526 172 283 172; #P connect 8 0 9 0; #P connect 9 0 1 0; #P connect 1 0 3 0; #P connect 3 0 7 0; #P connect 7 0 2 0; #P connect 2 0 4 0; #P connect 4 0 5 0; #P connect 5 0 6 0; #P connect 7 1 2 1; #P fasten 20 1 11 0 513 92 452 92; #P connect 12 0 11 0; #P connect 16 0 20 0; #P connect 20 0 10 0; #P connect 10 2 15 0; #P connect 15 0 17 0; #P connect 17 0 13 0; #P connect 13 0 12 0; #P connect 17 1 14 0; #P fasten 6 0 18 0 283 423 628 423 628 178 552 178; #P connect 18 0 19 0; #P connect 19 0 13 1; #P window clipboard copycount 22; At 7/1/07 2:31 PM, you wrote?: > run a search on the main max list for "exponential" > > > On 7/1/07, secco wrote: >> >> >> it's not from a sensor it's user input. the user can choose the >> destination coordinates of different objects. the objects then move to these >> coordinates. this movement should accelerate and decelerate softly. >> _______________________________________________ >> jitter mailing list >> jitter@cycling74.com >> http://www.cycling74.com/mailman/listinfo/jitter >> > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter From jeanfrancois.charles at newflore.org Sun Jul 1 13:21:42 2007 From: jeanfrancois.charles at newflore.org (Jean-Fran=?ISO-8859-1?B?5w==?=ois Charles) Date: Sun Jul 1 13:21:41 2007 Subject: [jitter] Re: Re: smoothing changing values - inertia - slide - acceleration In-Reply-To: Message-ID: Of course, this is the transfer function. For your application, you would put that after a [line] or something like that. At 7/1/07 3:07 PM, you wrote?: > You want a sigmoid function, not an exponential, right? > Here is a patch quickly made. Wikipedia "sigmoid function". > Jean-Fran?ois. > From bruno.zamborlin at gmail.com Sun Jul 1 14:22:07 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Sun Jul 1 14:22:08 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <9F038B62-8B38-46D6-97FC-C3BB86F83B55@mac.com> Message-ID: <1ab8d.46880ced@www.cycling74.com> thank you vade. i'm using lua for this project, so i'll do the cycle there. the only issue i'm thinking about is that i will have 50 elements in the scene, and every element could be shown as one of four animations. each animation will be based by 50 obj files, and so at the start-up i will load something like 50*4*50 = 10000 obj. Each obj is 600kb, so it will be load something like 6 gb !!! uhm... -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From outoff at mail.ru Sun Jul 1 14:46:08 2007 From: outoff at mail.ru (outoff) Date: Sun Jul 1 14:46:10 2007 Subject: [jitter] Flash in Jitter Message-ID: <1ab8e.4688128f@www.cycling74.com> questions to jitter developers what version of Flash SWF takes jit.qt.movie in last version of Jitter. Supports ActionScript 2.0 ? question to all members what methods to connection Flash you know? what who used? _________________ best regards, sergey komarov saint-petersburg russia From lyallmarcus at mac.com Sun Jul 1 15:45:09 2007 From: lyallmarcus at mac.com (marcus lyall) Date: Sun Jul 1 15:45:12 2007 Subject: [jitter] Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <52B5BCCE-75E4-4BF5-9C8B-95A8706DC175@mac.com> Message-ID: <1ab8f.46882063@www.cycling74.com> Can anyone run me through exactly why Jitter can't run smoothly at 30fps (or 25fps)? I can understand it when you're doing lots of complicated processing. But when you're just trying to play back a quicktime with a few objects in the chain? And the processors are barely breaking into a sweat? Is it to do with where Jitter is getting it's timing from? From other posts I'm presuming that the metro object is not up to the task... Is it a deep-rooted issue that is intrinsic to the program architecture? Or is it something that could be sorted out with a 'timing external' or something similar? Could the output be buffered in some way to make it smoother? Even an additional frame delay would be tolerable if it was predictable and gave smooth output. This issue is the single thing that stops me using Jitter for a whole bunch of 'professional' projects. Looking forward to doing my design work with a graphics tablet, a Lemur, a Matrox MXO and a (rented in) HD deck. Someday? From doktorp at mac.com Sun Jul 1 16:13:00 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 16:21:51 2007 Subject: [jitter] Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <1ab8f.46882063@www.cycling74.com> References: <1ab8f.46882063@www.cycling74.com> Message-ID: <1A32927C-FF1A-48DD-86FA-6C5F00B03BD0@mac.com> Well. Its complicated, you could probably improve your timing by a) if just using playback use direct to window method (see help) b) not use any UI elements that update rapidly, and if you have to use qlim to slow them down. c) if using matrix manipulation use @unique and qmetro play with your performance settings to optimize based on your patch requirements. d) use clocker message to spawn only one central clock (each metro, delay, speedlim, qlim etc object spawns its own timer). (only matters if you are using tons of line/delay etc objects) and of course, try and optimize your patch. But, im a professional video engineer as my day job (and a vigilante jitter programmer at night ), and as far as I can tell, there is some inherit jitter (pun intended) with the scheduler, and since at most you will have one extra thread, youre going to hiccup occasionally. I hope Jitter 2.0 tries to solve some of these issues, but its been mentioned before numerous times. On Jul 1, 2007, at 5:45 PM, marcus lyall wrote: > > Can anyone run me through exactly why Jitter can't run smoothly at > 30fps (or 25fps)? > > I can understand it when you're doing lots of complicated > processing. But when you're just trying to play back a quicktime > with a few objects in the chain? And the processors are barely > breaking into a sweat? > > Is it to do with where Jitter is getting it's timing from? From > other posts I'm presuming that the metro object is not up to the > task... > > Is it a deep-rooted issue that is intrinsic to the program > architecture? Or is it something that could be sorted out with a > 'timing external' or something similar? > > Could the output be buffered in some way to make it smoother? Even > an additional frame delay would be tolerable if it was predictable > and gave smooth output. This issue is the single thing that stops > me using Jitter for a whole bunch of 'professional' projects. > Looking forward to doing my design work with a graphics tablet, a > Lemur, a Matrox MXO and a (rented in) HD deck. Someday? > > > > > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/17e96227/attachment.htm From doktorp at mac.com Sun Jul 1 16:43:26 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 16:46:03 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1ab8d.46880ced@www.cycling74.com> References: <1ab8d.46880ced@www.cycling74.com> Message-ID: <23B886F0-F260-4D7F-B33A-A3CDEC53FB2B@mac.com> You should look at the patches ive posted on using jit.xfade to morph between 'keyframes' of objects. I bet you can cut down on your filecount by an order of magnitude, assuming your objs meet certain criteria. On Jul 1, 2007, at 4:22 PM, Bruno Zamborlin wrote: > > thank you vade. > i'm using lua for this project, so i'll do the cycle there. > > the only issue i'm thinking about is that i will have 50 elements > in the scene, and every element could be shown as one of four > animations. > each animation will be based by 50 obj files, and so at the start- > up i will load something like 50*4*50 = 10000 obj. > Each obj is 600kb, so it will be load something like 6 gb !!! > > uhm... > -- > Bruno > > www.brunozamborlin.com > www.myspace.com/brunozamborlin > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/f4a19391/attachment.htm From bruno.zamborlin at gmail.com Sun Jul 1 17:36:44 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Sun Jul 1 17:36:46 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <23B886F0-F260-4D7F-B33A-A3CDEC53FB2B@mac.com> Message-ID: <1ab92.46883a8a@www.cycling74.com> Perfect! Using jit.xfade the interpolation works perfectly just loading 5 obj instead of 50..... that means 600mb of memory instead of 6gb!! i copy here the patch for completeness, thank you vade #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 522 44 50 196617 reset; #P newex 522 64 167 196617 jit.gl.handle morph @auto_rotate 1; #P button 349 278 15 0; #P newex 369 301 105 196617 jit.qball @mode usurp; #P number 414 252 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 369 251 15 0; #P newex 369 278 55 196617 metro 20; #P newex 369 325 55 196617 t b b erase; #P newex 35 396 323 196617 jit.window morph @depthbuffer 1 @rect 614 76 934 316 @floating 1; #P newex 34 373 96 196617 jit.gl.render morph; #P message 201 131 26 196617 read; #P newex 201 169 433 196617 jit.gl.model morph @depth_enable 1 @smooth_shading 1 @lighting_enable 1 matrixoutput \$1; #B color 5; #P window setfont "Proportional Serif" 10.; #P comment 259 120 107 131727370 end; #P window setfont "Fixedwidth Serif" 10.; #P message 239 140 94 1441802 matrixoutput 1; #P window setfont "Sans Serif" 9.; #P message 34 54 26 196617 read; #P newex 34 93 433 196617 jit.gl.model morph @depth_enable 1 @smooth_shading 1 @lighting_enable 1 matrixoutput \$1; #B color 5; #P newex 262 315 60 196617 prepend set; #P window setfont "Proportional Serif" 10.; #P comment 231 275 95 131727370 Drawing Primitive; #P window setfont "Sans Serif" 9.; #P user ubumenu 233 292 68 196617 0 1 1 0; #X add points; #X add lines; #X add line_strip; #X add line_loop; #X add triangles; #X add tri_strip; #X add tri_fan; #X add quads; #X add quad_strip; #X add polygon; #X add tri_grid; #X add quad_grid; #X prefix_set 0 0 0; #P newex 34 340 85 196617 append quad_grid; #P window setfont "Proportional Serif" 10.; #P comment 105 238 95 131727370 Crossfade Value; #P comment 93 44 107 131727370 start; #P window setfont "Sans Serif" 9.; #P flonum 107 254 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont "Fixedwidth Serif" 10.; #P message 106 274 55 1441802 xfade \$1; #P message 72 63 94 1441802 matrixoutput 1; #P newex 34 300 177 1441802 jit.xfade; #P fasten 24 0 10 0 527 88 39 88; #P connect 11 0 10 0; #P fasten 1 0 10 0 77 86 39 86; #P fasten 2 0 0 0 111 294 39 294; #P connect 10 0 0 0; #P fasten 9 0 6 0 267 338 39 338; #P connect 0 0 6 0; #P connect 6 0 16 0; #P fasten 18 2 16 0 418 360 39 360; #P fasten 18 0 16 0 374 360 39 360; #P connect 3 0 2 0; #P fasten 24 0 14 0 527 165 206 165; #P connect 15 0 14 0; #P fasten 12 0 14 0 244 162 206 162; #P connect 14 0 0 1; #P connect 7 1 9 0; #P connect 25 0 24 0; #P connect 20 0 19 0; #P connect 19 0 22 0; #P connect 23 0 22 0; #P connect 22 0 18 0; #P connect 21 0 19 1; #P window clipboard copycount 26; -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From lyallmarcus at mac.com Sun Jul 1 17:47:33 2007 From: lyallmarcus at mac.com (marcus lyall) Date: Sun Jul 1 17:47:35 2007 Subject: [jitter] Re: Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <1A32927C-FF1A-48DD-86FA-6C5F00B03BD0@mac.com> Message-ID: <1ab93.46883d13@www.cycling74.com> Thanks for the advice, Vade. Not much point in using Jitter unless you're getting into some GL at this point. will look at clocker more carefully. In the past, even a simple movie-playing patch has had problems playing back smoothly. (especially in PAL) normally I run everything from a single qmetro or metro object and use the trigger object. Inherent jitter sounds bad though. Obviously patches all do different things, but if we can't get a basic movie player to work accurately, there's not much of a benchmark. Here's what I'd like to do as a minimum: play a quicktime movie in PAL or NTSC format. do some minor processing (cropping thru submatrix, colour correction) display 2 videos on videoplanes in window. no tearing. locked 25fps or 30 fps playback. output thru Matrox MXO or similar. Any chance for Jitter 2.0, cyclists? Stable playback= commercially viable = prepared to pay more money for product! From doktorp at mac.com Sun Jul 1 18:05:25 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 18:05:32 2007 Subject: [jitter] Re: Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <1ab93.46883d13@www.cycling74.com> References: <1ab93.46883d13@www.cycling74.com> Message-ID: <916C1288-9C74-445F-8C27-177D4FD3B5A2@mac.com> you're going to have inherit issues with compositing in openGL and then reading back to main memory to output to the MXO or other type of professional playback device, since they dont have accelerated 3d chipsets. Ill agree with whats below. If you have fast enough disks, try working with uncompressed quicktime movies, you'll get less CPU usage for qt decompression which is currently not threaded, as far as my understanding is concerned. On Jul 1, 2007, at 7:47 PM, marcus lyall wrote: > > Stable playback= commercially viable = prepared to pay more money > for product! > v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/f2dd81d1/attachment.htm From doktorp at mac.com Sun Jul 1 18:09:29 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 18:09:37 2007 Subject: [jitter] Re: Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <1ab93.46883d13@www.cycling74.com> References: <1ab93.46883d13@www.cycling74.com> Message-ID: <810FF1D8-331C-4DC1-BF82-40E9C040799C@mac.com> excellent. Im glad that worked out. Id check your models, as the limitation with this method is that each keyframe in your animation must not only have the same vertex count but the same vertex ordering. Its easy to mess that up, and makes modelling a bit of a pain in the ass. :) v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/d4d65703/attachment.htm From doktorp at mac.com Sun Jul 1 18:13:46 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 18:13:55 2007 Subject: [jitter] Re: Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <810FF1D8-331C-4DC1-BF82-40E9C040799C@mac.com> References: <1ab93.46883d13@www.cycling74.com> <810FF1D8-331C-4DC1-BF82-40E9C040799C@mac.com> Message-ID: sorry wrong thread. feel free to ignore :( v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/83430d94/attachment.htm From doktorp at mac.com Sun Jul 1 18:14:03 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 18:14:07 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <1ab92.46883a8a@www.cycling74.com> References: <1ab92.46883a8a@www.cycling74.com> Message-ID: excellent. Im glad that worked out. Id check your models, as the limitation with this method is that each keyframe in your animation must not only have the same vertex count but the same vertex ordering. Its easy to mess that up, and makes modelling a bit of a pain in the ass. :) v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/7b7647ad/attachment.htm From lyallmarcus at mac.com Sun Jul 1 18:45:28 2007 From: lyallmarcus at mac.com (marcus lyall) Date: Sun Jul 1 18:45:35 2007 Subject: [jitter] Re: Re: Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <916C1288-9C74-445F-8C27-177D4FD3B5A2@mac.com> Message-ID: <1ab98.46884aa7@www.cycling74.com> mxo runs straight outta the dvi output. it basically converts dvi to hd-sdi. Sweet! so whatever you do on the graphics card gets turned into video. like a fulsom imagepro but cheaper...... M From jeanfrancois.charles at newflore.org Sun Jul 1 19:12:02 2007 From: jeanfrancois.charles at newflore.org (Jean-Fran=?ISO-8859-1?B?5w==?=ois Charles) Date: Sun Jul 1 20:07:14 2007 Subject: [jitter] Bug in jit.rota inside jit.expr Message-ID: Summary: "? error: jit.expr: null matrix in jit_expr_treecalc" error message when theta < 0, when jit.rota is used as a functor from within [jit.expr]. Steps to Reproduce: -open the patch -read a jpg -bang the jit.qt.movie -try a positive value for theta, that works -try a negative value, see the error message and the incorrect result Expected Results: -same result as with jit.rota Actual Results: -no rotation Regression: tested on PB G4 OS X 10.4.10, MaxMSP 4.6.3, Jitter 1.6.3 Notes Same bug with float32 matrices. Jean-Fran?ois. Patch: #P button 134 95 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 343 207 29 196617 t b f; #P window linecount 2; #P comment 449 132 170 196617 message "null matrix in jit_expr_treecalc" in Max window; #P window linecount 1; #P comment 449 119 100 196617 theta <0 \, problem; #P comment 449 81 100 196617 theta >0 \, no problem; #P message 390 123 30 196617 -0.5; #P window setfont "Sans Serif" 18.; #P comment 426 118 21 196626 3; #P user panel 377 111 251 53; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P window setfont "Sans Serif" 9.; #P message 388 82 31 196617 1.12; #P window setfont "Sans Serif" 18.; #P comment 426 76 21 196626 2; #P user panel 377 69 180 39; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P window setfont "Sans Serif" 9.; #P message 648 291 48 196617 theta \$1; #P comment 349 169 37 196617 theta; #P newex 270 313 69 196617 prepend expr; #P message 674 122 14 196617 2; #P message 640 122 14 196617 0; #P newex 640 93 48 196617 loadbang; #P user jit.pwindow 643 432 202 152 0 1 0 0 1 0; #P user jit.pwindow 269 432 202 152 0 1 0 0 1 0; #P window linecount 5; #P message 357 362 97 196617 expr "jit.rota(in[0]\\\, @theta -0.500000\\\, @interp 0\\\, @boundmode 2)"; #P window linecount 1; #P newex 134 177 27 196617 t l b; #P message 907 294 71 196617 boundmode \$1; #P message 839 294 50 196617 interp \$1; #P toggle 478 179 15 0; #P message 153 95 74 196617 read chilis.jpg; #P newex 134 123 105 196617 jit.qt.movie 600 400; #P newex 644 355 43 196617 jit.rota; #P newex 357 343 62 196617 prepend set; #P newex 270 355 45 196617 jit.expr; #P number 503 179 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 343 182 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 270 281 386 196617 sprintf symout jit.rota(in[0]\\\\\\\, @theta %f\\\\\\\, @interp %i\\\\\\\, @boundmode %i); #P window setfont "Sans Serif" 18.; #P comment 236 88 21 196626 1; #P user panel 127 81 145 41; #X brgb 255 255 255; #X frgb 154 0 232; #X border 3; #X rounded 0; #X shadow 0; #X done; #P connect 4 0 2 2; #P connect 4 0 12 0; #P connect 10 0 2 1; #P connect 10 0 11 0; #P connect 17 0 18 0; #P connect 17 0 19 0; #P connect 32 1 2 0; #P connect 32 1 22 0; #P connect 3 0 32 0; #P connect 3 0 22 0; #P connect 7 0 16 0; #P connect 11 0 7 0; #P connect 12 0 7 0; #P connect 22 0 7 0; #P fasten 13 0 5 0 139 354 275 354; #P lcolor 7; #P fasten 13 0 7 0 139 337 649 337; #P lcolor 7; #P fasten 19 0 4 0 679 177 508 177; #P fasten 18 0 10 0 645 174 483 174; #P connect 6 0 14 0; #P connect 20 0 5 0; #P connect 20 0 6 0; #P connect 28 0 3 0; #P connect 25 0 3 0; #P connect 5 0 15 0; #P connect 2 0 20 0; #P fasten 13 1 2 0 156 266 275 266; #P connect 8 0 13 0; #P fasten 9 0 8 0 158 115 139 115; #P connect 33 0 8 0; #P fasten 32 0 33 0 348 236 337 236 337 73 139 73; #P window clipboard copycount 34; From doktorp at mac.com Sun Jul 1 20:09:04 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 20:09:12 2007 Subject: [jitter] Re: Re: Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <1ab98.46884aa7@www.cycling74.com> References: <1ab98.46884aa7@www.cycling74.com> Message-ID: <2ACB783F-1C98-4F09-A47B-E0EB28D0994F@mac.com> Oh. thats fucking sexy. Nevermind then. I havent used a matrox product in a long time. My bad ! On Jul 1, 2007, at 8:45 PM, marcus lyall wrote: > > mxo runs straight outta the dvi output. > > it basically converts dvi to hd-sdi. Sweet! > > so whatever you do on the graphics card gets turned into video. > > like a fulsom imagepro but cheaper...... > > M > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070701/1dd96e83/attachment.htm From jeanfrancois.charles at newflore.org Sun Jul 1 20:11:27 2007 From: jeanfrancois.charles at newflore.org (Jean-Fran=?ISO-8859-1?B?5w==?=ois Charles) Date: Sun Jul 1 20:11:30 2007 Subject: [jitter] Re: Re: smoothing changing values - inertia - slide - acceleration In-Reply-To: Message-ID: And this one may be more efficient, and the program looks nicer... Jean-Fran?ois. #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 278 350 86 196617 zmap -1. 1. 0. 1.; #P comment 407 55 59 196617 graph it:; #P newex 470 72 48 196617 t b clear; #P newex 547 201 39 196617 !- 100; #P newex 547 182 41 196617 * 100.; #P newex 504 134 27 196617 t i i; #P button 470 55 15 0; #P newex 504 115 27 196617 -1; #P newex 521 153 40 196617 / 100.; #P newex 504 220 54 196617 pack 0. 0.; #P message 504 239 103 196617 setpixel \$1 \$2 0 0 0; #P user lcd 447 281 100 100 1 1 0 0 0; #P newex 470 96 44 196617 uzi 100; #P newex 278 233 98 196617 zmap 0. 1. -3.1 3.1; #P flonum 278 207 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 278 298 29 196617 tanh; #P flonum 278 401 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 278 260 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 148 304 100 196617 sigmoid function:; #P connect 4 0 5 0; #P connect 5 0 1 0; #P connect 18 0 2 0; #P connect 3 0 18 0; #P connect 1 0 3 0; #P connect 15 0 9 1; #P connect 14 0 15 0; #P fasten 2 0 14 0 283 423 628 423 628 178 552 178; #P connect 13 1 10 0; #P connect 9 0 8 0; #P connect 13 0 9 0; #P connect 11 0 13 0; #P connect 6 2 11 0; #P connect 16 0 6 0; #P connect 12 0 16 0; #P connect 8 0 7 0; #P fasten 16 1 7 0 513 92 452 92; #P fasten 10 0 4 0 526 172 283 172; #P window clipboard copycount 19; From mail at blakecarrington.com Sun Jul 1 22:12:46 2007 From: mail at blakecarrington.com (Blake) Date: Sun Jul 1 22:12:51 2007 Subject: [jitter] Multiline Textedit entry to Matrix Message-ID: <1ab9e.46887b3b@www.cycling74.com> I'm trying to superimpose user-input text (via textedit) onto a Jitter matrix. All's fine there, using jit.gl.text2d, but I want the text to wrap around within the matrix if the input is long enough, instead of continuing off in a single row. Suggestions on how I could tweak my existing patch? Thanks. max v2; #N vpatcher 6 47 1112 899; #P window setfont "Sans Serif" 9.; #P newex 251 490 48 196617 loadbang; #P toggle 820 450 15 0; #P newex 781 449 35 196617 sel 27; #P newex 736 449 40 196617 key; #P newex 736 475 91 196617 prepend fullscreen; #P newex 715 496 181 196617 jit.window biggy @rect 0 50 640 480; #P message 586 354 29 196617 stop; #P toggle 703 267 15 0; #P user jit.pwindow 648 517 162 122 0 1 0 0 1 0; #P user jit.pwindow 540 425 82 62 0 1 0 0 1 0; #P message 617 354 30 196617 read; #P newex 649 431 64 196617 jit.op @op +; #P newex 617 383 63 196617 jit.qt.movie; #P newex 703 406 176 196617 jit.matrix avalanche 4 char 320 240; #P newex 703 382 225 196617 jit.gl.render avalanche @erase_color 0. 0. 0. 1.; #P newex 703 348 50 196617 t b erase; #P newex 703 319 45 196617 jit.qball; #P newex 703 292 52 196617 metro 40; #P message 349 531 31 196617 0.6; #P message 312 531 36 196617 -1.05; #P flonum 320 550 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 275 570 85 196617 pak position 0. 0.; #P flonum 283 550 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 171 538 67 196617 prepend text; #P newex 171 513 69 196617 route symbol; #P message 251 512 134 196617 align left \, font helvetica 24; #P newex 171 600 194 196617 jit.gl.text2d avalanche @color 1. 1. 1. 1.; #P toggle 68 416 15 0; #P newex 68 436 64 196617 metro 5000; #P button 68 458 15 0; #P newex 120 262 55 196617 delay 100; #P newex 176 262 49 196617 delay 50; #P newex 63 262 55 196617 delay 150; #P newex 230 262 62 196617 prepend set; #P message 523 81 92 196617 frgb 255 255 255; #P message 463 82 57 196617 brgb 0 0 0; #P newex 230 241 51 196617 tosymbol; #P message 230 304 333 196617 "enter text and hit pink button to fill up coll object below."; #P newex 171 370 69 196617 pack 0 string; #P button 162 305 15 0; #P number 120 345 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #N counter 0 25; #X flags 0 0; #P newobj 120 325 68 196617 counter 0 25; #P message 136 417 33 196617 clear; #N coll ; #P newobj 171 486 53 196617 coll; #B color 5; #P message 171 417 343 196617 1 "enter text and hit pink button to fill up coll object below."; #P newex 171 391 62 196617 prepend set; #P newex 230 219 56 196617 route text; #P button 63 26 71 14; #P window setfont Arial 24.; #P user textedit 230 115 625 211 32904 2001 24 "enter text and hit pink button to fill up coll object below."; #X setrgb 255 255 255 0 0 0; #P window setfont "Sans Serif" 9.; #P comment 137 26 154 196617 <--CLICK WHEN DONE TYPING; #P comment 176 305 33 196617 reset; #P fasten 3 0 18 0 68 245 68 245; #P connect 23 0 22 0; #P connect 22 0 21 0; #P fasten 3 0 20 0 68 244 125 244; #P connect 20 0 9 0; #P connect 9 0 10 0; #P connect 11 0 9 3; #P fasten 10 0 12 0 125 365 176 365; #P connect 12 0 5 0; #P connect 5 0 6 0; #P fasten 18 0 6 0 68 412 176 412; #P connect 6 0 7 0; #P fasten 8 0 7 0 141 437 176 437 176 466; #P fasten 21 0 7 0 73 482 176 482; #P connect 7 0 26 0; #P connect 26 0 27 0; #P connect 27 0 24 0; #P fasten 25 0 24 0 256 594 176 594; #P fasten 29 0 24 0 280 594 176 594; #P fasten 3 0 19 0 68 244 181 244; #P fasten 3 0 2 0 68 104 235 104; #P fasten 15 0 2 0 468 104 235 104; #P fasten 16 0 2 0 528 104 235 104; #P connect 2 0 4 0; #P connect 4 0 14 0; #P connect 14 0 17 0; #P fasten 19 0 13 0 181 292 235 292; #P connect 17 0 13 0; #P connect 13 0 12 1; #P connect 50 0 25 0; #P fasten 28 0 29 1 288 567 317 567; #P connect 31 0 29 1; #P fasten 30 0 29 2 325 567 354 567; #P connect 32 0 29 2; #P connect 38 0 41 0; #P fasten 34 0 38 0 708 342 652 342 652 375 622 375; #P connect 44 0 38 0; #P connect 40 0 38 0; #P connect 38 0 39 0; #P connect 39 0 42 0; #P connect 43 0 33 0; #P connect 33 0 34 0; #P connect 34 0 35 0; #P fasten 35 1 36 0 748 375 708 375; #P connect 35 0 36 0; #P connect 36 0 37 0; #P connect 37 0 39 1; #P fasten 39 0 45 0 654 488 720 488; #P fasten 46 0 45 0 741 493 720 493; #P fasten 49 0 46 0 825 469 741 469; #P fasten 47 0 48 0 741 468 778 468 778 447 786 447; #P fasten 48 0 49 0 786 467 817 467 817 447 825 447; #P pop; -- "democracy is not a solution, but a process" From doktorp at mac.com Sun Jul 1 22:31:55 2007 From: doktorp at mac.com (vade) Date: Sun Jul 1 22:32:13 2007 Subject: [jitter] Multiline Textedit entry to Matrix In-Reply-To: <1ab9e.46887b3b@www.cycling74.com> References: <1ab9e.46887b3b@www.cycling74.com> Message-ID: use jit.scanwrap. it would be hard to make it dynamic so it would know to break only on spaces, but scanwrap will make this is a long sentance into this is a lo ng senta nce or something like that. On Jul 2, 2007, at 12:12 AM, Blake wrote: > > I'm trying to superimpose user-input text (via textedit) onto a > Jitter matrix. All's fine there, using jit.gl.text2d, but I want > the text to wrap around within the matrix if the input is long > enough, instead of continuing off in a single row. Suggestions on > how I could tweak my existing patch? > Thanks. > > max v2; > #N vpatcher 6 47 1112 899; > #P window setfont "Sans Serif" 9.; > #P newex 251 490 48 196617 loadbang; > #P toggle 820 450 15 0; > #P newex 781 449 35 196617 sel 27; > #P newex 736 449 40 196617 key; > #P newex 736 475 91 196617 prepend fullscreen; > #P newex 715 496 181 196617 jit.window biggy @rect 0 50 640 480; > #P message 586 354 29 196617 stop; > #P toggle 703 267 15 0; > #P user jit.pwindow 648 517 162 122 0 1 0 0 1 0; > #P user jit.pwindow 540 425 82 62 0 1 0 0 1 0; > #P message 617 354 30 196617 read; > #P newex 649 431 64 196617 jit.op @op +; > #P newex 617 383 63 196617 jit.qt.movie; > #P newex 703 406 176 196617 jit.matrix avalanche 4 char 320 240; > #P newex 703 382 225 196617 jit.gl.render avalanche @erase_color 0. > 0. 0. 1.; > #P newex 703 348 50 196617 t b erase; > #P newex 703 319 45 196617 jit.qball; > #P newex 703 292 52 196617 metro 40; > #P message 349 531 31 196617 0.6; > #P message 312 531 36 196617 -1.05; > #P flonum 320 550 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 275 570 85 196617 pak position 0. 0.; > #P flonum 283 550 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 171 538 67 196617 prepend text; > #P newex 171 513 69 196617 route symbol; > #P message 251 512 134 196617 align left \, font helvetica 24; > #P newex 171 600 194 196617 jit.gl.text2d avalanche @color 1. 1. 1. > 1.; > #P toggle 68 416 15 0; > #P newex 68 436 64 196617 metro 5000; > #P button 68 458 15 0; > #P newex 120 262 55 196617 delay 100; > #P newex 176 262 49 196617 delay 50; > #P newex 63 262 55 196617 delay 150; > #P newex 230 262 62 196617 prepend set; > #P message 523 81 92 196617 frgb 255 255 255; > #P message 463 82 57 196617 brgb 0 0 0; > #P newex 230 241 51 196617 tosymbol; > #P message 230 304 333 196617 "enter text and hit pink button to > fill up coll object below."; > #P newex 171 370 69 196617 pack 0 string; > #P button 162 305 15 0; > #P number 120 345 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #N counter 0 25; > #X flags 0 0; > #P newobj 120 325 68 196617 counter 0 25; > #P message 136 417 33 196617 clear; > #N coll ; > #P newobj 171 486 53 196617 coll; > #B color 5; > #P message 171 417 343 196617 1 "enter text and hit pink button to > fill up coll object below."; > #P newex 171 391 62 196617 prepend set; > #P newex 230 219 56 196617 route text; > #P button 63 26 71 14; > #P window setfont Arial 24.; > #P user textedit 230 115 625 211 32904 2001 24 "enter text and hit > pink button to fill up coll object below."; > #X setrgb 255 255 255 0 0 0; > #P window setfont "Sans Serif" 9.; > #P comment 137 26 154 196617 <--CLICK WHEN DONE TYPING; > #P comment 176 305 33 196617 reset; > #P fasten 3 0 18 0 68 245 68 245; > #P connect 23 0 22 0; > #P connect 22 0 21 0; > #P fasten 3 0 20 0 68 244 125 244; > #P connect 20 0 9 0; > #P connect 9 0 10 0; > #P connect 11 0 9 3; > #P fasten 10 0 12 0 125 365 176 365; > #P connect 12 0 5 0; > #P connect 5 0 6 0; > #P fasten 18 0 6 0 68 412 176 412; > #P connect 6 0 7 0; > #P fasten 8 0 7 0 141 437 176 437 176 466; > #P fasten 21 0 7 0 73 482 176 482; > #P connect 7 0 26 0; > #P connect 26 0 27 0; > #P connect 27 0 24 0; > #P fasten 25 0 24 0 256 594 176 594; > #P fasten 29 0 24 0 280 594 176 594; > #P fasten 3 0 19 0 68 244 181 244; > #P fasten 3 0 2 0 68 104 235 104; > #P fasten 15 0 2 0 468 104 235 104; > #P fasten 16 0 2 0 528 104 235 104; > #P connect 2 0 4 0; > #P connect 4 0 14 0; > #P connect 14 0 17 0; > #P fasten 19 0 13 0 181 292 235 292; > #P connect 17 0 13 0; > #P connect 13 0 12 1; > #P connect 50 0 25 0; > #P fasten 28 0 29 1 288 567 317 567; > #P connect 31 0 29 1; > #P fasten 30 0 29 2 325 567 354 567; > #P connect 32 0 29 2; > #P connect 38 0 41 0; > #P fasten 34 0 38 0 708 342 652 342 652 375 622 375; > #P connect 44 0 38 0; > #P connect 40 0 38 0; > #P connect 38 0 39 0; > #P connect 39 0 42 0; > #P connect 43 0 33 0; > #P connect 33 0 34 0; > #P connect 34 0 35 0; > #P fasten 35 1 36 0 748 375 708 375; > #P connect 35 0 36 0; > #P connect 36 0 37 0; > #P connect 37 0 39 1; > #P fasten 39 0 45 0 654 488 720 488; > #P fasten 46 0 45 0 741 493 720 493; > #P fasten 49 0 46 0 825 469 741 469; > #P fasten 47 0 48 0 741 468 778 468 778 447 786 447; > #P fasten 48 0 49 0 786 467 817 467 817 447 825 447; > #P pop; > > -- > "democracy is not a solution, but a process" > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/dd338f31/attachment.htm From james.charlton at aut.ac.nz Mon Jul 2 04:05:30 2007 From: james.charlton at aut.ac.nz (James Charlton) Date: Mon Jul 2 04:05:38 2007 Subject: [jitter] Cyclops atombuf! Message-ID: <1aba8.4688cde7@www.cycling74.com> Hi There I go again thinking I have it sorted and then DUH! New problem. Will I never learn? This time while working on a Cyclops patch to control mouse movement. I developed the patch using a small number of zones and once I had it sorted went to add the additional - thinking I could go to 256 zones if I wanted to. But when I get to 43 zones BANG - - check failed atombuf_text. I gather form previous questions this is something to do with processing large amounts of data but hang on - I thought Cyclops could cope with 256. By comparison 43 is nothing. What’s going wrong and how can I get round it. Thanks PS should have plenty of machine grunt - working on a MacBook Pro 2.33Ghz. From james.charlton at aut.ac.nz Mon Jul 2 04:06:07 2007 From: james.charlton at aut.ac.nz (James Charlton) Date: Mon Jul 2 04:06:13 2007 Subject: [jitter] Cyclops atombuf! Message-ID: <1abaa.4688ce0e@www.cycling74.com> Hi There I go again thinking I have it sorted and then DUH! New problem. Will I never learn? This time while working on a Cyclops patch to control mouse movement. I developed the patch using a small number of zones and once I had it sorted went to add the additional - thinking I could go to 256 zones if I wanted to. But when I get to 43 zones BANG - - check failed atombuf_text. I gather form previous questions this is something to do with processing large amounts of data but hang on - I thought Cyclops could cope with 256. By comparison 43 is nothing. What’s going wrong and how can I get round it. Thanks PS should have plenty of machine grunt - working on a MacBook Pro 2.33Ghz. From jeremy at bootsquad.com Mon Jul 2 04:57:40 2007 From: jeremy at bootsquad.com (Jeremy Bernstein) Date: Mon Jul 2 04:57:41 2007 Subject: [jitter] Cyclops atombuf! In-Reply-To: <1aba8.4688cde7@www.cycling74.com> References: <1aba8.4688cde7@www.cycling74.com> Message-ID: <9D55AA21-6CC6-4CD0-99C5-3B4AD0C2B25D@bootsquad.com> We like reading bug reports as much as you like writing them. However, for us to experience the full pleasure, you need to tell us stuff like, well, HOW to reproduce this error, like sending a patch with a set of numbered steps to follow. Thanks for the additional info. jb Am 02.07.2007 um 12:05 schrieb James Charlton: > This time while working on a Cyclops patch to control mouse > movement. I developed the patch using a small number of zones and > once I had it sorted went to add the additional - thinking I could > go to 256 zones if I wanted to. But when I get to 43 zones BANG - > - check failed atombuf_text. From bruno.zamborlin at gmail.com Mon Jul 2 05:40:59 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Mon Jul 2 05:41:05 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1ab81.4687e6d2@www.cycling74.com> Message-ID: <1abad.4688e44a@www.cycling74.com> i used the same number of vertex, and everything seems work good. i uploaded for you two objs i'm using, you can download them here: http://www.brunozamborlin.com/temp/MTAnt.zip let me know if you think it's ok too... i'm using the "triangles" interpolation mode. by the way, i'm thinking now that the number of obj files i have to load is still too big. i have a matrix of 30x30 cells (i'd prefer 50x50...) and in every cell could be one of 3 different breeds of insects. each insect could be in one of these states: borning, dying, motionless or moving. each state is based by at least 3 keyframes. so, it will be something like 30x30x3x4x3=32400 obj of 600kb, so 19 gygabyte of memory used!!! is it possible to duplicate a 3d model? i mean, displaying it in two of more different positions... in this way, i could delete that "30x30" in the expression... -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From rob.vanrhyn at nbcuni.com Mon Jul 2 06:10:20 2007 From: rob.vanrhyn at nbcuni.com (robert vanrhyn) Date: Mon Jul 2 06:10:22 2007 Subject: [jitter] Re: Jitter Video Playback - Amatuer or Professional Grade? In-Reply-To: <1ab68.4687125c@www.cycling74.com> Message-ID: <1abae.4688eb2b@www.cycling74.com> Thanx Vade, as usual, your posts are excellent. Its sooooooooo disappointing max/jitter isn't ready for prime time. We should all ask Cycling'74 to officially comment on this issue of Jittery playback with Jitter... that's probably why they named it Jitter! Having a "video product" produce unreliable playback at "video resolution" is not kool. How about a car with oval wheels... yeah it works.. but would you want to drive it? C'mon Cycling'74, what's your position on Jittery playback. Why isn't this a TOP PRIORITY!!! I'm not pissed - just very disappointed. Max/Jitter is very kool software - but seriously hobbled for professional video usage. rvr :< From nadassor at yahoo.com Mon Jul 2 06:15:15 2007 From: nadassor at yahoo.com (Nadav Assor) Date: Mon Jul 2 06:15:18 2007 Subject: [jitter] [OT] good wireless video equipment? Message-ID: <1abaf.4688ec52@www.cycling74.com> hi all, I was wandering if any of you have recommendations for a good general purpose wireless video transmitter/receiver package to be used in live gigs, work with dancers, etc. I'm looking for something compact that has minimum signal breakage and can work well with movement. Thanks, Nadav From wesley.hoke at gmail.com Mon Jul 2 06:42:37 2007 From: wesley.hoke at gmail.com (Wesley Smith) Date: Mon Jul 2 06:42:41 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1abad.4688e44a@www.cycling74.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> Message-ID: <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> The way to display the same geometry in several different positions is with vertex skinning (also known as matrix palette blending) (http://lynxengine.net/ati.htm). It requires some extra data such as vertex blending weights and the transformations of the geometry to be applied with each weight. The upside though is that you have really nice interpolation which is realistic as opposed to a simple crossfade which may move through undesirable states between keyframes. It's a bit tricky to do in jitter but it can be done using the mesh object and a vertex shader. I posted a half-working example a while ago called playdough mesh. It has some rough edges but is a good start. wes On 7/2/07, Bruno Zamborlin wrote: > > i used the same number of vertex, and everything seems work good. i uploaded for you two objs i'm using, you can download them here: http://www.brunozamborlin.com/temp/MTAnt.zip > let me know if you think it's ok too... > i'm using the "triangles" interpolation mode. > > > by the way, i'm thinking now that the number of obj files i have to load is still too big. > i have a matrix of 30x30 cells (i'd prefer 50x50...) and in every cell could be one of 3 different breeds of insects. each insect could be in one of these states: borning, dying, motionless or moving. > each state is based by at least 3 keyframes. > so, it will be something like 30x30x3x4x3=32400 obj of 600kb, so 19 gygabyte of memory used!!! > > is it possible to duplicate a 3d model? > i mean, displaying it in two of more different positions... in this way, i could delete that "30x30" in the expression... > -- > Bruno > > www.brunozamborlin.com > www.myspace.com/brunozamborlin > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > From secondbox at gmx.net Mon Jul 2 07:37:34 2007 From: secondbox at gmx.net (secco) Date: Mon Jul 2 07:37:36 2007 Subject: [jitter] jitter java support error: could not find jvm Message-ID: <1abb5.4688ff9d@www.cycling74.com> hi all, I have a problem with one Windows PC where jitter java support doesn't want to work. The System is a XP Machine which first didn't have SP2 installed I installed SP2, then the actual Sun JRE 6u1 (The Java Installer told me that SP2 is required). I have the same JRE on an identical Hardware (XP SP2 was already installed there) and Jitter java support runs fine there. Does anybody have an idea? thanks secco From secondbox at gmx.net Mon Jul 2 07:53:29 2007 From: secondbox at gmx.net (secco) Date: Mon Jul 2 07:53:31 2007 Subject: [jitter] Re: jitter java support error: could not find jvm In-Reply-To: <1abb5.4688ff9d@www.cycling74.com> Message-ID: <1abbb.46890358@www.cycling74.com> btw my max version is 4.6 jitter 1.6.3. the same versions of jre, jitter and max run fine on another machine with the same hardware and XP SP2. I can't find the difference. From doktorp at mac.com Mon Jul 2 08:07:25 2007 From: doktorp at mac.com (vade) Date: Mon Jul 2 08:07:31 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> Message-ID: Ive been looking at skinning techniques and found some great example code as well to use. I must have missed your skinning post, so im very happy to wake up to this. Cant wait to check it out. btw, I got some really nice looking parallax shading going on now with height and normal maps. This shader shit is the bomb :) Thanks Wes. This is a huge help. On Jul 2, 2007, at 8:42 AM, Wesley Smith wrote: > The way to display the same geometry in several different positions is > with vertex skinning (also known as matrix palette blending) > (http://lynxengine.net/ati.htm). It requires some extra data such as > vertex blending weights and the transformations of the geometry to be > applied with each weight. The upside though is that you have really > nice interpolation which is realistic as opposed to a simple crossfade > which may move through undesirable states between keyframes. It's a > bit tricky to do in jitter but it can be done using the mesh object > and a vertex shader. I posted a half-working example a while ago > called playdough mesh. It has some rough edges but is a good start. > > wes____________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/a5b64ba2/attachment.htm From wesley.hoke at gmail.com Mon Jul 2 08:34:35 2007 From: wesley.hoke at gmail.com (Wesley Smith) Date: Mon Jul 2 08:34:39 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> Message-ID: <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> What do you mean by parallax shading? wes On 7/2/07, vade wrote: > Ive been looking at skinning techniques and found some great example code > as well to use. I must have missed your skinning post, so im very happy to > wake up to this. Cant wait to check it out. > > btw, I got some really nice looking parallax shading going on now with > height and normal maps. This shader shit is the bomb :) > > Thanks Wes. This is a huge help. > > > On Jul 2, 2007, at 8:42 AM, Wesley Smith wrote: > > > > The way to display the same geometry in several different positions is > with vertex skinning (also known as matrix palette blending) > (http://lynxengine.net/ati.htm). It requires some extra data such as > vertex blending weights and the transformations of the geometry to be > applied with each weight. The upside though is that you have really > nice interpolation which is realistic as opposed to a simple crossfade > which may move through undesirable states between keyframes. It's a > bit tricky to do in jitter but it can be done using the mesh object > and a vertex shader. I posted a half-working example a while ago > called playdough mesh. It has some rough edges but is a good start. > > wes____________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > > v a d e // > > www.vade.info > abstrakt.vade.info > > > > > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > > From wesley.hoke at gmail.com Mon Jul 2 08:35:35 2007 From: wesley.hoke at gmail.com (Wesley Smith) Date: Mon Jul 2 08:35:39 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> Message-ID: <1079b050707020735y6b61b55ex6f36588131cbf6af@mail.gmail.com> nevermind, I know what you mean now. wes On 7/2/07, Wesley Smith wrote: > What do you mean by parallax shading? > > wes > > On 7/2/07, vade wrote: > > Ive been looking at skinning techniques and found some great example code > > as well to use. I must have missed your skinning post, so im very happy to > > wake up to this. Cant wait to check it out. > > > > btw, I got some really nice looking parallax shading going on now with > > height and normal maps. This shader shit is the bomb :) > > > > Thanks Wes. This is a huge help. > > > > > > On Jul 2, 2007, at 8:42 AM, Wesley Smith wrote: > > > > > > > > The way to display the same geometry in several different positions is > > with vertex skinning (also known as matrix palette blending) > > (http://lynxengine.net/ati.htm). It requires some extra data such as > > vertex blending weights and the transformations of the geometry to be > > applied with each weight. The upside though is that you have really > > nice interpolation which is realistic as opposed to a simple crossfade > > which may move through undesirable states between keyframes. It's a > > bit tricky to do in jitter but it can be done using the mesh object > > and a vertex shader. I posted a half-working example a while ago > > called playdough mesh. It has some rough edges but is a good start. > > > > wes____________________________________________ > > jitter mailing list > > jitter@cycling74.com > > http://www.cycling74.com/mailman/listinfo/jitter > > > > v a d e // > > > > www.vade.info > > abstrakt.vade.info > > > > > > > > > > _______________________________________________ > > jitter mailing list > > jitter@cycling74.com > > http://www.cycling74.com/mailman/listinfo/jitter > > > > > From wesley.hoke at gmail.com Mon Jul 2 08:39:12 2007 From: wesley.hoke at gmail.com (Wesley Smith) Date: Mon Jul 2 08:39:14 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1079b050707020735y6b61b55ex6f36588131cbf6af@mail.gmail.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> <1079b050707020735y6b61b55ex6f36588131cbf6af@mail.gmail.com> Message-ID: <1079b050707020739q1ba0bdc0oec3e363286f66263@mail.gmail.com> BTW, You can use these techniques with video by taking the convolution of the video image to generate height and normal maps based on luminance (or an other metric). This can be done with slabs of course. Basically, you to edge detection in the x and y directions for ther x and y normal vectors and the luminance is z. Then take the luminance as the height as well. wes From doktorp at mac.com Mon Jul 2 08:42:31 2007 From: doktorp at mac.com (vade) Date: Mon Jul 2 08:42:37 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> Message-ID: <9E412B27-3E34-431C-8201-9DDEF93D10BC@mac.com> http://scottdouglas.net/projects/glsl/ has parallax mapping code. Not sure if this is a commonly used term. My shader does do occlusion just yet, but it looks better than the normal map shader. http://cowboyprogramming.com/?p=34 On Jul 2, 2007, at 10:34 AM, Wesley Smith wrote: > What do you mean by parallax shading? > > wes > > On 7/2/07, vade wrote: >> Ive been looking at skinning techniques and found some great >> example code >> as well to use. I must have missed your skinning post, so im very >> happy to >> wake up to this. Cant wait to check it out. >> >> btw, I got some really nice looking parallax shading going on now >> with >> height and normal maps. This shader shit is the bomb :) >> >> Thanks Wes. This is a huge help. >> >> >> On Jul 2, 2007, at 8:42 AM, Wesley Smith wrote: >> >> >> >> The way to display the same geometry in several different >> positions is >> with vertex skinning (also known as matrix palette blending) >> (http://lynxengine.net/ati.htm). It requires some extra data such as >> vertex blending weights and the transformations of the geometry to be >> applied with each weight. The upside though is that you have really >> nice interpolation which is realistic as opposed to a simple >> crossfade >> which may move through undesirable states between keyframes. It's a >> bit tricky to do in jitter but it can be done using the mesh object >> and a vertex shader. I posted a half-working example a while ago >> called playdough mesh. It has some rough edges but is a good start. >> >> wes____________________________________________ >> jitter mailing list >> jitter@cycling74.com >> http://www.cycling74.com/mailman/listinfo/jitter >> >> v a d e // >> >> www.vade.info >> abstrakt.vade.info >> >> >> >> >> _______________________________________________ >> jitter mailing list >> jitter@cycling74.com >> http://www.cycling74.com/mailman/listinfo/jitter >> >> > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/56dd3c44/attachment.htm From muzicable at 9online.fr Mon Jul 2 09:42:36 2007 From: muzicable at 9online.fr (bypass) Date: Mon Jul 2 09:42:38 2007 Subject: [jitter] Monitor ctrle with render Message-ID: <1abc7.46891cea@www.cycling74.com> Hi, I've made a patch with render. I project it in my videprojector. I want to have the duplicate in my MAc book to control what i project in real time. The name of the projection is "jit.window output" and when i use it in:jit.pwindow Max say's that the name is already use. Any help? Thanks Bypass From doktorp at mac.com Mon Jul 2 10:01:07 2007 From: doktorp at mac.com (vade) Date: Mon Jul 2 10:01:20 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <1079b050707020739q1ba0bdc0oec3e363286f66263@mail.gmail.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> <1079b050707020735y6b61b55ex6f36588131cbf6af@mail.gmail.com> <1079b050707020739q1ba0bdc0oec3e363286f66263@mail.gmail.com> Message-ID: <2F3D96EC-2234-4969-A85C-BFD37D18DAB2@mac.com> Yup :) Realtime normal map generation is definitely on my list of to do's. On Jul 2, 2007, at 10:39 AM, Wesley Smith wrote: > BTW, > You can use these techniques with video by taking the convolution of > the video image to generate height and normal maps based on luminance > (or an other metric). This can be done with slabs of course. > Basically, you to edge detection in the x and y directions for ther x > and y normal vectors and the luminance is z. Then take the luminance > as the height as well. > > wes > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/f95b1f33/attachment.htm From doktorp at mac.com Mon Jul 2 10:01:40 2007 From: doktorp at mac.com (vade) Date: Mon Jul 2 10:01:52 2007 Subject: [jitter] Monitor ctrle with render In-Reply-To: <1abc7.46891cea@www.cycling74.com> References: <1abc7.46891cea@www.cycling74.com> Message-ID: <7C45CFE6-3998-4202-88BC-F29B258BED6A@mac.com> look at @shared_context for jit.gl.render, and search the archives, you can definitely do this, its been discussed before. Wesley posted a few examples patches. On Jul 2, 2007, at 11:42 AM, bypass wrote: > > Hi, I've made a patch with render. I project it in my videprojector. > I want to have the duplicate in my MAc book to control what i > project in real time. > The name of the projection is "jit.window output" and when i use it > in:jit.pwindow Max say's that the name is already use. > Any help? > > Thanks Bypass > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/09b01cc0/attachment.htm From bruno.zamborlin at gmail.com Mon Jul 2 10:19:37 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Mon Jul 2 10:19:38 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> Message-ID: <1abca.46892596@www.cycling74.com> Hi Wes, thank you very much for your tips! I tried your PlaydoughMesh patch (for other readers, the link is: http://www.mat.ucsb.edu/~whsmith/PlaydoughMesh.zip ) It works properly, and I can control each object separately. However, the problem you explained about importing in Jitter bone indices, bone modelview matrices and weights seems to be no easy to solve soon, and I have to complete my works in a couple of weeks (sorry!! :) So, I was thinking about something else: if I have to represent 100 identical 3Dmodels, if I load only one obj file and then, in the cycle, I update one model at time reading informations from the same array? I mean, is it possible to draw "manually" a 3Dmodel, instead of linking it to a jit.gl.model ? Something like "gl.Begin - gl.Vertex - gl.End" ? Quote: wesley.hoke@gmail.com wrote on Mon, 02 July 2007 14:42 ---------------------------------------------------- > The way to display the same geometry in several different positions is > with vertex skinning (also known as matrix palette blending) > (http://lynxengine.net/ati.htm). It requires some extra data such as > vertex blending weights and the transformations of the geometry to be > applied with each weight. The upside though is that you have really > nice interpolation which is realistic as opposed to a simple crossfade > which may move through undesirable states between keyframes. It's a > bit tricky to do in jitter but it can be done using the mesh object > and a vertex shader. I posted a half-working example a while ago > called playdough mesh. It has some rough edges but is a good start. > > wes -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From f at fredrikolofsson.com Mon Jul 2 11:51:08 2007 From: f at fredrikolofsson.com (f) Date: Mon Jul 2 11:51:12 2007 Subject: [jitter] Re: Moving planes efficiently in OpenGL In-Reply-To: <1a9ab.467fbeab@www.cycling74.com> Message-ID: <1abcf.46893b0a@www.cycling74.com> and may i suggest a few things that didn't come up in this discussion. 1. all your [line] objects will tick away at 20ms (50fps) and that independent of the framerate you're running. better to use your main metro to manually ramp and set scale+positions only once for each frame. 2. remove all those number boxes. with 16 poly voices you've got 100+ updating at 20ms. again those line objects. all gui objects eat framerate. 3. avoid to [pak] scale and positions if possible. you'll get x3 messages for each change. pack is better for collecting and then bang right before you output a frame. _f From andrewb at cycling74.com Mon Jul 2 12:13:15 2007 From: andrewb at cycling74.com (andrew benson) Date: Mon Jul 2 12:13:25 2007 Subject: [jitter] Re: Obj files in displaylist? In-Reply-To: <2F3D96EC-2234-4969-A85C-BFD37D18DAB2@mac.com> References: <1ab81.4687e6d2@www.cycling74.com> <1abad.4688e44a@www.cycling74.com> <1079b050707020542m673a4b43k23a76480ad115829@mail.gmail.com> <1079b050707020734i1aa5078ep95057eb8b6b2b644@mail.gmail.com> <1079b050707020735y6b61b55ex6f36588131cbf6af@mail.gmail.com> <1079b050707020739q1ba0bdc0oec3e363286f66263@mail.gmail.com> <2F3D96EC-2234-4969-A85C-BFD37D18DAB2@mac.com> Message-ID: <4689403B.804@cycling74.com> If I remember correctly, I believe I had posted an example of doing something like this in a shader somewhere in the forums in a thread about bump maps. I've attached the source patch and shader again here for convenience (and since shader code always gets mucked up in the forums). In the patch, the noise generation calculations can be replaced by jit.qt.movie or other matrix source. enjoy, Andrew B. -------------- next part -------------- A non-text attachment was scrubbed... Name: bump_barfs.zip Type: application/zip Size: 3325 bytes Desc: not available Url : http://www.cycling74.com/pipermail/jitter/attachments/20070702/8a8a3d1f/bump_barfs.zip From rob.vanrhyn at nbcuni.com Mon Jul 2 12:39:05 2007 From: rob.vanrhyn at nbcuni.com (robert vanrhyn) Date: Mon Jul 2 12:39:06 2007 Subject: [jitter] Re: Re: Re: Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <2ACB783F-1C98-4F09-A47B-E0EB28D0994F@mac.com> Message-ID: <1abd1.46894648@www.cycling74.com> Hey Guys, What about the "movie" object via MAX (no jitter). Since there are no metros involved in its usage, should I expect perfect playback as long as I have good hard-drive speed? rvr From bruno.zamborlin at gmail.com Mon Jul 2 12:51:45 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Mon Jul 2 12:51:49 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <4689403B.804@cycling74.com> Message-ID: <1abd2.46894940@www.cycling74.com> Thank you Andrew. I think the thread you mean is http://www.cycling74.com/forums/index.php?t=msg&goto=88022&rid=2862&S=df46c3a1c0c0b9ee6ea84d65fba5dd9b&srch=shader+bump#msg_88022 I can't find the "ab.bmap.jxs" file, or the code I have to copy and paste. May somebody link it or send it to me? Thanks -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From andrewb at cycling74.com Mon Jul 2 14:01:50 2007 From: andrewb at cycling74.com (Andrew Benson) Date: Mon Jul 2 14:01:52 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <1abd2.46894940@www.cycling74.com> Message-ID: <1abd7.468959ae@www.cycling74.com> Sorry, I didn't realize my attachment wouldn't get posted to the forum. Here it is for all of you forum readers... AB -------------- next part -------------- A non-text attachment was scrubbed... Name: bump_barfs.zip Type: application/zip Size: 3325 bytes Desc: not available Url : http://www.cycling74.com/pipermail/jitter/attachments/20070702/07d93f0c/bump_barfs.zip From bruno.zamborlin at gmail.com Mon Jul 2 14:29:16 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Mon Jul 2 14:29:18 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <1abd7.468959ae@www.cycling74.com> Message-ID: <1abda.4689601b@www.cycling74.com> Thank you Andrew. However, maybe I missed some step... how can I use this patch to achieve my goal? What I would like to to is to display more 3D identical objects loading only one OBJ file... -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From harmen at motiondezign.nl Mon Jul 2 15:50:29 2007 From: harmen at motiondezign.nl (Harmen van 't Loo) Date: Mon Jul 2 15:50:31 2007 Subject: [jitter] Pattstorage help Message-ID: <1abde.46897323@www.cycling74.com> I'm tying to build a applicaction that i made as a standalone project. i found out that the pattstorage is the way to go. Wiht object that hold numbers i can store things, but with the message box no result. See the text file that here to see the patch. It is a grid of squars to hold my video files to select the visualy. I need to get this standalone to run it on more sysemts then the 2 licences i got. I some one can help me out here... thanx!!! It seems the there a not a lot/non strings in the forum with this. Is it posible what i'm looking for? Cheers, Harmen #P window setfont "Sans Serif" 9.; #P window linecount 1; #P hidden newex 630 92 58 196617 r; #P user dropfile 630 92 695 141 0; #P user pictctrl 629 91 66 51 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg" 0 0 1 0 26 0 0 0 41 61 128 0 1 10 2 0 1 270; #P window linecount 2; #N vpatcher 745 51 1452 846; #P origin 53 13; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P newex 87 520 48 196617 loadbang; #P window linecount 1; #P newex 1 543 49 196617 delay 20; #P window linecount 0; #P message 87 547 22 196617 set; #P newex 185 178 57 196617 r memload; #P window linecount 1; #P newex 1 494 40 196617 pattr; #B color 5; #X prestore 1 0 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P objectname u533000283; #P user textedit 1 570 293 636 32896 3 9 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 0; #P newex 1 703 49 196617 delay 30; #P message 1 731 357 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 1 648 100 196617 substitute text read; #P newex 1 679 62 196617 prepend set; #P newex 375 504 100 196617 substitute text read; #P button 185 205 15 0; #P newex 1 518 60 196617 prepend set; #P window linecount 0; #P message 375 568 267 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 375 630 69 196617 s triggerpath; #P inlet 579 487 15 0; #P newex 375 535 62 196617 prepend set; #P newex 98 374 68 196617 prepend read; #B color 5; #P newex 98 303 62 196617 prepend set; #P window linecount 0; #P message 98 335 359 196617 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P inlet 98 276 15 0; #P outlet 98 420 15 0; #P window linecount 1; #P comment 597 487 100 196617 pictctr trigger; #P button 74 321 15 0; #P connect 4 0 19 0; #P connect 19 0 11 0; #P fasten 12 0 22 0 190 258 21 258 6 258; #P connect 21 0 18 0; #P connect 22 0 18 0; #P connect 11 0 18 0; #P connect 18 0 15 0; #P connect 15 0 14 0; #P fasten 12 0 17 0 190 257 6 257; #P connect 17 0 16 0; #P connect 14 0 16 0; #P connect 5 0 0 0; #P connect 23 0 21 0; #P connect 3 0 5 0; #P connect 5 0 4 0; #P fasten 0 0 4 0 79 342 94 342 94 329 103 329; #P connect 4 0 6 0; #P connect 6 0 2 0; #P fasten 16 0 2 0 6 405 103 405; #P connect 20 0 12 0; #P fasten 18 0 13 0 6 642 349 642 349 477 380 477; #P connect 13 0 7 0; #P fasten 6 0 7 0 103 405 348 405 348 522 348 530 380 530; #P connect 8 0 10 0; #P connect 7 0 10 0; #P connect 10 0 9 0; #P pop; #P hidden newobj 630 92 53 196617 p filepath loader; #P objectname "filepath loader[3]"; #P window linecount 1; #P hidden newex 561 92 58 196617 r; #P user dropfile 561 92 626 141 0; #P user pictctrl 560 91 66 51 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg" 0 0 1 0 26 0 0 0 41 61 128 0 1 10 2 0 1 270; #P window linecount 2; #N vpatcher 745 51 1452 846; #P origin 53 13; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P newex 87 520 48 196617 loadbang; #P window linecount 1; #P newex 1 543 49 196617 delay 20; #P window linecount 0; #P message 87 547 22 196617 set; #P newex 185 178 57 196617 r memload; #P window linecount 1; #P newex 1 494 40 196617 pattr; #B color 5; #X prestore 1 0 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P objectname u102000284; #P user textedit 1 570 293 636 32896 3 9 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 0; #P newex 1 703 49 196617 delay 30; #P message 1 731 357 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 1 648 100 196617 substitute text read; #P newex 1 679 62 196617 prepend set; #P newex 375 504 100 196617 substitute text read; #P button 185 205 15 0; #P newex 1 518 60 196617 prepend set; #P window linecount 0; #P message 375 568 267 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 375 630 69 196617 s triggerpath; #P inlet 579 487 15 0; #P newex 375 535 62 196617 prepend set; #P newex 98 374 68 196617 prepend read; #B color 5; #P newex 98 303 62 196617 prepend set; #P window linecount 0; #P message 98 335 359 196617 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P inlet 98 276 15 0; #P outlet 98 420 15 0; #P window linecount 1; #P comment 597 487 100 196617 pictctr trigger; #P button 74 321 15 0; #P connect 4 0 19 0; #P connect 19 0 11 0; #P fasten 12 0 22 0 190 258 21 258 6 258; #P connect 21 0 18 0; #P connect 22 0 18 0; #P connect 11 0 18 0; #P connect 18 0 15 0; #P connect 15 0 14 0; #P fasten 12 0 17 0 190 257 6 257; #P connect 17 0 16 0; #P connect 14 0 16 0; #P connect 5 0 0 0; #P connect 23 0 21 0; #P connect 3 0 5 0; #P connect 5 0 4 0; #P fasten 0 0 4 0 79 342 94 342 94 329 103 329; #P connect 4 0 6 0; #P connect 6 0 2 0; #P fasten 16 0 2 0 6 405 103 405; #P connect 20 0 12 0; #P fasten 18 0 13 0 6 642 349 642 349 477 380 477; #P connect 13 0 7 0; #P fasten 6 0 7 0 103 405 348 405 348 522 348 530 380 530; #P connect 8 0 10 0; #P connect 7 0 10 0; #P connect 10 0 9 0; #P pop; #P hidden newobj 561 92 53 196617 p filepath loader; #P objectname "filepath loader[4]"; #P window linecount 1; #P hidden newex 630 38 58 196617 r; #P user dropfile 630 38 695 87 0; #P user pictctrl 629 37 66 51 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg" 0 0 1 0 26 0 0 0 41 61 128 0 1 10 2 0 1 270; #P window linecount 2; #N vpatcher 745 51 1452 846; #P origin 53 13; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P newex 87 520 48 196617 loadbang; #P window linecount 1; #P newex 1 543 49 196617 delay 20; #P window linecount 0; #P message 87 547 22 196617 set; #P newex 185 178 57 196617 r memload; #P window linecount 1; #P newex 1 494 40 196617 pattr; #B color 5; #X prestore 1 0 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P objectname u874000282; #P user textedit 1 570 293 636 32896 3 9 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 0; #P newex 1 703 49 196617 delay 30; #P message 1 731 357 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 1 648 100 196617 substitute text read; #P newex 1 679 62 196617 prepend set; #P newex 375 504 100 196617 substitute text read; #P button 185 205 15 0; #P newex 1 518 60 196617 prepend set; #P window linecount 0; #P message 375 568 267 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 375 630 69 196617 s triggerpath; #P inlet 579 487 15 0; #P newex 375 535 62 196617 prepend set; #P newex 98 374 68 196617 prepend read; #B color 5; #P newex 98 303 62 196617 prepend set; #P window linecount 0; #P message 98 335 359 196617 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P inlet 98 276 15 0; #P outlet 98 420 15 0; #P window linecount 1; #P comment 597 487 100 196617 pictctr trigger; #P button 74 321 15 0; #P connect 4 0 19 0; #P connect 19 0 11 0; #P fasten 12 0 22 0 190 258 21 258 6 258; #P connect 11 0 18 0; #P connect 22 0 18 0; #P connect 21 0 18 0; #P connect 18 0 15 0; #P connect 15 0 14 0; #P fasten 12 0 17 0 190 257 6 257; #P connect 14 0 16 0; #P connect 17 0 16 0; #P connect 5 0 0 0; #P connect 23 0 21 0; #P connect 3 0 5 0; #P fasten 0 0 4 0 79 342 94 342 94 329 103 329; #P connect 5 0 4 0; #P connect 4 0 6 0; #P connect 6 0 2 0; #P fasten 16 0 2 0 6 405 103 405; #P connect 20 0 12 0; #P fasten 18 0 13 0 6 642 349 642 349 477 380 477; #P fasten 6 0 7 0 103 405 348 405 348 522 348 530 380 530; #P connect 13 0 7 0; #P connect 7 0 10 0; #P connect 8 0 10 0; #P connect 10 0 9 0; #P pop; #P hidden newobj 630 38 53 196617 p filepath loader; #P objectname "filepath loader[1]"; #P window linecount 1; #P hidden newex 561 38 58 196617 r; #P user dropfile 561 38 626 87 0; #P user pictctrl 560 37 66 51 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg" 0 0 1 0 26 0 0 0 41 61 128 0 1 10 2 0 1 270; #P window linecount 2; #N vpatcher 745 51 1452 846; #P origin 53 13; #P window setfont "Sans Serif" 9.; #P window linecount 0; #P newex 87 520 48 196617 loadbang; #P window linecount 1; #P newex 1 543 49 196617 delay 20; #P window linecount 0; #P message 87 547 22 196617 set; #P newex 185 178 57 196617 r memload; #P window linecount 1; #P newex 1 494 40 196617 pattr; #B color 5; #X prestore 1 0 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P objectname u277000281; #P user textedit 1 570 293 636 32896 3 9 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 0; #P newex 1 703 49 196617 delay 30; #P message 1 731 357 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 1 648 100 196617 substitute text read; #P newex 1 679 62 196617 prepend set; #P newex 375 504 100 196617 substitute text read; #P button 185 205 15 0; #P newex 1 518 60 196617 prepend set; #P window linecount 0; #P message 375 568 267 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 375 630 69 196617 s triggerpath; #P inlet 579 487 15 0; #P newex 375 535 62 196617 prepend set; #P newex 98 374 68 196617 prepend read; #B color 5; #P newex 98 303 62 196617 prepend set; #P window linecount 0; #P message 98 335 359 196617 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P inlet 98 276 15 0; #P outlet 98 420 15 0; #P window linecount 1; #P comment 597 487 100 196617 pictctr trigger; #P button 74 321 15 0; #P connect 4 0 19 0; #P connect 19 0 11 0; #P fasten 12 0 22 0 190 258 21 258 6 258; #P connect 11 0 18 0; #P connect 22 0 18 0; #P connect 21 0 18 0; #P connect 18 0 15 0; #P connect 15 0 14 0; #P fasten 12 0 17 0 190 257 6 257; #P connect 14 0 16 0; #P connect 17 0 16 0; #P connect 5 0 0 0; #P connect 23 0 21 0; #P connect 3 0 5 0; #P fasten 0 0 4 0 79 342 94 342 94 329 103 329; #P connect 5 0 4 0; #P connect 4 0 6 0; #P connect 6 0 2 0; #P fasten 16 0 2 0 6 405 103 405; #P connect 20 0 12 0; #P fasten 18 0 13 0 6 642 349 642 349 477 380 477; #P fasten 6 0 7 0 103 405 348 405 348 522 348 530 380 530; #P connect 13 0 7 0; #P connect 7 0 10 0; #P connect 8 0 10 0; #P connect 10 0 9 0; #P pop; #P hidden newobj 561 38 53 196617 p filepath loader; #P objectname "filepath loader[2]"; #P user dropfile 134 27 199 76 0; #P user pictctrl 59 25 66 51 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg" 0 0 1 0 26 0 0 0 41 61 128 0 1 10 2 0 1 270; #P window linecount 1; #P newex 147 364 48 196617 loadbang; #P newex 61 387 49 196617 delay 20; #P message 147 391 22 196617 set; #P newex 245 22 57 196617 r memload; #P newex 61 338 40 196617 pattr; #B color 5; #X prestore 1 0 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P objectname u308000280; #P user textedit 61 414 353 480 32896 3 9 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P newex 61 547 49 196617 delay 30; #P message 61 575 357 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P newex 61 492 100 196617 substitute text read; #P newex 61 523 62 196617 prepend set; #P newex 435 348 100 196617 substitute text read; #P button 245 49 15 0; #P newex 61 362 60 196617 prepend set; #P window linecount 2; #P message 435 412 267 196617 read "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P window linecount 1; #P newex 435 474 69 196617 s triggerpath; #P newex 435 379 62 196617 prepend set; #P newex 158 218 68 196617 prepend read; #B color 5; #P newex 158 147 62 196617 prepend set; #P message 158 179 359 196617 "Macintosh HD:/Users/mobi6/Movies/vj filez/emptyspace.jpg"; #P comment 657 331 100 196617 pictctr trigger; #P button 134 165 15 0; #P connect 4 0 21 0; #P connect 13 0 21 0; #P connect 2 0 16 0; #P connect 16 0 8 0; #P fasten 9 0 19 0 250 102 81 102 66 102; #P connect 18 0 15 0; #P connect 19 0 15 0; #P connect 8 0 15 0; #P connect 15 0 12 0; #P connect 12 0 11 0; #P fasten 9 0 14 0 250 101 66 101; #P connect 14 0 13 0; #P connect 11 0 13 0; #P connect 3 0 0 0; #P connect 20 0 18 0; #P connect 22 0 3 0; #P connect 3 0 2 0; #P fasten 0 0 2 0 139 186 154 186 154 173 163 173; #P connect 2 0 4 0; #P connect 17 0 9 0; #P fasten 15 0 10 0 66 486 409 486 409 321 440 321; #P fasten 4 0 5 0 163 249 408 249 408 366 408 374 440 374; #P connect 10 0 5 0; #P connect 21 0 7 0; #P connect 5 0 7 0; #P connect 7 0 6 0; #P hidden connect 26 0 24 0; #P hidden connect 23 0 24 0; #P hidden connect 31 0 32 0; #P hidden connect 34 0 32 0; #P hidden connect 25 0 23 0; #P hidden connect 33 0 31 0; #P hidden connect 24 0 23 1; #P hidden connect 32 0 31 1; #P hidden connect 30 0 28 0; #P hidden connect 27 0 28 0; #P hidden connect 35 0 36 0; #P hidden connect 38 0 36 0; #P hidden connect 29 0 27 0; #P hidden connect 37 0 35 0; #P hidden connect 28 0 27 1; #P hidden connect 36 0 35 1; #P window clipboard copycount 39; From andrewb at cycling74.com Mon Jul 2 16:04:13 2007 From: andrewb at cycling74.com (andrew benson) Date: Mon Jul 2 16:04:16 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <1abda.4689601b@www.cycling74.com> References: <1abda.4689601b@www.cycling74.com> Message-ID: <4689765D.7040202@cycling74.com> Hi Bruno, I have no idea. I was responding to Vade's desire to do normal-mapping using a texture. This example doesn't address your interest in multiple objects with one OBJ file. AB Bruno Zamborlin wrote: > Thank you Andrew. > However, maybe I missed some step... how can I use this patch to achieve my goal? From jeremy at bootsquad.com Mon Jul 2 16:24:17 2007 From: jeremy at bootsquad.com (Jeremy Bernstein) Date: Mon Jul 2 16:24:19 2007 Subject: [jitter] Pattstorage help In-Reply-To: <1abde.46897323@www.cycling74.com> References: <1abde.46897323@www.cycling74.com> Message-ID: <43D5F072-E24D-4683-9665-D54BEFE4FF77@bootsquad.com> The message box doesn't support pattr. I would recommend "textedit", "ubumenu", "umenu" or "pattr" as subsitute objects, all of which can store symbols. jb Am 02.07.2007 um 23:50 schrieb Harmen van 't Loo: > Wiht object that hold numbers i can store things, but with the > message box no result. From markdavid at mdhosale.com Mon Jul 2 16:31:22 2007 From: markdavid at mdhosale.com (MarkDavid Hosale) Date: Mon Jul 2 16:31:35 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <1abda.4689601b@www.cycling74.com> References: <1abda.4689601b@www.cycling74.com> Message-ID: <25C06AA5-D236-4346-9565-DD246E826196@mdhosale.com> I haven't been following this thread closely, so apologies if someone has covered this already. But, perchance, are you looking for something like this? With this patch you should only need one gl.model instance for each model... For reference: there are several example files that show this technique: examples->jitter-examples->render: jit.gl.videoplane-multi.pat (this patch is based on this one) jit.gl.texture.multi.pat jit.gl.render.multitetra.pat jit.gl.render.multi-iter.pat Hope this is what you're looking for. -MarkDavid max v2; #N vpatcher 597 176 1496 964; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 254 116 48 196617 loadbang; #P message 254 138 73 196617 read apple.obj; #P window linecount 3; #P comment 150 501 208 196617 since we're not using it \, we're turning off the depth buffer to conserve VRAM. the default is off \, but not harm in being explicit.; #P comment 453 391 183 196617 turn automatic off. this prevents the object from rendering automatically when jit.gl.render is banged; #P user jit.fpsgui 18 551 60 196617 0; #P window linecount 4; #P comment 307 185 201 196617 for each instance you wish to draw you need to send a sequence of messages specifying rotation/scale/ position of that instance \, and *then* bang; #P flonum 558 258 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 596 258 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 712 257 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P newex 646 282 109 196617 pack scale 0.1 0.1 0.1; #P newex 526 282 115 196617 pack position 0.5 0.5 0.; #P newex 511 217 40 196617 t b b b; #P newex 511 183 38 196617 r obj2; #P flonum 298 258 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 336 258 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 450 258 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 384 282 109 196617 pack scale 0.3 0.3 0.3; #P newex 274 282 103 196617 pack position 0. 0. 0.; #P newex 259 217 40 196617 t b b b; #P newex 259 183 38 196617 r obj1; #P newex 33 215 38 196617 s obj2; #P newex 48 193 38 196617 s obj1; #P newex 233 77 44 196617 r model; #P newex 63 174 44 196617 s model; #P message 65 401 85 196617 rect 0 0 640 480; #P toggle 54 469 15 0; #P message 54 490 45 196617 ortho \$1; #P toggle 244 422 15 0; #P message 244 440 55 196617 floating \$1; #P hidden message 51 383 68 196617 camera 0 0 4; #P toggle 171 422 15 0; #P newex 132 421 35 196617 sel 27; #P message 171 440 68 196617 fullscreen \$1; #P newex 89 464 145 196617 jit.window foo @depthbuffer 0; #P newex 87 421 40 196617 key; #P newex 18 96 43 196617 jit.qball; #P number 63 47 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 18 47 15 0; #P newex 18 73 55 196617 metro 20; #P newex 18 127 73 196617 t b b b b erase; #P newex 233 350 307 196617 jit.gl.model foo @automatic 0 @depth_enable 0 @lighting_enable 1; #P newex 18 527 80 196617 jit.gl.render foo; #P comment 99 130 117 196617 important \, erase first; #P window linecount 4; #P comment 452 435 183 196617 If you want to use a "painters algorithm" for drawing these shapes or perfom alpha blending between frames \, don't use depth testing; #P window linecount 1; #P comment 20 28 174 196617 ? based on jit.gl.videoplane-multi.pat; #P connect 7 0 6 0; #P connect 6 0 9 0; #P connect 9 0 5 0; #P fasten 5 4 3 0 83 155 113 155 113 252 23 252; #P connect 5 0 3 0; #P fasten 18 0 3 0 59 516 23 516; #P hidden fasten 15 0 3 0 56 448 23 448; #P connect 3 0 40 0; #P connect 5 1 24 0; #P connect 5 2 23 0; #P connect 19 0 18 0; #P connect 8 0 6 1; #P connect 5 3 21 0; #P fasten 12 0 11 0 176 459 94 459; #P fasten 16 0 11 0 249 459 94 459; #P fasten 20 0 11 0 70 449 94 449; #P fasten 10 0 13 0 92 440 129 440 129 419 137 419; #P fasten 13 0 14 0 137 439 168 439 168 419 176 419; #P connect 14 0 12 0; #P fasten 35 0 4 0 651 340 238 340; #P fasten 34 0 4 0 531 330 238 330; #P fasten 33 0 4 0 516 323 238 323; #P fasten 28 0 4 0 389 315 238 315; #P fasten 27 0 4 0 279 309 238 309; #P fasten 26 0 4 0 264 302 238 302; #P fasten 43 0 4 0 259 164 238 164; #P connect 22 0 4 0; #P connect 17 0 16 0; #P connect 44 0 43 0; #P connect 25 0 26 0; #P connect 26 1 27 0; #P fasten 31 0 27 1 303 277 310 277; #P connect 30 0 27 2; #P fasten 26 2 28 0 294 245 389 245; #P connect 29 0 28 1; #P connect 29 0 28 2; #P connect 29 0 28 3; #P connect 32 0 33 0; #P connect 33 1 34 0; #P fasten 38 0 34 1 563 280 566 280; #P connect 37 0 34 2; #P fasten 33 2 35 0 546 248 651 248; #P connect 36 0 35 1; #P connect 36 0 35 2; #P connect 36 0 35 3; #P pop; On Jul 2, 2007, at 1:29 PM, Bruno Zamborlin wrote: > What I would like to to is to display more 3D identical objects > loading only one OBJ file... > -- > Bruno From doktorp at mac.com Mon Jul 2 16:38:14 2007 From: doktorp at mac.com (vade) Date: Mon Jul 2 16:38:21 2007 Subject: [jitter] Re: Re: Obj files in displaylist? In-Reply-To: <4689765D.7040202@cycling74.com> References: <1abda.4689601b@www.cycling74.com> <4689765D.7040202@cycling74.com> Message-ID: <6C4363A8-F68F-4272-8B20-C052280814EC@mac.com> Oh - Andrew, I got that working a while ago, heres some new stuff: http://abstrakt.vade.info/?p=128 :D On Jul 2, 2007, at 6:04 PM, andrew benson wrote: > Hi Bruno, > I have no idea. I was responding to Vade's desire to do normal- > mapping > using a texture. This example doesn't address your interest in > multiple > objects with one OBJ file. > > AB > > Bruno Zamborlin wrote: >> Thank you Andrew. >> However, maybe I missed some step... how can I use this patch to >> achieve my goal? > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/0e6af8bb/attachment.htm From lyallmarcus at mac.com Mon Jul 2 18:43:50 2007 From: lyallmarcus at mac.com (marcus lyall) Date: Mon Jul 2 18:43:52 2007 Subject: [jitter] Re: Re: Re: Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <1abd1.46894648@www.cycling74.com> Message-ID: <1abef.46899bc5@www.cycling74.com> kinda sounds like you could use quartz composer then and save some money. Or are there similar problems there as well? And if we keep this thread really active, do you think a cyclist will eventually bestow us with some info? Seriously though, we all realise that we're asking for a lot here. We haven't bought a broadcast-spec product, nor are many of people concerned with this. But. If it could be done, it would seriously open the market up. It would mean I could actually get paid to use Max. Which would make a huge difference. Still dreaming of doing my moving graphics work with a wacom pen and lemur while humming and pretending I'm in a life drawing class. And smoothly outputting to that hd deck. And receiving cheques for it. Does anyone else see the attraction? From doktorp at mac.com Mon Jul 2 21:05:17 2007 From: doktorp at mac.com (vade) Date: Mon Jul 2 21:05:37 2007 Subject: [jitter] Re: Re: Re: Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <1abef.46899bc5@www.cycling74.com> References: <1abef.46899bc5@www.cycling74.com> Message-ID: <901FAD1C-A685-48EC-B224-6B4290DA322D@mac.com> I think a much much better option is to make pluggo for jitter, and output an AE/Core Image compatible plugin that you can then use in traditional media and more easily mix into existing workflows. yes, ive made this feature request. On Jul 2, 2007, at 8:43 PM, marcus lyall wrote: > > kinda sounds like you could use quartz composer then and save some > money. Or are there similar problems there as well? > > And if we keep this thread really active, do you think a cyclist > will eventually bestow us with some info? > > Seriously though, we all realise that we're asking for a lot here. > We haven't bought a broadcast-spec product, nor are many of people > concerned with this. > > But. If it could be done, it would seriously open the market up. > It would mean I could actually get paid to use Max. Which would > make a huge difference. Still dreaming of doing my moving graphics > work with a wacom pen and lemur while humming and pretending I'm > in a life drawing class. And smoothly outputting to that hd deck. > And receiving cheques for it. > Does anyone else see the attraction? > > > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter v a d e // www.vade.info abstrakt.vade.info -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070702/0c1639e7/attachment.htm From bruno.zamborlin at gmail.com Tue Jul 3 02:37:14 2007 From: bruno.zamborlin at gmail.com (Bruno Zamborlin) Date: Tue Jul 3 02:37:16 2007 Subject: [jitter] Re: Re: Re: Obj files in displaylist? In-Reply-To: <6C4363A8-F68F-4272-8B20-C052280814EC@mac.com> Message-ID: <1abf8.468a0ab9@www.cycling74.com> Oh ok Andrew, I didn't understand :) Anyway, is it possible for you to load a gl.Model file into a display list and then draw more instances simultaneusly? Because I'm reading something like that on this tutorial: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=12 They use GL_QUADS and GL_POLYGONS instead of load an obj file, but the concept is identical... Well, I try -- Bruno www.brunozamborlin.com www.myspace.com/brunozamborlin From mattijs at smadsteck.nl Tue Jul 3 03:32:01 2007 From: mattijs at smadsteck.nl (Mattijs Kneppers) Date: Tue Jul 3 03:32:52 2007 Subject: [jitter] Re: Re: Re: Re: Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <901FAD1C-A685-48EC-B224-6B4290DA322D@mac.com> Message-ID: <1abfb.468a1762@www.cycling74.com> So, the technical essence of this problem is that jit.qt.movie defers all its input to the low priority (main) thread, right? You'd want an output at scheduler rate, which is currently impossible. So I was thinking about two possible solutions: a) provide an object that stores matrices and supports scheduler rate access (something like jit.matrixset except that it also defers to main). b) currently, querying an attribute of any jitter object is also deferred. This is illustrated in the patch below. Now if for example the gettime message to jit.qt.movie in scheduler thread would not be deferred to the main thread, it would be possible to at least record the current times with a separate (scheduler-rate) metro and render the movie back later in a non-realtime situation. In broadcast quality. #P newex 204 217 32 196617 print; #P newex 119 154 20 196617 t b; #P newex 66 94 51 196617 t gettime; #P toggle 66 34 15 0; #P newex 204 197 88 196617 mxj WhichThread; #P newex 66 52 58 196617 metro 100; #P newex 119 134 57 196617 route time; #P newex 66 114 63 196617 jit.qt.movie; #P window linecount 2; #P comment 179 34 100 196617 make sure overdrive is turned on; #P connect 3 0 6 0; #P fasten 3 0 4 0 71 81 209 81; #P connect 6 0 1 0; #P connect 2 0 7 0; #P connect 7 0 4 0; #P connect 4 0 8 0; #P connect 5 0 3 0; #P connect 1 1 2 0; Mattijs -- SmadSteck - http://www.smadsteck.nl Hard- and software for interactive audiovisual sampling From mattijs at smadsteck.nl Tue Jul 3 04:08:20 2007 From: mattijs at smadsteck.nl (Mattijs Kneppers) Date: Tue Jul 3 04:08:41 2007 Subject: [jitter] Re: Jitter Video Playback - Amatuer or ProfessionalGrade? In-Reply-To: <1abfb.468a1762@www.cycling74.com> Message-ID: <1abfc.468a2010@www.cycling74.com> And here is what I think could be a solution with the current options: #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 175 205 100 196617 0) read movie file; #B color 12; #P comment 405 131 103 196617 4) turn off recording; #B color 12; #P window linecount 4; #P comment 443 300 210 196617 5) this coll will contain the accurate frame times \, and can be rendered back in a non-realtime situation \, for example with jit.record.; #B color 12; #P window linecount 1; #P comment 404 116 103 196617 2) turn on recording; #B color 12; #P newex 450 181 49 196617 t 0 clear; #P newex 416 180 32 196617 sel 1; #P newex 387 180 27 196617 t i i; #P newex 387 240 29 196617 t b f; #P newex 387 280 38 196617 zl join; #N counter; #X flags 0 0; #P newobj 387 260 66 196617 counter; #P window linecount 2; #P comment 65 94 156 196617 preview rate an be anything \, for example 12 fps \, and jittery too; #P window linecount 1; #N coll ; #P newobj 387 300 53 196617 coll; #P comment 511 200 181 196617 oversample to 50 fps for 25 fps output; #P newex 387 200 52 196617 metro 20; #P toggle 387 116 15 0; #P newex 387 220 27 196617 f; #N vpatcher 789 677 1133 933; #N comlet to movie; #P inlet 180 29 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 26 48 29 196617 t b f; #P newex 44 88 68 196617 prepend time; #P window linecount 0; #P newex 216 149 49 196617 !/ 1000.; #P newex 44 68 35 196617 * 0.6; #N comlet movie output; #P outlet 44 148 15 0; #P window linecount 1; #P newex 170 189 74 196617 t gettimescale; #P newex 44 109 136 196617 jit.qt.movie @rate 0 @vol 0; #P newex 170 169 32 196617 sel 1; #P newex 170 149 44 196617 zl nth 1; #P window linecount 0; #P newex 170 129 103 196617 route read timescale; #N comlet (float) time to trigger; #P inlet 26 29 15 0; #P connect 0 0 10 0; #P connect 10 1 7 0; #P connect 7 0 9 0; #P connect 5 0 4 0; #P connect 9 0 4 0; #P connect 10 0 4 0; #P fasten 11 0 4 0 185 106 49 106; #P connect 4 0 6 0; #P connect 8 0 7 1; #P connect 4 1 1 0; #P connect 1 0 2 0; #P connect 2 0 3 0; #P connect 3 0 5 0; #P connect 1 1 8 0; #P pop; #P newobj 49 205 93 196617 p timescaledmovie; #P message 143 205 30 196617 read; #P toggle 49 55 15 0; #P newex 49 184 27 196617 f; #P newex 49 73 57 196617 qmetro 80; #P message 269 48 74 196617 0 \, 1000 1000; #P newex 269 66 40 196617 line; #P user jit.pwindow 48 227 127 102 0 1 0 0 1 0; #P comment 49 334 69 196617 preview only; #P comment 346 48 141 196617 3) play one second of movie; #B color 12; #P comment 67 55 100 196617 1) turn on preview; #B color 12; #P connect 8 0 6 0; #P connect 6 0 7 0; #P connect 7 0 10 0; #P connect 10 0 3 0; #P connect 4 0 7 1; #P connect 9 0 10 1; #P connect 5 0 4 0; #P connect 12 0 20 0; #P connect 20 0 13 0; #P connect 13 0 11 0; #P connect 11 0 19 0; #P connect 19 0 17 0; #P connect 17 0 18 0; #P connect 18 0 15 0; #P connect 22 1 15 0; #P connect 4 0 11 1; #P connect 22 0 17 2; #P connect 19 1 18 1; #P connect 20 1 21 0; #P connect 21 0 22 0; #P window clipboard copycount 27; Mattijs -- SmadSteck - http://www.smadsteck.nl Hard- and software for interactive audiovisual sampling From breakoutfoo at hotmail.com Tue Jul 3 04:19:24 2007 From: breakoutfoo at hotmail.com (Andy Brennan) Date: Tue Jul 3 04:19:27 2007 Subject: [jitter] Re: Moving planes efficiently in OpenGL In-Reply-To: <1abcf.46893b0a@www.cycling74.com> Message-ID: <1abfe.468a22aa@www.cycling74.com> Quote: f wrote on Mon, 02 July 2007 11:51 ---------------------------------------------------- > and may i suggest a few things that didn't come up in this discussion. > 1. all your [line] objects will tick away at 20ms (50fps) and that independent of the framerate you're running. better to use your main metro to manually ramp and set scale+positions only once for each frame. > 2. remove all those number boxes. with 16 poly voices you've got 100+ updating at 20ms. again those line objects. all gui objects eat framerate. > 3. avoid to [pak] scale and positions if possible. you'll get x3 messages for each change. pack is better for collecting and then bang right before you output a frame. > > _f ---------------------------------------------------- They all seem like good suggestions. I had often wondered if the inclusion of number boxes had any efect. I always kept them in as a way to monitor the system. I'll give them a go. Cheers Andy From muzicable at 9online.fr Tue Jul 3 06:14:14 2007 From: muzicable at 9online.fr (bypass) Date: Tue Jul 3 06:14:15 2007 Subject: [jitter] Creat model for jit.gl.model Message-ID: <1ac02.468a3d95@www.cycling74.com> Hi, Can jitter create model for jit.gl.model? Or what software are u using to do it? Thks Bypass From contact at michelpanouillot.com Tue Jul 3 06:43:22 2007 From: contact at michelpanouillot.com (michel Panouillot) Date: Tue Jul 3 06:43:28 2007 Subject: [jitter] transfert de valeur -getmoviedim- In-Reply-To: <1ac02.468a3d95@www.cycling74.com> References: <1ac02.468a3d95@www.cycling74.com> Message-ID: <468A446A.9050405@michelpanouillot.com> Bonjour, En pleine exploration, je cherche de maniere simple a : prendre les valeurs native de taille d une video, les convertir en valeur 'editable' de maniere a les appliquer a une jit.matrix. J ai bien vu que getmoviedim pouvait faire l affaire mais je ne sais comment operer pour 'prendre' ces deux valeurs. Merci de votre aide -- .m -- Michel Panouillot Designer | Experientiae Electricae Bureau/Office : (33) 9 53 83 82 92 http://www.experientiae-electricae.org -- From keithmanlove at gmail.com Tue Jul 3 07:02:18 2007 From: keithmanlove at gmail.com (keith manlove) Date: Tue Jul 3 07:02:20 2007 Subject: [jitter] Creat model for jit.gl.model In-Reply-To: <1ac02.468a3d95@www.cycling74.com> References: <1ac02.468a3d95@www.cycling74.com> Message-ID: <64ab801a0707030602v19750cc0kbd23cfdffa8ac4ae@mail.gmail.com> Wings 3D is a good (free) one. On 7/3/07, bypass wrote: > > Hi, > Can jitter create model for jit.gl.model? > Or what software are u using to do it? > > Thks > Bypass > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > From thijskoerselman at gmail.com Tue Jul 3 08:17:57 2007 From: thijskoerselman at gmail.com (Thijs Koerselman) Date: Tue Jul 3 08:17:59 2007 Subject: [jitter] Creat model for jit.gl.model In-Reply-To: <1ac02.468a3d95@www.cycling74.com> References: <1ac02.468a3d95@www.cycling74.com> Message-ID: On 7/3/07, bypass wrote: > > > Hi, > Can jitter create model for jit.gl.model? > Or what software are u using to do it? Blender (open source): http://www.blender.org/ cheers, -thijs -- http://www.nano-soundworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/jitter/attachments/20070703/30bc09c4/attachment.htm From jeanfrancois.charles at newflore.org Tue Jul 3 08:57:51 2007 From: jeanfrancois.charles at newflore.org (Jean-Fran=?ISO-8859-1?B?5w==?=ois Charles) Date: Tue Jul 3 08:58:00 2007 Subject: [jitter] transfert de valeur -getmoviedim- In-Reply-To: <468A446A.9050405@michelpanouillot.com> Message-ID: Hi, That's so weird, because this forum speaks usually English. You use French, but in a very strange way. N'y a-t-il ni apostrophes ni accents sur votre clavier? M?me sur mon QWERTY, je peux ?crire fran?ais. Anyway, something like that might answer your question: #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 439 199 50 196617 320 240; #P newex 439 164 62 196617 prepend set; #P message 244 90 28 196617 read; #P flonum 215 69 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 181 69 15 0; #P newex 181 89 44 196617 metro 2; #P newex 340 193 55 196617 jit.matrix; #P newex 340 165 64 196617 prepend dim; #P message 287 88 67 196617 getmoviedim; #P newex 340 139 80 196617 route moviedim; #P newex 287 116 63 196617 jit.qt.movie; #P connect 1 0 3 0; #P fasten 1 0 9 0 345 160 444 160; #P connect 9 0 10 0; #P connect 8 0 0 0; #P connect 5 0 0 0; #P connect 6 0 5 0; #P connect 7 0 5 1; #P connect 3 0 4 0; #P connect 0 1 1 0; #P connect 2 0 0 0; #P window clipboard copycount 11; Jean-Fran?ois. At 7/3/07 8:43 AM, you wrote?: > Bonjour, > En pleine exploration, je cherche de maniere simple a : > prendre les valeurs native de taille d une video, les convertir en > valeur 'editable' de maniere a les appliquer a une jit.matrix. > J ai bien vu que getmoviedim pouvait faire l affaire mais je ne sais > comment operer pour 'prendre' ces deux valeurs. > Merci de votre aide From i_i at gmx.net Tue Jul 3 11:24:20 2007 From: i_i at gmx.net (nesa) Date: Tue Jul 3 11:26:34 2007 Subject: [jitter] jit.gl.model how to get the dimensions, size In-Reply-To: <1ab76.468796ce@www.cycling74.com> References: <1ab76.468796ce@www.cycling74.com> Message-ID: <13CCB21C-F752-43DB-9B84-921AE2F89283@gmx.net> Hello, here are two ways to do it: 1. Obj file is just a text file, you could read it in javascript, look for the vertex tags(V x y z) and look for the minimum and maximum values there; 2. Turn on matrixoutput mode for jit.gl.model, and put it through jit. 3m: you'll get min/max coords(one matrix per drawgroup if I remember correctly). you should also take scale into account. hth, nesa On Jul 1, 2007, at 1:58 PM, secco wrote: > > hi all, > > is there a way to get the dimensions of an imported jit.gl.model? > From muzicable at 9online.fr Tue Jul 3 12:35:06 2007 From: muzicable at 9online.fr (bypass) Date: Tue Jul 3 12:35:10 2007 Subject: [jitter] Again a question about jit.gl.render Message-ID: <1ac1f.468a96d7@www.cycling74.com> So, I've some photo and video send to jit.gl.render and i'de like to simply add my dv cam (jit.qt.grab) with out render in same time. Is it possible? Thks for all previous answer too. :) Bypass From wesley.hoke at gmail.com Tue Jul 3 12:48:56 2007 From: wesley.hoke at gmail.com (Wesley Smith) Date: Tue Jul 3 12:49:05 2007 Subject: [jitter] Again a question about jit.gl.render In-Reply-To: <1ac1f.468a96d7@www.cycling74.com> References: <1ac1f.468a96d7@www.cycling74.com> Message-ID: <1079b050707031148n8bf384dn8c9b2f1a05f82249@mail.gmail.com> I didn't really understand this question. Vouz pouvez demandez en fran?ais aussie si ?a vaut mieux. Il y a pas mal de gens qui le parlent. wes On 7/3/07, bypass wrote: > > So, > I've some photo and video send to jit.gl.render and i'de like to simply add my dv cam (jit.qt.grab) with out render in same time. > Is it possible? > > Thks for all previous answer too. :) > > Bypass > _______________________________________________ > jitter mailing list > jitter@cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter > From cloverstreet at gmail.com Tue Jul 3 13:00:24 2007 From: cloverstreet at gmail.com (Christopher Overstreet) Date: Tue Jul 3 13:00:26 2007 Subject: [jitter] Re: flickr - supershape patches In-Reply-To: <1a7f2.4678f540@www.cycling74.com> Message-ID: <1ac22.468a9cc7@www.cycling74.com> I still can't seem to get these patches to open, and would really like to use them. Tried opening them as text, unzipping them, and changing the extention. Anyone know what the problem might be? I am on a mac. The 3 attachements I would like to look at are: supershape3delux superformula phong directionnal.fx BoundedBfgParticles From bart at magic.be Tue Jul 3 13:58:03 2007 From: bart at magic.be (bart) Date: Tue Jul 3 13:58:33 2007 Subject: [jitter] Re: flickr In-Reply-To: <1a78c.4677b519@www.cycling74.com> Message-ID: <1ac23.468aaa4a@www.cycling74.com> Nice shapes but to abstract for me! How do you convert hlsl to cg? Is there a specific way to do that or a work around? Or do we have to do that by trial and a lot of errors? :) Grzz, Bart From contact at michelpanouillot.com Tue Jul 3 13:58:38 2007 From: contact at michelpanouillot.com (michel Panouillot) Date: Tue Jul 3 13:58:54 2007 Subject: [jitter] transfert de valeur -getmoviedim- In-Reply-To: References: Message-ID: <468AAA6E.7070805@michelpanouillot.com> Hi, Thank's to answer so quickly, I understand your exemple! Great .m Jean-Fran?ois Charles wrote: > Hi, > That's so weird, because this forum speaks usually English. You use French, > but in a very str