jit.textfile and jit.gl.text3d

Apr 27, 2006 at 9:15pm

jit.textfile and jit.gl.text3d

not sure if a forum post went thru or not…but this is a response to
an old thread…
I’m finally getting to look at jit.textfile -> jit.gl.text3d. Works
pretty well, but I have some issues. The r/c/l justify works, but only
if the “filler” characters are “0″. On my XP machine, at least, it
renders ASCII “0″ as a rectangle. So instead of printing something
like in my jit.window:

hello
i am typing text

i get:

hello_ _ _ _ _ _
i am typing text

(just pretend the underscores are rectangles :) )
So, clever fellow that I pretend to be, I chromakeyed the
jit.textfile output with a 1×1 matrix “filled” with “32″ for blank
space. This gets rid of the rectangles, and looks fine for left
justified text, but for center and right, the spaces mess up the
alignment. Here is a clear patch to illustrate the problem. Is there
a workaround? It seems that jit.gl.text3d treats 0 as a special
character for the purposes of alginments, as every other ascii
character messes up the aligns:

#P window setfont “Sans Serif” 9.;
#P window linecount 3;
#P comment 288 288 158 9109513 SO! THE BIG QUESTION IS: Can I get the
alignement to work without the ugly rectangles?;
#P window linecount 1;
#P comment 817 61 79 9109513 get rects back…;
#P message 817 77 90 9109513 get back rectangles;
#P newex 817 100 27 9109513 t b b;
#P newex 817 148 114 9109513 jit.matrix black 1 char 1 1;
#P newex 517 174 114 9109513 jit.matrix black 1 char 1 1;
#P comment 652 61 158 9109513 hm. not so magic. not so clever;
#P user ubumenu 652 80 69 9109513 0 1 1 0;
#X add left;
#X add center;
#X add right;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P message 652 99 50 9109513 align $1;
#P comment 517 61 79 9109513 now get clever;
#P comment 413 61 46 9109513 magic!;
#P comment 283 61 78 9109513 bang to render;
#P message 517 77 102 9109513 get rid of rectangles;
#P newex 517 100 37 9109513 t b b;
#P message 531 126 123 9109513 setcell 0 0 plane 0 val 32;
#P comment 16 61 76 9109513 turn render on;
#P toggle 0 61 15 0;
#P message 106 61 38 9109513 open;
#P newex 517 148 133 9109513 jit.matrix spacey 1 char 1 1;
#P newex 294 221 75 9109513 jit.chromakey;
#P message 335 86 41 9109513 dump;
#N coll ;
#T flags 1 0;
#T 0 antialias 0;
#T 1 align 0;
#T 3 jit_matrix texty;
#T 4 jit_matrix texty;
#T 5 face normal;
#T 6 font Arial;
#T 8 leadscale 2.238532;
#T 10 position 0. 0. 1.;
#T 19 scale 0.2 0.266 0.;
#T 20 color 0.729412 0. 0. 1.;
#T 22 tracking 1;
#T 23 enable 1;
#P newobj 335 107 63 9109513 coll;
#B color 5;
#P user ubumenu 413 79 69 9109513 0 1 1 0;
#X add left;
#X add center;
#X add right;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P message 413 98 50 9109513 align $1;
#P newex 283 104 50 9109513 t b b b;
#B color 5;
#P user jit.fpsgui 106 160 70 9109513 3;
#P button 283 78 25 0;
#P newex 106 135 167 9109513 jit.matrix texty 1 char 1 1 @adapt 1;
#P newex 106 105 57 9109513 jit.textfile;
#P window linecount 2;
#P newex 291 249 297 9109513 jit.gl.text3d Output @color 0. 0. 0. 1.
@depth 0. @smooth_shading 1 @blend_enable 1 @depth_enable 1 @enable 1;
#B color 5;
#P window linecount 1;
#P newex 283 133 124 9109513 jit.matrix texty 1 char 1 1;
#N vpatcher 363 344 1162 684;
#P window setfont “Sans Serif” 9.;
#P newex 50 171 42 9109513 s drive;
#N vpatcher 521 355 1121 755;
#P origin 0 -8;
#P window setfont “Sans Serif” 9.;
#P message 248 352 229 9109513 visible 1 , rect 100 100 420 340 ,
border 1 , floating 0;
#P newex 301 295 40 9109513 sel 1 0;
#P newex 352 291 46 9109513 r jayfake;
#P message 251 324 255 9109513 visible 1 , rect 374 104 652 314 ,
grow 0 , border 0 , floating 1;
#P newex 336 21 72 9109513 r fullscreenon;
#P message 361 102 88 9109513 floating 1 , visible 1;
#P newex 322 206 42 9109513 print off;
#P newex 314 174 39 9109513 print on;
#P newex 219 194 27 9109513 t 0 b;
#P newex 318 97 19 9109513 t 1;
#P newex 318 69 49 9109513 deferlow;
#P newex 216 171 75 9109513 r fullscreenoff;
#P newex 335 43 52 9109513 route bang;
#P message 233 232 234 9109513 fullscreen 0 , floating 0 , visible 1
, rect 100 100 420 340;
#P message 256 260 229 9109513 name Output , visible 1 , rect $1 $2
$3 $4 , fullscreen 1;
#P newex 234 259 16 9109513 t l;
#P message 114 123 59 9109513 floating $1;
#P toggle 111 104 15 0;
#P message 50 222 76 9109513 size 1024 768;
#P newex 50 135 41 9109513 sel 1 0;
#P message 71 178 70 9109513 size 320 240;
#P toggle 50 107 15 0;
#P newex 92 82 53 9109513 sel 27 16;
#P newex 50 75 40 9109513 key;
#P newex 50 336 168 9109513 jit.window Output @floating 0 @fsaa 1;
#P outlet 13 131 15 0;
#P connect 4 0 0 0;
#P connect 17 0 4 0;
#P fasten 3 0 4 0 97 104 55 104;
#P connect 16 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 7 0;
#P connect 25 0 1 0;
#P connect 22 0 1 0;
#P connect 10 0 1 0;
#P connect 9 0 1 0;
#P connect 5 0 1 0;
#P connect 7 0 1 0;
#P connect 6 1 5 0;
#P fasten 2 0 3 0 91 99 91 84;
#P connect 3 1 8 0;
#P connect 8 0 9 0;
#P connect 14 0 17 0;
#P connect 17 1 12 0;
#P connect 20 0 10 0;
#P connect 11 0 10 0;
#P connect 12 0 10 0;
#P connect 24 1 25 0;
#P connect 24 0 22 0;
#P connect 13 1 11 0;
#P connect 23 0 24 0;
#P connect 13 0 18 0;
#P connect 13 0 15 0;
#P connect 15 0 16 0;
#P connect 14 0 19 0;
#P connect 21 0 13 0;
#P connect 13 0 20 0;
#P pop;
#P newobj 170 167 71 9109513 p outputwindow;
#P comment 110 102 134 9109513 change clock rate if needed.;
#P flonum 73 100 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 70 238 71 9109513 r to_glrender;
#P window setfont “Sans Serif” 10.;
#P newex 145 128 78 9109514 r rasterOuput;
#P toggle 154 156 15 0;
#P objectname rasterOutput.onoff;
#P toggle 41 103 15 0;
#P objectname onoff;
#N comlet onoff;
#P inlet 21 105 15 0;
#P window setfont “Sans Serif” 9.;
#P newex 31 146 74 9109513 t b b b erase b;
#P newex 31 125 57 9109513 qmetro 33;
#P newex 31 265 321 9109513 jit.gl.render Output @ortho 2 @scale 1.33 1
@erase_color 0. 0. 0. 1.;
#N vpatcher 518 328 946 724;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 286 77 27 9109513 == 0;
#P window linecount 0;
#P newex 286 47 46 9109513 r jayfake;
#P window setfont “Sans Serif” 12.;
#P newex 50 299 187 9109516 jit.resamp @xscale 1 @yscale -1;
#P window setfont “Sans Serif” 9.;
#P newex 227 66 27 9109513 + 1;
#P newex 227 99 40 9109513 sel 1 2;
#P message 360 149 33 9109513 fspvu;
#P message 276 148 34 9109513 sspvu;
#P newex 61 174 42 9109513 gate 2 1;
#P newex 310 176 99 9109513 pak usetexture sspvu;
#P message 94 157 53 9109513 to_texture;
#P newex 78 228 219 9109513 jit.gl.texture Output @name fspvu @dim 1024
768;
#N comlet fullscreen onoff;
#P inlet 227 30 15 0;
#P newex 90 96 68 9109513 r rasterlimit;
#P newex 50 95 44 9109513 qlim 33;
#P message 159 141 59 9109513 usetexture;
#N comlet post erase bang;
#P inlet 142 30 15 0;
#P newex 123 69 29 9109513 gate;
#P outlet 315 204 15 0;
#P newex 50 329 77 9109513 s OutputRaster;
#P newex 50 129 53 9109513 t b b b b;
#P newex 50 73 29 9109513 gate;
#P window setfont “Sans Serif” 12.;
#P newex 50 271 158 9109516 jit.matrix out 4 char 320 240;
#P window setfont “Sans Serif” 9.;
#P newex 61 205 215 9109513 jit.gl.texture Output @name sspvu @dim 320
240;
#N comlet rasterize onoff;
#P inlet 50 30 15 0;
#N comlet pre erase bang;
#P inlet 196 30 15 0;
#P connect 1 0 4 0;
#P connect 24 0 4 0;
#P connect 4 0 11 0;
#P connect 11 0 5 0;
#P connect 5 0 3 0;
#P connect 14 0 3 0;
#P connect 2 0 3 0;
#P connect 3 0 22 0;
#P connect 22 0 6 0;
#P connect 21 0 17 0;
#P connect 17 0 2 0;
#P connect 0 0 4 1;
#P connect 17 1 14 0;
#P connect 12 0 11 1;
#P connect 5 1 17 1;
#P connect 5 2 15 0;
#P connect 24 0 8 0;
#P connect 1 0 8 0;
#P connect 9 0 8 1;
#P connect 8 0 10 0;
#P connect 13 0 21 0;
#P connect 21 0 20 0;
#P connect 20 0 18 0;
#P connect 23 0 24 0;
#P connect 5 3 16 0;
#P connect 10 0 7 0;
#P connect 15 0 7 0;
#P connect 16 0 7 0;
#P connect 20 1 19 0;
#P connect 19 0 16 1;
#P connect 18 0 16 1;
#P pop;
#P newobj 141 200 89 9109513 p rasterizeOutput;
#P connect 5 0 2 0;
#P connect 4 0 2 0;
#P connect 2 0 3 0;
#P connect 0 0 1 0;
#P connect 3 0 1 0;
#P connect 3 3 1 0;
#P connect 8 0 1 0;
#P connect 3 1 12 0;
#P connect 9 0 2 1;
#P connect 7 0 0 0;
#P connect 6 0 0 0;
#P connect 3 2 0 1;
#P connect 3 4 0 2;
#P connect 11 0 0 3;
#P pop;
#P newobj 0 102 52 9109513 p render;
#P comment 136 61 112 9109513 …and type some lines;
#P connect 16 0 1 0;
#P connect 8 1 4 0;
#P connect 15 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 7 0;
#P fasten 29 0 6 0 812 128 798 41 258 41 258 76;
#P fasten 19 0 6 0 504 125 492 52 269 52 269 81;
#P connect 6 0 8 0;
#P connect 8 0 2 0;
#P connect 9 0 3 0;
#P connect 11 0 3 0;
#P connect 13 0 3 0;
#P connect 24 0 3 0;
#P connect 2 0 13 0;
#P connect 8 2 12 0;
#P connect 12 0 11 0;
#P connect 14 0 13 1;
#P connect 28 0 13 1;
#P connect 10 0 9 0;
#P connect 20 0 19 0;
#P connect 19 0 14 0;
#P connect 18 0 14 0;
#P connect 19 1 18 0;
#P connect 25 0 24 0;
#P connect 30 0 29 0;
#P connect 29 1 28 0;
#P window clipboard copycount 33;

