Author Topic: Re: Blox Builder  (Read 11322 times)

Offline trisco

  • byte
  • *
  • Posts: 23
    • View Profile
Re: Blox Builder
« Reply #15 on: November 21, 2009, 06:31:49 pm »
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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Blox Builder
« Reply #16 on: November 21, 2009, 06:48:12 pm »
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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Blox Builder
« Reply #17 on: November 21, 2009, 06:52:48 pm »
Are you using an obfuscator or something similar on the jars?

Offline trisco

  • byte
  • *
  • Posts: 23
    • View Profile
Re: Blox Builder
« Reply #18 on: November 21, 2009, 07:17:04 pm »
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.

Offline trisco

  • byte
  • *
  • Posts: 23
    • View Profile
Re: Blox Builder
« Reply #19 on: November 21, 2009, 07:18:02 pm »
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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Blox Builder
« Reply #20 on: November 21, 2009, 10:14:20 pm »
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.

Offline trisco

  • byte
  • *
  • Posts: 23
    • View Profile
Re: Blox Builder
« Reply #21 on: November 22, 2009, 09:53:31 am »
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 ;)