-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matteo Sisti Sette wrote: > IOhannes m zmölnig escribió: >> >> use rectangle textures ([rectangle 1( to [pix_texture]). >> > > But the help patch for pix_texture says: > > "Inlet 1: rectangle 0|1 : use rectangle-texturing when available > (default=1)"
hmm, i think this is wrong. rectangle is enabled by default on osx, but not on the other platforms (cannot remember why now; but i guess it made some problems) > > So sending [rectangle 1( to it should have no effect since it is the > default value (if available; if not then I couldn't activate it). see above. with rectangle textures your texcoords should be 0..width-1 and 0..height-1 (rather than 0,,1); don't ask me why; i think it's one of the more stupid decisions of the ARB. > Indeed with [pix_texture] I have no problem using non-power-of-two-size > textures, the question is how to use them in a shader..... you don't have problems because Gem tries to take care of everything. with shaders you somehow circumvent Gem's trickery, so it you have to manually take care. fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAks/Y7UACgkQkX2Xpv6ydvSzKQCcCUs6tZrRdYon4qj67VjLgIEw NBoAoLQMkHsu4Hc+Z4GzAqqDw93OFCql =X7WQ -----END PGP SIGNATURE----- _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list