Forums > Jitter

inversed texture

February 7, 2008 | 9:16 am

Hello,
could someone explain why the texture is fliped from top to bottom ?
Is it due to open GL architecture or something ?

max v2;
#N vpatcher 450 128 1112 704;
#P user jit.pwindow 464 252 43 35 0 1 0 0 1 0;
#P toggle 414 197 15 0;
#P toggle 383 197 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 352 220 72 196617 pak invert 0 0;
#P newex 446 205 58 196617 jit.dimmap;
#P window setfont "Sans Serif" 18.;
#P comment 543 74 20 196626 3;
#P user jit.pwindow 513 188 43 35 0 1 0 0 1 0;
#P window setfont "Sans Serif" 9.;
#P newex 446 228 103 196617 prepend texture film;
#P window setfont "Sans Serif" 18.;
#P comment 309 83 20 196626 2;
#P window setfont "Sans Serif" 9.;
#P message 288 113 65 196617 texture film;
#P message 143 111 95 196617 texture film 64 64;
#P newex 288 162 100 196617 jit.gl.videoplane rrr;
#P message 50 260 118 196617 name rrr , size 320 240;
#P user jit.pwindow 49 286 322 242 0 1 0 0 1 0;
#X name rrr;
#P newex 56 163 165 196617 jit.gl.render rrr @color 1. 1. 1. 1.;
#P newex 56 112 50 196617 t b erase;
#P toggle 56 50 15 0;
#P newex 56 92 57 196617 qmetro 20;
#P window setfont "Sans Serif" 18.;
#P comment 178 82 20 196626 1;
#P toggle 446 77 15 0;
#P window setfont "Sans Serif" 9.;
#P message 521 143 29 196617 stop;
#P message 487 143 33 196617 start;
#P newex 487 123 41 196617 sel 1 0;
#P newex 446 100 37 196617 metro;
#P newex 446 165 167 196617 jit.qt.movie 320 240 @autostart 0;
#P message 565 116 76 196617 read bball.mov;
#P connect 13 0 12 0;
#P connect 9 0 8 0;
#P connect 8 0 10 0;
#P fasten 15 0 11 0 148 144 61 144;
#P connect 10 0 11 0;
#P connect 10 1 11 0;
#P fasten 18 0 11 0 451 252 34 252 34 149 61 149;
#P connect 16 0 14 0;
#P connect 23 0 22 1;
#P connect 24 0 22 2;
#P fasten 9 0 6 0 61 71 451 71;
#P connect 6 0 2 0;
#P fasten 5 0 1 0 526 159 451 159;
#P fasten 4 0 1 0 492 159 451 159;
#P fasten 0 0 1 0 570 161 451 161;
#P connect 2 0 1 0;
#P connect 1 0 21 0;
#P fasten 22 0 21 0 357 244 435 244 435 198 451 198;
#P connect 21 0 18 0;
#P connect 21 0 25 0;
#P fasten 6 0 3 0 451 97 492 97;
#P connect 3 0 4 0;
#P fasten 1 0 19 0 451 185 519 185;
#P fasten 3 1 5 0 507 141 526 141;
#P pop;


February 7, 2008 | 2:41 pm

yes. if you look at jit.gl.textures attributes, you’ve got a default
value of @flip 1.

On Feb 7, 2008, at 4:16 AM, Derrick Giscloux wrote:

>
> Hello,
> could someone explain why the texture is fliped from top to bottom ?
> Is it due to open GL architecture or something ?
>
> max v2;
> #N vpatcher 450 128 1112 704;
> #P user jit.pwindow 464 252 43 35 0 1 0 0 1 0;
> #P toggle 414 197 15 0;
> #P toggle 383 197 15 0;
> #P window setfont "Sans Serif" 9.;
> #P newex 352 220 72 196617 pak invert 0 0;
> #P newex 446 205 58 196617 jit.dimmap;
> #P window setfont "Sans Serif" 18.;
> #P comment 543 74 20 196626 3;
> #P user jit.pwindow 513 188 43 35 0 1 0 0 1 0;
> #P window setfont "Sans Serif" 9.;
> #P newex 446 228 103 196617 prepend texture film;
> #P window setfont "Sans Serif" 18.;
> #P comment 309 83 20 196626 2;
> #P window setfont "Sans Serif" 9.;
> #P message 288 113 65 196617 texture film;
> #P message 143 111 95 196617 texture film 64 64;
> #P newex 288 162 100 196617 jit.gl.videoplane rrr;
> #P message 50 260 118 196617 name rrr , size 320 240;
> #P user jit.pwindow 49 286 322 242 0 1 0 0 1 0;
> #X name rrr;
> #P newex 56 163 165 196617 jit.gl.render rrr @color 1. 1. 1. 1.;
> #P newex 56 112 50 196617 t b erase;
> #P toggle 56 50 15 0;
> #P newex 56 92 57 196617 qmetro 20;
> #P window setfont "Sans Serif" 18.;
> #P comment 178 82 20 196626 1;
> #P toggle 446 77 15 0;
> #P window setfont "Sans Serif" 9.;
> #P message 521 143 29 196617 stop;
> #P message 487 143 33 196617 start;
> #P newex 487 123 41 196617 sel 1 0;
> #P newex 446 100 37 196617 metro;
> #P newex 446 165 167 196617 jit.qt.movie 320 240 @autostart 0;
> #P message 565 116 76 196617 read bball.mov;
> #P connect 13 0 12 0;
> #P connect 9 0 8 0;
> #P connect 8 0 10 0;
> #P fasten 15 0 11 0 148 144 61 144;
> #P connect 10 0 11 0;
> #P connect 10 1 11 0;
> #P fasten 18 0 11 0 451 252 34 252 34 149 61 149;
> #P connect 16 0 14 0;
> #P connect 23 0 22 1;
> #P connect 24 0 22 2;
> #P fasten 9 0 6 0 61 71 451 71;
> #P connect 6 0 2 0;
> #P fasten 5 0 1 0 526 159 451 159;
> #P fasten 4 0 1 0 492 159 451 159;
> #P fasten 0 0 1 0 570 161 451 161;
> #P connect 2 0 1 0;
> #P connect 1 0 21 0;
> #P fasten 22 0 21 0 357 244 435 244 435 198 451 198;
> #P connect 21 0 18 0;
> #P connect 21 0 25 0;
> #P fasten 6 0 3 0 451 97 492 97;
> #P connect 3 0 4 0;
> #P fasten 1 0 19 0 451 185 519 185;
> #P fasten 3 1 5 0 507 141 526 141;
> #P pop;
>


Viewing 2 posts - 1 through 2 (of 2 total)