[jitter] Re: [Bug report] Jitter texture disparition
Derrick Giscloux
derrickgiscloux at free.fr
Mon Feb 4 06:57:13 MST 2008
- Previous message: [jitter] Re: [Bug report] Jitter texture disparition
- Next message: [jitter] Re: [Bug report] Jitter texture disparition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Good ! below's a patch which illustrate the automatic attribute.(in case ... for the archive) >(e.g.: to render the 4 wheels of a car, simply define 1 wheel >object with, say, a jit.gl.sketch. Then bang the jit.gl.sketch 4 >times >updating the position >of the wheel for the 4 of them, *then*, bang the render to display >the 4 >wheels at one) could you show an example or point to one ? ____________rendering order example____________________ max v2; #N vpatcher 178 135 1178 614; #P origin 0 21; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 848 266 19 196617 b3; #P comment 829 266 19 196617 b2; #P comment 810 266 19 196617 b1; #P comment 774 319 33 196617 box; #P comment 774 301 33 196617 web; #P newex 888 336 29 196617 r b3; #B color 5; #P newex 856 336 29 196617 r b2; #B color 5; #P newex 824 337 29 196617 r b1; #B color 5; #P newex 116 306 34 196617 r box; #B color 5; #P newex 130 181 36 196617 r web; #B color 5; #P newex 139 70 41 196617 r plane; #B color 5; #P newex 840 418 34 196617 s box; #B color 5; #P newex 824 400 36 196617 s web; #B color 5; #P newex 809 380 41 196617 s plane; #B color 5; #P user matrixctrl 809 281 53 53 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 53 53 16 16 3 3 16 16 1 1 49 2 5120 0; #P newex 809 359 57 196617 router 3 3; #N vpatcher 10 59 610 459; #P window setfont "Sans Serif" 9.; #P number 56 109 35 9 1 3 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 56 155 47 196617 gate 3 1; #P newex 80 193 29 196617 s b3; #B color 5; #P newex 111 193 29 196617 s b2; #B color 5; #P newex 50 193 29 196617 s b1; #B color 5; #P window setfont Times 10.; #P comment 241 245 86 1310730 vers jit.gl.gidshape; #P window setfont "Sans Serif" 9.; #N vpatcher 460 63 588 255; #P outlet 32 74 15 0; #P inlet 36 41 15 0; #P connect 0 0 1 0; #P pop; #P newobj 244 222 13 196617 p; #P flonum 277 50 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 372 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 336 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 300 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 267 202 112 196617 pak rotatexyz 0. 0. 0.; #P flonum 331 84 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 293 84 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 253 84 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 228 111 85 196617 pak scale 1. 1. 1.; #P flonum 350 132 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 312 132 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 272 132 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 244 156 95 196617 pak position 0. 0. 0.; #P connect 18 0 15 0; #P connect 19 0 18 0; #P connect 18 1 17 0; #P connect 13 0 18 1; #P connect 18 2 16 0; #P connect 4 0 13 0; #P connect 8 0 13 0; #P connect 0 0 13 0; #P connect 12 0 5 0; #P connect 5 0 4 1; #P connect 1 0 0 1; #P fasten 6 0 4 2 298 105 283 105; #P connect 12 0 6 0; #P fasten 2 0 0 2 317 151 305 151; #P connect 9 0 8 1; #P fasten 7 0 4 3 336 105 308 105; #P fasten 3 0 0 3 355 151 333 151; #P connect 12 0 7 0; #P connect 10 0 8 2; #P connect 11 0 8 3; #P pop; #P newobj 748 194 68 196617 p placements; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 3; #P newex 30 203 298 1441802 jit.gl.gridshape fff @automatic 0 @poly_mode 1 0 @shape circle @scale 1.5 1.5 1.5 @position 1. 0. 0. @color 1. 0. 0. 0.5; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 762 154 29 196617 s b3; #B color 5; #P newex 778 134 29 196617 s b2; #B color 5; #P newex 794 115 29 196617 s b1; #B color 5; #P toggle 746 44 15 0; #P newex 746 92 74 196617 t b b b b erase; #P newex 746 71 57 196617 qmetro 40; #P message 395 58 112 196617 name fff \, size 320 240; #P user jit.pwindow 394 78 322 242 0 1 0 0 1 0; #X name fff; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 3; #P newex 31 327 370 1441802 jit.gl.gridshape fff @automatic 0 @poly_mode 1 0 @shape cube @scale 0.53 0.53 0.53 @position -0.23 0. 0. @rotatexyz 45 0. 0. @color 0. 1. 0. 0.5 @lighting_enable 1 @smooth_shading 1; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 746 174 199 196617 jit.gl.render fff @erase_color 1. 1. 1. 1.; #P window linecount 2; #P newex 33 93 238 196617 jit.gl.videoplane fff @automatic 0 @blend_enable 1 @depth_enable 0 @scale 1. 0.3 0.1; #P window linecount 1; #P comment 774 283 33 196617 plane; #P window linecount 2; #P comment 362 409 393 196617 Avec @automatic 0 \, les objets GL ne sont rendus que s'ils recoivent un bang. On peut ainsi déterminer l'ordre de rendu en spécifiant l'ordre de réception des bangs; #P fasten 21 0 13 0 135 200 35 200; #P fasten 22 0 4 0 121 325 36 325; #P fasten 20 0 2 0 144 90 38 90; #P connect 6 0 5 0; #P connect 9 0 7 0; #P connect 7 0 8 0; #P connect 8 0 3 0; #P fasten 8 4 3 0 815 112 751 112; #P connect 8 1 12 0; #P connect 8 2 11 0; #P connect 8 3 10 0; #P connect 16 0 15 0; #P connect 15 0 17 0; #P connect 23 0 15 1; #P connect 15 1 18 0; #P fasten 24 0 15 2 861 356 844 356; #P connect 15 2 19 0; #P fasten 25 0 15 3 893 356 859 356; #P pop;
- Previous message: [jitter] Re: [Bug report] Jitter texture disparition
- Next message: [jitter] Re: [Bug report] Jitter texture disparition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
