On Fri, 2007-09-21 at 11:38 +0200, IOhannes m zmoelnig wrote:
Roman Haefeli wrote:
On Fri, 2007-09-21 at 10:07 +0200, IOhannes m zmoelnig wrote:
please try both "mode 0" and "mode 1" messages (even if you are fine with using only "mode 0", i would prefer if both modi worked)
i applied the patch and compiled gem with:
./configure --with-glversion=1.5
then i loaded the helppatch of [pix_texture] and tried both modi. i can't see any difference. with both the image is displayed correctly.
at least not bad :-)
still: could you send the output of the right outlet of [pix_texture] for both modi?
[pix_texture]: using mode 0: TEXTURE_2D print: 3 0.613281 0.524414 3553 0
[pix_texture]: using mode 1: TEXTURE_RECTANGLE print: 3 0.613281 0.524414 3553 0
could you try with non-power of 2 images? (e.g. video)
my testimage had dimensions: 628 x 537 px (i think this should be odd enough ;-) )
and finally: do you force glversion-1.5 because of the textures not working correctly or because of glsl-stuff that keeps Gem from loading?
the latter is the case. i get 'undefined symbol: glUniform' or similar, when loading gem.
if it is the latter and you have time, you could also try to disable the openGL-wrappers (--disable-openGL) and delete the glsl_*.cpp from Manips/ to recompile without a forced max-openGL-version.
ah, ok. i'll do that tomorrow (today in a few hours).
good night roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de