Re: Blox Builder

Started by trisco, November 20, 2009, 02:46:22 PM

Previous topic - Next topic

trisco

I changed the applet to version 2.2.1 this morning, so it should be using that.

With the normal jpct jar I used before the message is as follows:

[ Sun Nov 21 15:38:18 CEST 2009 ] - ERROR: No support for WGL_ARB_multisample

With the one you gave me this afternoon and lwjgl 2.2.1:

[ Sat Nov 21 16:49:53 CET 2009 ] - ERROR: Unable to recover: No support for WGL_ARB_multisample

I guess it's hopeless :)

Any idea why just recreating the buffer in the ipaintlistener isn't working?

EgonOlsen

Please try the new jar. It can't possibly print out that message but some other. It works fine this way on my Intel based test machine, so something has to be different. We just have to find out, what that is.

EgonOlsen

Are you using an obfuscator or something similar on the jars?

trisco

I've uploaded the latest version of jwgl, jpct and the applet to the same link:

http://www.freedownloads.be/bloxsystemsapplet/test.html

The jars are not obfuscated.

trisco

ps: i don't have an intel chipset (always careful not to buy one of those :p) so I have to ask a friend to test it.

EgonOlsen

Damn...it's a security problem with the applet. To inject the new pixel format, i have to access a private field. In an application, i can happily set the field to accessible and everything is fine. In an applet, i'm not allowed to do this. It should work if you sign the jpct.jar, if that's an option.
The IPaintListener solution doesn't work, because it never gets called. The AWTGLCanvas calls my paintGL-implementation (where i'm calling the listener's methods) inside paint...but only of the GL context is valid, which it isn't.
Currently, i see two solutions only: Don't use AA or sign the jpct.jar.

trisco

Thanks for all your trouble, I really appreciate the builds you made!

I'm just going to make two applets, one that determines the capabilities and launches the complete builder with the correct parameters. Sounds like the best thing to do to make both intel chipset owners and nvidia/ati users happy :).

Thanks again, a final link for your project page is coming your way and I'll make use of the JPCT framework in the future too. When I find time I'll even try to contribute to the wiki ;)