#25685
Apr 27, 2006 at 9:54pm

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 283 209 119 9109513 jit.matrix texty 1 char 25 2;
#P newex 283 185 109 9109513 jit.op @op max @val 32;
#P newex 283 161 119 9109513 jit.matrix texty 1 char 25 2;
#P window linecount 3;
#P comment 288 288 158 9109513 SO! THE BIG QUESTION IS: Can I get the
alignement to work without the ugly rectangles?;
#P window linecount 1;
#P comment 652 61 158 9109513 hm. not so magic. not so clever;
#P user ubumenu 652 80 69 9109513 0 1 1 0;
#X add left;
#X add center;
#X add right;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P message 652 99 50 9109513 align $1;
#P comment 453 83 46 9109513 magic!;
#P comment 283 61 78 9109513 bang to render;
#P comment 16 61 76 9109513 turn render on;
#P toggle 0 61 15 0;
#P message 106 61 38 9109513 open;
#P message 335 86 41 9109513 dump;
#N coll ;
#T flags 1 0;
#T 0 antialias 0;
#T 1 align 0;
#T 3 jit_matrix texty;
#T 4 jit_matrix texty;
#T 5 face normal;
#T 6 font Arial;
#T 8 leadscale 2.238532;
#T 10 position 0. 0. 1.;
#T 19 scale 0.2 0.266 0.;
#T 20 color 0.729412 0. 0. 1.;
#T 22 tracking 1;
#T 23 enable 1;
#P newobj 335 107 63 9109513 coll;
#B color 5;
#P user ubumenu 453 101 69 9109513 0 1 1 0;
#X add left;
#X add center;
#X add right;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P message 453 120 50 9109513 align $1;
#P newex 283 104 50 9109513 t b b b;
#B color 5;
#P user jit.fpsgui 106 160 70 9109513 3;
#P button 283 78 25 0;
#P newex 106 135 167 9109513 jit.matrix texty 1 char 1 1 @adapt 1;
#P newex 106 105 57 9109513 jit.textfile;
#P window linecount 2;
#P newex 291 249 297 9109513 jit.gl.text3d Output @color 0. 0. 0. 1. @depth
0. @smooth_shading 1 @blend_enable 1 @depth_enable 1 @enable 1;
#B color 5;
#P window linecount 1;
#P newex 283 133 124 9109513 jit.matrix texty 1 char 1 1;
#N vpatcher 363 344 1162 684;
#P window setfont “Sans Serif” 9.;
#P newex 50 171 42 9109513 s drive;
#N vpatcher 521 355 1121 755;
#P origin 0 -8;
#P window setfont “Sans Serif” 9.;
#P message 248 352 229 9109513 visible 1 , rect 100 100 420 340 , border 1
, floating 0;
#P newex 301 295 40 9109513 sel 1 0;
#P newex 352 291 46 9109513 r jayfake;
#P message 251 324 255 9109513 visible 1 , rect 374 104 652 314 , grow 0
, border 0 , floating 1;
#P newex 336 21 72 9109513 r fullscreenon;
#P message 361 102 88 9109513 floating 1 , visible 1;
#P newex 322 206 42 9109513 print off;
#P newex 314 174 39 9109513 print on;
#P newex 219 194 27 9109513 t 0 b;
#P newex 318 97 19 9109513 t 1;
#P newex 318 69 49 9109513 deferlow;
#P newex 216 171 75 9109513 r fullscreenoff;
#P newex 335 43 52 9109513 route bang;
#P message 233 232 234 9109513 fullscreen 0 , floating 0 , visible 1 ,
rect 100 100 420 340;
#P message 256 260 229 9109513 name Output , visible 1 , rect $1 $2 $3
$4 , fullscreen 1;
#P newex 234 259 16 9109513 t l;
#P message 114 123 59 9109513 floating $1;
#P toggle 111 104 15 0;
#P message 50 222 76 9109513 size 1024 768;
#P newex 50 135 41 9109513 sel 1 0;
#P message 71 178 70 9109513 size 320 240;
#P toggle 50 107 15 0;
#P newex 92 82 53 9109513 sel 27 16;
#P newex 50 75 40 9109513 key;
#P newex 50 336 168 9109513 jit.window Output @floating 0 @fsaa 1;
#P outlet 13 131 15 0;
#P connect 4 0 0 0;
#P connect 16 0 4 0;
#P fasten 3 0 4 0 97 104 55 104;
#P connect 17 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 1 0;
#P connect 5 0 1 0;
#P connect 9 0 1 0;
#P connect 10 0 1 0;
#P connect 22 0 1 0;
#P connect 25 0 1 0;
#P connect 6 1 5 0;
#P fasten 2 0 3 0 91 99 91 84;
#P connect 3 1 8 0;
#P connect 8 0 9 0;
#P connect 14 0 17 0;
#P connect 17 1 12 0;
#P connect 12 0 10 0;
#P connect 11 0 10 0;
#P connect 20 0 10 0;
#P connect 24 1 25 0;
#P connect 24 0 22 0;
#P connect 13 1 11 0;
#P connect 23 0 24 0;
#P connect 13 0 18 0;
#P connect 13 0 15 0;
#P connect 15 0 16 0;
#P connect 14 0 19 0;
#P connect 21 0 13 0;
#P connect 13 0 20 0;
#P pop;
#P newobj 170 167 71 9109513 p outputwindow;
#P comment 110 102 134 9109513 change clock rate if needed.;
#P flonum 73 100 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 70 238 71 9109513 r to_glrender;
#P window setfont “Sans Serif” 10.;
#P newex 145 128 78 9109514 r rasterOuput;
#P toggle 154 156 15 0;
#P objectname rasterOutput.onoff;
#P toggle 41 103 15 0;
#P objectname onoff;
#N comlet onoff;
#P inlet 21 105 15 0;
#P window setfont “Sans Serif” 9.;
#P newex 31 146 74 9109513 t b b b erase b;
#P newex 31 125 57 9109513 qmetro 33;
#P newex 31 265 321 9109513 jit.gl.render Output @ortho 2 @scale 1.33 1
@erase_color 0. 0. 0. 1.;
#N vpatcher 518 328 946 724;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 286 77 27 9109513 == 0;
#P window linecount 0;
#P newex 286 47 46 9109513 r jayfake;
#P window setfont “Sans Serif” 12.;
#P newex 50 299 187 9109516 jit.resamp @xscale 1 @yscale -1;
#P window setfont “Sans Serif” 9.;
#P newex 227 66 27 9109513 + 1;
#P newex 227 99 40 9109513 sel 1 2;
#P message 360 149 33 9109513 fspvu;
#P message 276 148 34 9109513 sspvu;
#P newex 61 174 42 9109513 gate 2 1;
#P newex 310 176 99 9109513 pak usetexture sspvu;
#P message 94 157 53 9109513 to_texture;
#P newex 78 228 219 9109513 jit.gl.texture Output @name fspvu @dim 1024 768;
#N comlet fullscreen onoff;
#P inlet 227 30 15 0;
#P newex 90 96 68 9109513 r rasterlimit;
#P newex 50 95 44 9109513 qlim 33;
#P message 159 141 59 9109513 usetexture;
#N comlet post erase bang;
#P inlet 142 30 15 0;
#P newex 123 69 29 9109513 gate;
#P outlet 315 204 15 0;
#P newex 50 329 77 9109513 s OutputRaster;
#P newex 50 129 53 9109513 t b b b b;
#P newex 50 73 29 9109513 gate;
#P window setfont “Sans Serif” 12.;
#P newex 50 271 158 9109516 jit.matrix out 4 char 320 240;
#P window setfont “Sans Serif” 9.;
#P newex 61 205 215 9109513 jit.gl.texture Output @name sspvu @dim 320 240;
#N comlet rasterize onoff;
#P inlet 50 30 15 0;
#N comlet pre erase bang;
#P inlet 196 30 15 0;
#P connect 24 0 4 0;
#P connect 1 0 4 0;
#P connect 4 0 11 0;
#P connect 11 0 5 0;
#P connect 2 0 3 0;
#P connect 14 0 3 0;
#P connect 5 0 3 0;
#P connect 3 0 22 0;
#P connect 22 0 6 0;
#P connect 21 0 17 0;
#P connect 17 0 2 0;
#P connect 0 0 4 1;
#P connect 17 1 14 0;
#P connect 12 0 11 1;
#P connect 5 1 17 1;
#P connect 5 2 15 0;
#P connect 1 0 8 0;
#P connect 24 0 8 0;
#P connect 9 0 8 1;
#P connect 8 0 10 0;
#P connect 13 0 21 0;
#P connect 21 0 20 0;
#P connect 20 0 18 0;
#P connect 23 0 24 0;
#P connect 5 3 16 0;
#P connect 16 0 7 0;
#P connect 15 0 7 0;
#P connect 10 0 7 0;
#P connect 20 1 19 0;
#P connect 18 0 16 1;
#P connect 19 0 16 1;
#P pop;
#P newobj 141 200 89 9109513 p rasterizeOutput;
#P connect 4 0 2 0;
#P connect 5 0 2 0;
#P connect 2 0 3 0;
#P connect 8 0 1 0;
#P connect 3 3 1 0;
#P connect 3 0 1 0;
#P connect 0 0 1 0;
#P connect 3 1 12 0;
#P connect 9 0 2 1;
#P connect 6 0 0 0;
#P connect 7 0 0 0;
#P connect 3 2 0 1;
#P connect 3 4 0 2;
#P connect 11 0 0 3;
#P pop;
#P newobj 0 102 52 9109513 p render;
#P comment 136 61 112 9109513 …and type some lines;
#P connect 23 0 24 0;
#P connect 24 0 3 0;
#P connect 8 0 2 0;
#P connect 8 0 22 0;
#P fasten 22 0 23 0 288 185 288 185;
#P connect 19 0 18 0;
#P connect 10 0 9 0;
#P connect 12 0 11 0;
#P connect 8 2 12 0;
#P connect 18 0 3 0;
#P connect 11 0 3 0;
#P connect 9 0 3 0;
#P connect 6 0 8 0;
#P connect 5 0 7 0;
#P connect 4 0 5 0;
#P connect 13 0 4 0;
#P connect 8 1 4 0;
#P connect 14 0 1 0;
#P window clipboard copycount 25;

