Re: [PD] gem/GLSL: how to compute correct coordinates for rectangular textures

2010-01-05 Thread Matteo Sisti Sette
Jack escribió: What about [pix_resize] after [pix_image] ? Well I don't want to actually resize any image (i.e. actually modify pixel data). But maybe you mean one [pìx_resize] after the [pix_image] of the left (not the ones on the right), resizing it with the size of the images on the

Re: [PD] gem/GLSL: how to compute correct coordinates for rectangular textures

2010-01-05 Thread Jack
Le mardi 05 janvier 2010 à 12:20 +0100, Matteo Sisti Sette a écrit : Jack escribió: What about [pix_resize] after [pix_image] ? Well I don't want to actually resize any image (i.e. actually modify pixel data). But maybe you mean one [pìx_resize] after the [pix_image] of the left

Re: [PD] gem/GLSL: how to compute correct coordinates for rectangular textures

2010-01-05 Thread Matteo Sisti Sette
Jack escribió: [pix_set] ? You have an example in examples Gem glsl 06.framebuffer_and_shader ++ Thanks a lot, that should do the trick. Both with and without rectangle mode I think (have to try though). Now how could I set sizes for multiple textures, that is for example, how would

Re: [PD] gem/GLSL: how to compute correct coordinates for rectangular textures

2010-01-05 Thread cyrille henry
Matteo Sisti Sette a écrit : Jack escribió: [pix_set] ? You have an example in examples Gem glsl 06.framebuffer_and_shader ++ Thanks a lot, that should do the trick. Both with and without rectangle mode I think (have to try though). Now how could I set sizes for multiple textures,

Re: [PD] gem/GLSL: how to compute correct coordinates for rectangular textures

2010-01-04 Thread Jack
Le dimanche 03 janvier 2010 à 21:17 +0100, Matteo Sisti Sette a écrit : Hi, I guess if I had a deep understanding of openGL I could find the answer, but I am obviously looking for a shortcut (at the moment) to solve the specific problem I'm facing which should be pretty simple. In the