Forums > Jitter

capture antialiased text to texture?

February 28, 2009 | 10:15 pm

This doesn’t capture smooth text to the texture. Is there a way to do this besides doubling up the texture dimensions? That’s not a huge deal, just a bit inconvenient.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 300 167 100 196617 < - press it;
#P comment 386 261 119 196617 or is this how it’s done?;
#P message 312 257 74 196617 dim 1280 960;
#P newex 78 315 161 196617 jit.window Output @size 640 480;
#B color 5;
#N vpatcher 211 377 612 767;
#P window setfont "Sans Serif" 9.;
#P newex 71 254 44 196617 qlim 15;
#P newex 125 82 106 196617 jit.qball @mode defer;
#P newex 120 51 65 196617 r renderbang;
#P button 50 50 15 0;
#P newex 225 133 31 196617 s pre;
#P newex 50 166 33 196617 s last;
#P newex 248 161 34 196617 s first;
#P newex 196 186 47 196617 s 3plane;
#P newex 110 168 51 196617 s 3dplane;
#P newex 196 205 47 196617 s 2plane;
#P newex 142 195 47 196617 s 1plane;
#P newex 202 161 40 196617 s drive;
#P newex 96 190 45 196617 s 0plane;
#P newex 78 101 43 196617 jit.qball;
#P newex 78 123 131 196617 t b b b b b b b b erase b;
#P inlet 78 81 15 0;
#P outlet 78 286 15 0;
#P connect 2 0 11 0;
#P connect 2 0 16 0;
#P connect 1 0 3 0;
#P connect 13 0 2 0;
#P connect 3 0 2 0;
#P connect 15 0 2 0;
#P connect 16 0 0 0;
#P connect 2 8 0 0;
#P connect 2 1 4 0;
#P connect 2 2 8 0;
#P connect 14 0 15 0;
#P connect 2 3 6 0;
#P connect 2 5 9 0;
#P connect 2 4 7 0;
#P connect 2 6 5 0;
#P connect 2 9 12 0;
#P connect 2 7 10 0;
#P pop;
#P newobj 78 75 43 196617 p bangs;
#P window linecount 2;
#P newex 78 122 339 196617 jit.gl.render Output @erase_color 0 0 0 1 @scale 1.33333 1. 1. @ortho 0 @camera 0 0 2 @light_ambient 0.2 0.2 0.2 0.2 @light_position 0 2 0.2;
#P toggle 78 35 15 0;
#P window linecount 1;
#P newex 78 52 46 196617 metro 2;
#P newex 78 99 41 196617 thr.pat;
#P newex 16 260 47 196617 r 0plane;
#B color 5;
#P message 78 163 221 196617 text Why NO anti aliasing? , capture texts , bang;
#P newex 78 257 231 196617 jit.gl.texture Output @name texts @dim 640 480;
#B color 5;
#P newex 78 291 394 196617 jit.gl.videoplane Output @transform_reset 2 @texture texts @automatic 0 @enable 1;
#B color 5;
#P window linecount 3;
#P newex 78 196 308 196617 jit.gl.text3d Output @color 1. 1. 1. 1. @depth 0. @smooth_shading 1 @blend_enable 1 @depth_enable 0 @enable 1 @antialias 1 @align 1 @position 0 0 0 @scale 0.1 0.1 0.01 @automatic 0;
#B color 5;
#P comment 185 78 100 196617 patch by peter nyboer pete at lividinstruments.com;
#P window linecount 1;
#P comment 95 36 100 196617 turn on render;
#P connect 9 0 8 0;
#P connect 8 0 11 0;
#P connect 11 0 7 0;
#P connect 7 0 10 0;
#P connect 5 0 2 0;
#P connect 13 0 4 0;
#P connect 6 0 3 0;
#P window clipboard copycount 16;


Viewing 1 post (of 1 total)