#75880
Apr 27, 2006 at 10:15pm

hmmm…a good alternative to chromakeying out the 0s in favor of 32s, but it still has the same center and right alignment problems….

p

#75881
Apr 27, 2006 at 10:35pm

havent noticed that.
mybe find the num of trailing 0′s and add same number at the start of line.
with (a to clever for me) use of jit.str.regexp. will this work?

#75882
Apr 28, 2006 at 7:55am

On Apr 28, 2006, at 12:15 AM, pnyboer wrote:

>
> hmmm…a good alternative to chromakeying out the 0s in favor of
> 32s, but it still has the same center and right alignment problems….

I might recommend using a strategy which sends each line serially to
jit.gl.text3d @automatic 0 if you want to avoid such issues.

-Joshua

#75883
Apr 28, 2006 at 3:45pm

after trying on a mac, i see that it doesn’t render ascii 0….but it
doesn’t seem to do center or right align correctly (OSX.39)….see
patch at end of mail….

> I might recommend using a strategy which sends each line serially to
> jit.gl.text3d @automatic 0 if you want to avoid such issues.

hmmm….wouldn’t this sort of defeat the advantage of having all the
text in a single matrix? It seems that such a strategy would require
me to cook up some sort of leading scheme, which sounds like a somewhat
awful task that would probably never come out right due to varying font
metrics and scales. Or is there something trickier I’m missing?

