On Fri, 2007-09-21 at 10:07 +0200, IOhannes m zmoelnig wrote:
Roman Haefeli wrote:
hi IOhannes
this might sound silly, but frankly i do not know, what the difference is between these two modes, thus i cannot say, if rectangle texturing works.
it is not silly, but we (chris and me), assure you that the "mode" message does nothing but enable/disable rectangle texturing (if possible); i think it is a misnomer, as "mode" might mean anything...
when switching mode, i get these messages:
[pix_texture]: using mode 1:GL_TEXTURE_RECTANGLE_ARB [pix_texture]: using mode 0:GL_TEXTURE_2D
unfortunately this doesn't say much, as the object will always print this when you toggle the mode. (it is really: "if mode=1 print 'using mode 1:GL_TEXTURE_RECTANGLE_ARB'")
the good thing is, that when chris changed the code from _EXT to _ARB he basically did a search'n'replace, so it now posts "ARB" which made me have a look.
actually, the only problem i had, was that 'mode 1' wasn't working and i had to put 'mode 0' everywhere in order to get an image at all. if you can tell me, how i could check, if rectangle texturing is working or not, i am able to say. so far, i do not notice any difference between those modes.
well, actually i am trying to involve you into solving the problem. could you please apply to attached patch to the Gem-sources, re-compile and tell me if the problem is still there?
i am sorry, if this sounds silly now, but which problem? right now, with the actual compile i can use both modi and with each the image is displayed correctly.
though, i'd be glad to help you testing, whereever i can.
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de