#N canvas 352 63 751 628 10; #X obj 20 106 gemwin; #X obj 20 14 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X msg 38 14 create; #X msg 38 34 destroy; #X msg 38 56 dimen 400 400; #X msg 38 78 color 1 0 0; #X msg 140 59 dimen 300 400; #X obj 57 297 pix_texture; #X text -8 327 image sizes width and height; #X text -3 335 should be power of 2 (512X256); #X text -7 344 otherwise you will not see anything; #X text -6 354 on texturing; #X text 2 298 NOTE!!!; #X text -6 314 for pix_texture object; #X text 468 576 2006_Koray Tahiroglu; #X obj 270 54 cnv 15 250 220 empty empty empty 20 12 0 14 -196506 -66577 0; #X obj 285 527 cube 1; #X obj 289 19 gemhead; #X obj 289 -4 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X floatatom 314 291 3 0 1 0 - - -; #X floatatom 341 291 3 0 1 0 - - -; #X floatatom 368 292 3 0 1 0 - - -; #X obj 288 330 alpha; #X floatatom 396 291 3 0 1 0 - - -; #X obj 289 382 translateXYZ; #X obj 290 498 scaleXYZ; #X obj 289 92 pix_image; #X text 357 92 loads an image; #X text 297 228 image as a texture; #X msg 364 71 open fractal.jpg; #X text 357 103 JPG and TIFF; #X obj 290 440 rotateXYZ 0 0 0; #X obj 330 148 pix_draw; #X obj 288 204 pix_texture2; #X text 295 241 this supports all sized images; #X floatatom 313 356 5 0 0 0 - - -; #X floatatom 353 356 5 0 0 0 - - -; #X floatatom 393 356 5 0 0 0 - - -; #X floatatom 308 419 5 0 0 0 - - -; #X floatatom 353 419 5 0 0 0 - - -; #X floatatom 395 419 5 0 0 0 - - -; #X floatatom 305 472 5 0 0 0 - - -; #X floatatom 345 472 5 0 0 0 - - -; #X floatatom 385 472 5 0 0 0 - - -; #X text 331 178 on the GEM window; #X text 427 32 IMAGE LOADING AND TEXTURE; #X obj 288 309 colorRGB 0 1 1 1; #X text 329 167 displays the loaded image; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 0 0; #X connect 4 0 0 0; #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 17 0 26 0; #X connect 18 0 17 0; #X connect 19 0 46 1; #X connect 20 0 46 2; #X connect 21 0 46 3; #X connect 22 0 24 0; #X connect 23 0 46 4; #X connect 24 0 31 0; #X connect 25 0 16 0; #X connect 26 0 33 0; #X connect 29 0 26 0; #X connect 31 0 25 0; #X connect 33 0 46 0; #X connect 35 0 24 1; #X connect 36 0 24 2; #X connect 37 0 24 3; #X connect 38 0 31 1; #X connect 39 0 31 2; #X connect 40 0 31 3; #X connect 41 0 25 1; #X connect 42 0 25 2; #X connect 43 0 25 3; #X connect 46 0 22 0;