I guess a feature request for jit.gl.text3d would be a flag to defeat
rendering of ascii character 0. “ascii0 0″ could be a nice message to
send to overcome this problem :) highly specific, but it would make
the textfile->text3d all so convenient….

p.

#P window setfont “Sans Serif” 9.;
#P flonum 481 191 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 444 191 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 408 211 107 196617 pak position 0. 0. 0.;
#P flonum 408 191 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 131 233 46 196617 jit.print;
#P window linecount 3;
#P comment 309 278 158 196617 SO! THE BIG QUESTION IS: Can I get the
alignement to work without the ugly rectangles?;
#P window linecount 1;
#P comment 434 51 46 196617 magic!;
#P comment 304 51 78 196617 bang to render;
#P comment 37 51 76 196617 turn render on;
#P toggle 21 51 15 0;
#P message 127 51 38 196617 open;
#P message 356 76 41 196617 dump;
#N coll ;
#T flags 1 0;
#T 0 antialias 0;
#T 5 face normal;
#T 6 font Arial;
#T 8 leadscale 1;
#T 19 scale 0.2 0.266 0.;
#T 20 color 0.729412 0. 0. 1.;
#T 22 tracking 1;
#P newobj 356 97 63 196617 coll;
#B color 5;
#P user ubumenu 434 69 69 196617 0 1 1 0;
#X add left;
#X add center;
#X add right;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P message 434 88 50 196617 align $1;
#P newex 304 94 50 196617 t b b b;
#B color 5;
#P user jit.fpsgui 133 150 70 196617 3;
#P button 304 68 25 0;
#P newex 121 125 181 196617 jit.matrix texty 1 char 1 1 @adapt 1;
#P newex 127 95 57 196617 jit.textfile;
#P window linecount 2;
#P newex 312 239 297 196617 jit.gl.text3d Output @color 0. 0. 0. 1.
@depth 0. @smooth_shading 1 @blend_enable 1 @depth_enable 1 @enable 1;
#B color 5;
#P window linecount 1;
#P newex 304 123 138 196617 jit.matrix texty 1 char 1 1;
#N vpatcher 363 344 797 670;
#P window setfont “Sans Serif” 9.;
#P newex 50 171 42 196617 s drive;
#N vpatcher 521 355 1121 755;
#P origin 0 -8;
#P window setfont “Sans Serif” 9.;
#P message 248 352 229 196617 visible 1 , rect 100 100 420 340 ,
border 1 , floating 0;
#P newex 301 295 40 196617 sel 1 0;
#P newex 352 291 46 196617 r jayfake;
#P message 251 324 255 196617 visible 1 , rect 374 104 652 314 , grow
0 , border 0 , floating 1;
#P newex 336 21 72 196617 r fullscreenon;
#P message 361 102 88 196617 floating 1 , visible 1;
#P newex 322 206 42 196617 print off;
#P newex 314 174 39 196617 print on;
#P newex 219 194 27 196617 t 0 b;
#P newex 318 97 19 196617 t 1;
#P newex 318 69 49 196617 deferlow;
#P newex 216 171 75 196617 r fullscreenoff;
#P newex 335 43 52 196617 route bang;
#P message 233 232 234 196617 fullscreen 0 , floating 0 , visible 1
, rect 100 100 420 340;
#P message 256 260 229 196617 name Output , visible 1 , rect $1 $2
$3 $4 , fullscreen 1;
#P newex 234 259 16 196617 t l;
#P message 114 123 59 196617 floating $1;
#P toggle 111 104 15 0;
#P message 50 222 76 196617 size 1024 768;
#P newex 50 135 41 196617 sel 1 0;
#P message 71 178 70 196617 size 320 240;
#P toggle 50 107 15 0;
#P newex 92 82 53 196617 sel 27 16;
#P newex 50 75 40 196617 key;
#P newex 50 336 168 196617 jit.window Output @floating 0 @fsaa 1;
#P outlet 13 131 15 0;
#P connect 4 0 0 0;
#P connect 17 0 4 0;
#P fasten 3 0 4 0 97 104 55 104;
#P connect 16 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 7 0;
#P connect 25 0 1 0;
#P connect 22 0 1 0;
#P connect 10 0 1 0;
#P connect 9 0 1 0;
#P connect 5 0 1 0;
#P connect 7 0 1 0;
#P connect 6 1 5 0;
#P fasten 2 0 3 0 91 99 91 84;
#P connect 3 1 8 0;
#P connect 8 0 9 0;
#P connect 14 0 17 0;
#P connect 17 1 12 0;
#P connect 20 0 10 0;
#P connect 11 0 10 0;
#P connect 12 0 10 0;
#P connect 24 1 25 0;
#P connect 24 0 22 0;
#P connect 13 1 11 0;
#P connect 23 0 24 0;
#P connect 13 0 18 0;
#P connect 13 0 15 0;
#P connect 15 0 16 0;
#P connect 14 0 19 0;
#P connect 21 0 13 0;
#P connect 13 0 20 0;
#P pop;
#P newobj 124 175 80 196617 p outputwindow;
#P comment 110 102 134 196617 change clock rate if needed.;
#P flonum 73 100 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 70 238 71 196617 r to_glrender;
#P toggle 41 103 15 0;
#P objectname onoff;
#N comlet onoff;
#P inlet 21 105 15 0;
#P newex 31 146 74 196617 t b b b erase b;
#P newex 31 125 57 196617 qmetro 33;
#P newex 31 265 321 196617 jit.gl.render Output @ortho 2 @scale 1.33 1
@erase_color 0. 0. 0. 1.;
#P connect 4 0 1 0;
#P connect 3 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P connect 2 3 0 0;
#P connect 5 0 0 0;
#P connect 2 1 9 0;
#P connect 6 0 1 1;
#P pop;
#P newobj 21 92 52 196617 p render;
#P comment 157 51 112 196617 …and type some lines;
#P connect 5 0 19 0;
#P connect 5 0 7 0;
#P fasten 23 0 21 3 486 208 509 208;
#P fasten 22 0 21 2 449 208 477 208;
#P fasten 20 0 21 1 413 208 445 208;
#P connect 10 0 9 0;
#P connect 12 0 11 0;
#P connect 8 2 12 0;
#P connect 9 0 3 0;
#P connect 11 0 3 0;
#P connect 2 0 3 0;
#P connect 21 0 3 0;
#P connect 8 0 2 0;
#P connect 6 0 8 0;
#P connect 8 1 4 0;
#P connect 13 0 4 0;
#P connect 4 0 5 0;
#P connect 14 0 1 0;
#P window clipboard copycount 24;

#75884

You must be logged in to reply to this topic.