[jitter] compositing multiple textures using slab
jamie jewett
jewett18 at yahoo.com
Tue Oct 23 13:00:37 MDT 2007
- Previous message: [jitter] NYC Patching Circle: Tuesday, Oct. 30th
- Next message: [jitter] lua gencoord
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greetings I have a patch where I am using 3 nurbs @capture and need to composite these onto a single slab - I am finding that the images (colored nurbs on a black background) are rendering quite faintly and that my black background is becoming gray I have tried using the bank of .jxs options but can't get one to work correctly any suggestions? here's thanks jamie max v2; #N vpatcher 303 44 1637 794; #P origin 0 61; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 15 540 131 196617 composite/ co.average.jxs; #P newex 454 688 70 196617 jit.gl.slab foo; #P flonum 1099 246 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 1061 246 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 1021 246 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 996 273 85 196617 pak scale 1. 1. 1.; #P newex 996 344 50 196617 s nurby3; #P flonum 1118 294 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 1080 294 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 1040 294 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 1012 318 95 196617 pak position 0. 0. 0.; #P flonum 780 252 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 742 252 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 702 252 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 677 279 85 196617 pak scale 1. 1. 1.; #P newex 677 348 50 196617 s nurby2; #P flonum 799 300 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 761 300 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 721 300 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 693 324 95 196617 pak position 0. 0. 0.; #P flonum 456 256 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 418 256 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 378 256 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 353 283 85 196617 pak scale 1. 1. 1.; #P newex 353 350 50 196617 s nurby1; #P flonum 475 304 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 437 304 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 397 304 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 369 328 95 196617 pak position 0. 0. 0.; #P number 1090 70 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 1090 88 63 196617 order \$1 \$1; #P number 1035 70 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 1035 88 54 196617 dim \$1 \$1; #P newex 984 87 50 196617 r nurby3; #P number 952 23 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 952 44 54 196617 dim \$1 \$1; #P button 891 40 15 0; #P newex 891 67 110 196617 jit.noise 3 float32 8 8; #P window linecount 2; #P newex 891 114 328 196617 jit.gl.nurbs foo @capture mytextr3 @smooth_shading 1 @blend_enable 1 @depth_enable 1 @lighting_enable 1 @color 0 0 1 0.5; #P window linecount 1; #P newex 891 87 89 196617 prepend ctlmatrix; #P number 769 118 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 769 136 63 196617 order \$1 \$1; #P number 714 118 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 714 136 54 196617 dim \$1 \$1; #P newex 663 135 50 196617 r nurby2; #P number 631 71 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 631 92 54 196617 dim \$1 \$1; #P button 570 88 15 0; #P newex 570 115 110 196617 jit.noise 3 float32 8 8; #P window linecount 2; #P newex 570 162 328 196617 jit.gl.nurbs foo @capture mytextr2 @smooth_shading 1 @blend_enable 1 @depth_enable 1 @lighting_enable 1 @color 1 0 0 0.5; #P window linecount 1; #P newex 570 135 89 196617 prepend ctlmatrix; #P number 426 73 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 426 91 63 196617 order \$1 \$1; #P number 371 73 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 371 91 54 196617 dim \$1 \$1; #P newex 320 90 50 196617 r nurby1; #P number 288 26 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 288 47 54 196617 dim \$1 \$1; #P button 227 43 15 0; #P newex 227 70 110 196617 jit.noise 3 float32 8 8; #P window linecount 2; #P newex 227 117 328 196617 jit.gl.nurbs foo @capture mytextr1 @smooth_shading 1 @blend_enable 1 @depth_enable 1 @lighting_enable 1 @color 0 1 0 0.5; #P window linecount 1; #P newex 227 90 89 196617 prepend ctlmatrix; #P newex 403 713 99 196617 jit.gl.videoplane foo; #P newex 79 133 44 196617 s synch; #P window setfont "Fixedwidth Serif" 12.; #P newex 108 267 66 1441804 r to_win; #P toggle 132 292 15 0; #P window setfont "Sans Serif" 9.; #P message 132 310 45 196617 sync \$1; #P toggle 59 291 15 0; #P newex 59 267 35 196617 sel 27; #P message 59 309 55 196617 border \$1; #P newex 59 333 75 196617 jit.window foo; #P user jit.fpsgui 64 155 60 196617 0; #P number 89 28 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 42 28 15 0; #P newex 42 54 57 196617 qmetro 33; #P newex 42 104 66 196617 t b b erase b; #P newex 42 364 125 196617 jit.gl.render foo @ortho 2; #P newex 59 243 40 196617 key; #P user panel 30 9 167 401; #X brgb 195 209 218; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P newex 433 662 70 196617 jit.gl.slab foo; #P newex 812 532 55 196617 pipe 1000; #P newex 801 634 145 196617 jit.gl.slab foo @file op.add.jxs; #P newex 801 607 266 196617 jit.gl.slab foo @file tp.slide.jxs @param slide_down 100.; #P newex 812 506 60 196617 loadmess 5; #P flonum 812 567 85 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 812 588 106 196617 param slide_down \$1; #P newex 801 462 44 196617 r synch; #P newex 801 485 236 196617 jit.gl.texture foo @name mytextr3 @dim 640 360; #P newex 506 532 55 196617 pipe 1000; #P newex 495 634 145 196617 jit.gl.slab foo @file op.add.jxs; #P newex 495 607 266 196617 jit.gl.slab foo @file tp.slide.jxs @param slide_down 100.; #P newex 506 506 60 196617 loadmess 5; #P flonum 506 567 85 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 506 588 106 196617 param slide_down \$1; #P newex 495 462 44 196617 r synch; #P newex 495 485 236 196617 jit.gl.texture foo @name mytextr2 @dim 640 360; #P newex 55 635 71 196617 prepend read; #P user ubumenu 54 598 108 196617 0 1 1 0; #X add audio; #X add audio/ap.chorus.jxs; #X add audio/ap.compress.jxs; #X add audio/ap.delay.jxs; #X add audio/ap.highpass.jxs; #X add audio/ap.lowpass.jxs; #X add audio/ap.noisegate.jxs; #X add audio/ap.normalize.jxs; #X add color; #X add color/cc.alphaglue.jxs; #X add color/cc.brcosa.jxs; #X add color/cc.brightness.ip.jxs; #X add color/cc.colormap.jxs; #X add color/cc.contrast.ip.jxs; #X add color/cc.exrdisplay.jxs; #X add color/cc.grgb2rgba.jxs; #X add color/cc.planemap.jxs; #X add color/cc.rgb2yuv.jxs; #X add color/cc.rgba2grgb.jxs; #X add color/cc.rgba2uyvy.jxs; #X add color/cc.saturate.ip.jxs; #X add color/cc.scalebias.jxs; #X add color/cc.uyvy2rgba.exp.jxs; #X add color/cc.uyvy2rgba.jxs; #X add color/cc.uyvy2rgba.lite.jxs; #X add composite; #X add composite/co.additive.jxs; #X add composite/co.alphablend.jxs; #X add composite/co.average.jxs; #X add composite/co.brightlight.jxs; #X add composite/co.burn.jxs; #X add composite/co.chromakey.jxs; #X add composite/co.darken.jxs; #X add composite/co.difference.jxs; #X add composite/co.dodge.jxs; #X add composite/co.exclude.jxs; #X add composite/co.freeze.jxs; #X add composite/co.glow.jxs; #X add composite/co.hardlight.jxs; #X add composite/co.heat.jxs; #X add composite/co.inverse.jxs; #X add composite/co.lighten.jxs; #X add composite/co.lumakey.jxs; #X add composite/co.multiply.jxs; #X add composite/co.negate.jxs; #X add composite/co.normal.jxs; #X add composite/co.overlay.jxs; #X add composite/co.reflect.jxs; #X add composite/co.screen.jxs; #X add composite/co.softlight.jxs; #X add composite/co.stamp.jxs; #X add composite/co.subtractive.jxs; #X add convolution; #X add convolution/cf.blur.jxs; #X add convolution/cf.convolve.jxs; #X add convolution/cf.dilate.jxs; #X add convolution/cf.edgedetect.jxs; #X add convolution/cf.emboss.jxs; #X add convolution/cf.erode.jxs; #X add convolution/cf.gaussian.2p.jxs; #X add convolution/cf.laplace.jxs; #X add convolution/cf.median.2p.jxs; #X add convolution/cf.radialblur.jxs; #X add convolution/cf.sharpen.ip.jxs; #X add convolution/cf.sharpen.jxs; #X add convolution/cf.sobel.jxs; #X add generator; #X add generator/gn.bricks.aa.jxs; #X add generator/gn.bricks.jxs; #X add generator/gn.checker.aa.jxs; #X add generator/gn.checker.jxs; #X add generator/gn.crosstile.jxs; #X add generator/gn.gloop.jxs; #X add generator/gn.gnoise.2d.jxs; #X add generator/gn.gradperm.png; #X add generator/gn.spiderweb.jxs; #X add generator/gn.spirals.jxs; #X add generator/gn.stripes.aa.jxs; #X add generator/gn.stripes.jxs; #X add gpgpu; #X add gpgpu/gp.binarysearch.jxs; #X add gpgpu/gp.bitonicsort.jxs; #X add gpgpu/gp.reduce.jxs; #X add material; #X add material/mat.glass.jxs; #X add material/mat.gooch.jxs; #X add material/mat.phong.cg.jxs; #X add material/mat.phong.glsl.jxs; #X add material/mat.plastic.jxs; #X add material/mat.polkadots.jxs; #X add material/mat.shiny.jxs; #X add material/mat.sinebump.jxs; #X add material/mat.toon.jxs; #X add material/mat.xray.jxs; #X add math; #X add math/op.abs.jxs; #X add math/op.absdiff.jxs; #X add math/op.acos.jxs; #X add math/op.acosh.jxs; #X add math/op.add.jxs; #X add math/op.and.jxs; #X add math/op.asin.jxs; #X add math/op.asinh.jxs; #X add math/op.atan.jxs; #X add math/op.atan2.jxs; #X add math/op.atanh.jxs; #X add math/op.avg.jxs; #X add math/op.ceil.jxs; #X add math/op.cos.jxs; #X add math/op.cosh.jxs; #X add math/op.div.jxs; #X add math/op.eq.jxs; #X add math/op.eqp.jxs; #X add math/op.exp.jxs; #X add math/op.exp2.jxs; #X add math/op.floor.jxs; #X add math/op.fract.jxs; #X add math/op.gt.jxs; #X add math/op.gte.jxs; #X add math/op.gtep.jxs; #X add math/op.gtp.jxs; #X add math/op.hypot.jxs; #X add math/op.invert.jxs; #X add math/op.invsqrt.jxs; #X add math/op.ln.jxs; #X add math/op.log10.jxs; #X add math/op.log2.jxs; #X add math/op.lt.jxs; #X add math/op.lte.jxs; #X add math/op.ltep.jxs; #X add math/op.ltp.jxs; #X add math/op.max.jxs; #X add math/op.min.jxs; #X add math/op.mod.jxs; #X add math/op.mult.jxs; #X add math/op.neq.jxs; #X add math/op.neqp.jxs; #X add math/op.normcos.jxs; #X add math/op.normsin.jxs; #X add math/op.not.jxs; #X add math/op.or.jxs; #X add math/op.pow.jxs; #X add math/op.sign.jxs; #X add math/op.sin.jxs; #X add math/op.sinh.jxs; #X add math/op.sqrt.jxs; #X add math/op.sub.jxs; #X add math/op.tan.jxs; #X add math/op.tanh.jxs; #X add math/op.xor.jxs; #X add shared; #X add shared/arb; #X add shared/cg; #X add shared/glsl; #X add shared/licenses; #X add specialfx; #X add specialfx/fx.blobby.jxs; #X add specialfx/fx.tiles.jxs; #X add temporal; #X add temporal/tp.slide.jxs; #X add texdisplace; #X add texdisplace/td.cartopol.jxs; #X add texdisplace/td.fisheye.jxs; #X add texdisplace/td.kaleido.jxs; #X add texdisplace/td.lens.jxs; #X add texdisplace/td.lumadisplace.jxs; #X add texdisplace/td.mirror.jxs; #X add texdisplace/td.repos.jxs; #X add texdisplace/td.resample.jxs; #X add texdisplace/td.ripples.jxs; #X add texdisplace/td.rota.jxs; #X add texdisplace/td.sinefold.jxs; #X add texdisplace/td.twirl.jxs; #X add texdisplace/td.wobble.jxs; #X add transition; #X add transition/tr.dissolve.jxs; #X add transition/tr.edgeblend.jxs; #X add transition/tr.gridwipe.jxs; #X add transition/tr.shrinkwipe.jxs; #X add transition/tr.vignettes.jxs; #X add vertdisplace; #X add vertdisplace/vd.gnoise.2d.jxs; #X add vertdisplace/vd.gnoise.3d.jxs; #X add vertdisplace/vd.twist.jxs; #X add viz; #X add viz/vz.normals.mdl.jxs; #X add viz/vz.normals.view.jxs; #X add viz/vz.texcoords.jxs; #X prefix_set 0 1 c74:/jitter-shaders/ 1; #X pattrmode 1; #P newex 218 516 55 196617 pipe 1000; #P newex 207 618 145 196617 jit.gl.slab foo @file op.add.jxs; #P newex 207 591 266 196617 jit.gl.slab foo @file tp.slide.jxs @param slide_down 100.; #P newex 218 490 60 196617 loadmess 5; #P flonum 218 551 85 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 218 572 106 196617 param slide_down \$1; #P newex 207 446 44 196617 r synch; #P newex 207 469 236 196617 jit.gl.texture foo @name mytextr1 @dim 640 360; #P connect 32 0 31 0; #P connect 31 0 30 0; #P fasten 30 2 29 0 91 137 47 137; #P connect 30 0 29 0; #P fasten 8 1 9 0 108 630 60 630; #P fasten 28 0 37 0 64 260 64 260; #P fasten 37 0 38 0 64 281 64 281; #P connect 38 0 36 0; #P fasten 39 0 35 0 137 328 64 328; #P fasten 36 0 35 0 64 328 64 328; #P connect 41 0 35 0; #P connect 30 1 34 0; #P connect 30 1 42 0; #P connect 33 0 31 1; #P connect 40 0 39 0; #P connect 1 0 0 0; #P connect 2 0 5 0; #P connect 0 0 5 0; #P connect 5 0 6 0; #P connect 4 0 7 0; #P connect 7 0 3 0; #P connect 3 0 2 0; #P connect 30 3 47 0; #P connect 47 0 46 0; #P fasten 48 0 46 0 293 66 232 66; #P connect 46 0 44 0; #P fasten 51 0 45 0 376 113 232 113; #P fasten 53 0 45 0 431 113 232 113; #P fasten 50 0 45 0 325 110 232 110; #P connect 44 0 45 0; #P connect 49 0 48 0; #P connect 77 0 81 0; #P connect 82 0 81 0; #P connect 52 0 51 0; #P connect 83 0 82 1; #P connect 78 0 77 1; #P fasten 84 0 82 2 423 277 408 277; #P connect 104 0 43 0; #P fasten 79 0 77 2 442 323 430 323; #P connect 54 0 53 0; #P fasten 85 0 82 3 461 277 433 277; #P connect 9 0 26 0; #P connect 6 0 26 0; #P fasten 80 0 77 3 480 323 458 323; #P connect 9 0 104 0; #P connect 26 0 104 0; #P connect 6 0 5 1; #P connect 16 0 26 1; #P connect 11 0 10 0; #P connect 12 0 15 0; #P connect 10 0 15 0; #P connect 15 0 16 0; #P connect 14 0 17 0; #P connect 17 0 13 0; #P connect 13 0 12 0; #P connect 24 0 104 1; #P connect 30 3 58 0; #P fasten 59 0 57 0 636 111 575 111; #P connect 58 0 57 0; #P connect 57 0 55 0; #P fasten 61 0 56 0 668 155 575 155; #P connect 55 0 56 0; #P fasten 64 0 56 0 774 158 575 158; #P fasten 62 0 56 0 719 158 575 158; #P connect 60 0 59 0; #P connect 91 0 90 0; #P connect 86 0 90 0; #P connect 92 0 91 1; #P connect 63 0 62 0; #P connect 87 0 86 1; #P fasten 93 0 91 2 747 273 732 273; #P fasten 88 0 86 2 766 319 754 319; #P connect 16 0 15 1; #P fasten 94 0 91 3 785 273 757 273; #P connect 65 0 64 0; #P fasten 89 0 86 3 804 319 782 319; #P connect 19 0 18 0; #P connect 20 0 23 0; #P connect 18 0 23 0; #P connect 23 0 24 0; #P connect 22 0 25 0; #P connect 25 0 21 0; #P connect 21 0 20 0; #P connect 30 3 69 0; #P connect 69 0 68 0; #P fasten 70 0 68 0 957 63 896 63; #P connect 68 0 66 0; #P connect 66 0 67 0; #P fasten 75 0 67 0 1095 110 896 110; #P fasten 73 0 67 0 1040 110 896 110; #P fasten 72 0 67 0 989 107 896 107; #P connect 71 0 70 0; #P connect 100 0 99 0; #P connect 95 0 99 0; #P connect 101 0 100 1; #P connect 74 0 73 0; #P connect 96 0 95 1; #P fasten 102 0 100 2 1066 267 1051 267; #P connect 24 0 23 1; #P fasten 97 0 95 2 1085 313 1073 313; #P fasten 103 0 100 3 1104 267 1076 267; #P connect 76 0 75 0; #P fasten 98 0 95 3 1123 313 1101 313; #P pop;
- Previous message: [jitter] NYC Patching Circle: Tuesday, Oct. 30th
- Next message: [jitter] lua gencoord
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
