[jitter] Texture coordinate in Max land
Wesley Smith
wesley.hoke at gmail.com
Sun Jul 1 08:34:43 MDT 2007
- Previous message: [jitter] Texture coordinate in Max land
- Next message: [jitter] How to close a grabbed file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Seems like you understand quite well. What is the problem here? Texture coordinates are texture coordinates. Does their origin really matter? It's kind of an arbitrary thing whether it's top left or bottom left. I wouldn't worry about it too much. wes On 7/1/07, taprik <patrick.suchet at freesbee.fr> wrote: > > Hi there, > > here is something I still not understand : > It seems that the origins of textures coordinates are not the same in Max land and in other 3D software. > In the example below the origin is at the top left vertex and in other 3D software it will be at the bottom left vertex. > Is it really different or am I confusing ? > Thanks for light > Taprik > > #P window setfont "Sans Serif" 14.; > #P window linecount 2; > #P comment 562 117 252 196622 Try this two definitions of the primitive and textures coordinates; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P message 240 344 14 196617 7; > #P window setfont "Sans Serif" 14.; > #P newex 215 310 73 196622 loadbang; > #P window linecount 2; > #P comment 324 612 253 196622 Textures coordinates In other 3D software land are in black; > #P comment 324 569 253 196622 Textures coordinates in max land are in blue; > #B color 12; > #P comment 824 244 100 196622 In other 3D software land; > #P window linecount 1; > #P comment 810 691 37 196622 1 \, 1; > #B color 12; > #P comment 626 693 37 196622 0 \, 1; > #B color 12; > #P comment 815 539 37 196622 1 \, 0; > #B color 12; > #P comment 631 539 37 196622 0 \, 0; > #B color 12; > #P comment 810 668 37 196622 1 \, 0; > #P comment 626 670 37 196622 0 \, 0; > #P comment 815 516 37 196622 1 \, 1; > #P window linecount 2; > #P message 557 235 259 196622 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 0 0 1 1; > #P message 560 172 259 196622 plane 0 \, 1 -1 -1 1 \, plane 1 \, -1 -1 1 1 \, plane 3 \, 1 0 0 1 \, plane 4 \, 1 1 0 0; > #P window linecount 1; > #P message 215 401 130 196622 usetexture video; > #P newex 341 197 165 196622 prepend texture video; > #P user jit.fpsgui 105 106 60 196622 0; > #P newex 16 508 381 196622 jit.window troisdés @rect 10 50 330 290 @floating 1; > #P newex 548 336 97 196622 jit.fill couleur; > #P newex 511 403 221 196622 jit.matrix couleur 5 float32 4 1; > #P user ubumenu 412 393 68 196622 0 1 1 0; > #X add points; > #X add lines; > #X add line_strip; > #X add line_loop; > #X add triangles; > #X add tri_strip; > #X add tri_fan; > #X add quads; > #X add quad_strip; > #X add polygon; > #X add tri_grid; > #X prefix_set 0 0 <none> 0; > #P newex 209 118 177 196622 t b b b b l erase; > #P user jit.pwindow 396 111 77 65 0 1 0 0 1 0; > #P message 367 41 53 196622 read; > #P message 485 41 52 196622 stop; > #P message 425 41 56 196622 start; > #P toggle 209 21 16 0; > #P newex 209 45 81 196622 metro 20; > #P newex 209 77 150 196622 jit.qt.movie 320 240; > #P newex 354 462 153 196622 jit.gl.render troisdés; > #P comment 631 516 37 196622 0 \, 1; > #P window setfont "Sans Serif" 9.; > #P comment 689 571 100 196617 The surface; > #P user panel 674 539 128 128; > #X brgb 191 191 191; > #X frgb 0 0 0; > #X border 1; > #X rounded 0; > #X shadow 0; > #X done; > #P window setfont "Sans Serif" 14.; > #P comment 823 181 100 196622 In max land; > #B color 12; > #P window setfont "Sans Serif" 20.; > #P comment 41 695 507 196628 please lock the patche to see the differents colors; > #P connect 7 0 18 0; > #P fasten 7 0 6 0 214 71 214 71; > #P fasten 22 0 16 0 562 305 553 305; > #P fasten 21 0 16 0 565 224 553 224; > #P fasten 13 1 15 0 247 192 516 192; > #P fasten 34 0 14 0 245 376 417 376; > #P connect 6 0 13 0; > #P fasten 6 0 12 0 214 108 402 108; > #P connect 15 0 5 0; > #P fasten 20 0 5 0 220 441 359 441; > #P fasten 19 0 5 0 346 232 359 232; > #P fasten 13 0 5 0 214 167 359 167; > #P fasten 13 5 5 0 379 167 359 167; > #P fasten 14 1 5 0 446 422 359 422; > #P connect 13 4 19 0; > #P connect 33 0 34 0; > #P connect 33 0 20 0; > #P fasten 11 0 6 0 372 71 214 71; > #P fasten 10 0 6 0 490 71 214 71; > #P fasten 9 0 6 0 430 71 214 71; > #P connect 8 0 7 0; > #P window clipboard copycount 36; > > _______________________________________________ > jitter mailing list > jitter at cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter >
- Previous message: [jitter] Texture coordinate in Max land
- Next message: [jitter] How to close a grabbed file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
