non-rectangular textures and uyvy

Feb 21, 2008 at 10:12pm

non-rectangular textures and uyvy

if rectangular textures are off and a texture is in uyvy mode, it looks pretty lousy when rendered to a videoplane. While this is not surprising, given how these things work, I’m curious if there’s a way around it.

p.boer

#P window setfont “Sans Serif” 9.;
#P user ubumenu 292 61 100 196617 0 1 1 0;
#X add argb;
#X add uyvy;
#X prefix_set 0 0 0;
#P window linecount 1;
#P message 111 76 30 196617 read;
#P newex 149 161 279 196617 jit.gl.videoplane Output @transform_reset 2 @texture 1tex;
#P newex 325 119 90 196617 prepend rectangle;
#P toggle 401 99 15 0;
#P newex 290 81 94 196617 prepend colormode;
#P newex 201 45 42 196617 r drive;
#P newex 150 113 159 196617 jit.gl.texture Output @name 1tex;
#P message 113 48 74 196617 read chilis.jpg;
#P newex 150 92 63 196617 jit.qt.movie;
#P newex 47 213 60 196617 loadmess 1;
#P toggle 23 217 15 0;
#P window linecount 2;
#P newex 77 251 267 196617 jit.window Output @visible 1 @floating 0 @grow 0 @rect 10 450 330 690 @fsaa 0 @sync 1 @doublebuffer 1;
#P objectname win;
#P window linecount 1;
#N vpatcher 871 236 1293 534;
#P window setfont “Sans Serif” 9.;
#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 213 126 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 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 227 15 0;
#P connect 2 1 10 0;
#P connect 1 0 3 0;
#P connect 14 0 2 0;
#P connect 3 0 2 0;
#P connect 12 0 2 0;
#P connect 2 0 0 0;
#P connect 2 8 0 0;
#P connect 2 1 4 0;
#P connect 13 0 14 0;
#P connect 2 3 6 0;
#P connect 2 5 8 0;
#P connect 2 4 7 0;
#P connect 2 6 5 0;
#P connect 2 9 11 0;
#P connect 2 7 9 0;
#P pop;
#P newobj 23 267 43 196617 p bangs;
#P window linecount 2;
#P newex 23 296 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 window linecount 1;
#P newex 23 240 46 196617 metro 2;
#P window linecount 2;
#P comment 426 70 100 196617 uyvy and rectangle 0 look lousy;
#P connect 16 1 11 0;
#P connect 15 0 7 0;
#P connect 11 0 4 0;
#P connect 11 0 14 0;
#P connect 11 0 7 0;
#P connect 11 0 9 0;
#P connect 13 0 9 0;
#P connect 12 0 13 0;
#P connect 10 0 7 0;
#P connect 7 0 9 0;
#P connect 8 0 7 0;
#P connect 6 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 2 0;
#P window clipboard copycount 17;

#35982

You must be logged in to reply to this topic.