FengGUI menu breaks jPCT textures

Started by raft, February 13, 2008, 04:28:45 PM

Previous topic - Next topic

EgonOlsen

You may also try to add a


ARBMultitexture.glActiveTextureARB(ARBMultitexture.GL_TEXTURE0_ARB);
GL11.glEnable(GL11.GL_TEXTURE_2D);


before calling jPCT to arms (i.e. before calling draw()) to re-enable textures on stage 0.

raft

yeap, that arm thing brought my textures back, it's like switching to color tv  ;D thank you. i placed it between World.renderscene and World.draw. but menu still does not show up

here it is:


so, any guesses about what the problem is ?

EgonOlsen

No clue about the menu itself, but obviously FengGUI disables texturing and doesn't re-enable it again afterwards. I think it should take care of this. However, i can add it to jPCT...maybe i should do this instead of simply assuming that my exit state is my new entry state, which is what i'm doing ATM.

raft

ok. meanwhile i'll send a mail to owner of FengGUI

EgonOlsen

I've updated the jar in that hacks-dir with a version that may be able to handle this problem. Could you please give it a try?

raft

yes, textures render correctly without arm thing with that jar

EgonOlsen

Ok, fine. I've updated the 1.16rc1 with that fix. However, i'm not really sure that this is the whole story, so i'll wait for the reply you'll get from the FengGUI guy.