JOGL 2

Discuss your feature requests for the next release of Ardor3D here.
Forum rules
Discuss your feature requests for the next release of Ardor3D here. Please make a ticket and reference it in your first post.

Re: JOGL 2

Postby renanse » Wed Jan 11, 2012 10:43 am

It runs at about 67FPS on my MacBook Pro (2-3 years old) here.

Possible bug: The mouse cursor didn't get hidden when playing.
Gratitude is a mark of a noble soul and a refined character.
User avatar
renanse
Site Admin
 
Posts: 2955
Joined: Tue Oct 28, 2008 6:49 pm
Location: Austin, TX

Re: JOGL 2

Postby gouessej » Thu Jan 12, 2012 4:37 am

Hi

renanse wrote:It runs at about 67FPS on my MacBook Pro (2-3 years old) here.

Possible bug: The mouse cursor didn't get hidden when playing.

Thank you for the test. Yes it is a bug of NEWT, the mouse cursor should get hidden when you go into the museum, it works fine on GNU Linux and Microsoft Windows.
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby gouessej » Thu Jan 12, 2012 5:20 pm

Hi

I had forgotten to replace GLU by GLUgl2. Now the JOGL 2 renderer works nice even on low end machines, I succeeded in using it with OpenGL 1.3 (ATI Radeon 9250 Pro).

There are still a bug affecting Mac (GLWindow.setPointerVisible(false) does not work) and another one affecting GNU Linux (it's impossible to detect multiple mouse keys in mousePressed()) in NEWT.
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby gouessej » Tue Jan 17, 2012 7:06 am

Hi

Sven fixed the bug occuring on some versions of Mac OS X yesterday, I just have to update JOGL JARs.
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby gouessej » Mon Feb 20, 2012 8:51 am

Hi

The JOGL 2.0 renderer doesn't yet contain the changeset 1795, 1798 and 1799, I will fix that tonight.

I will switch to JOGL 2.0 RC6 too, it will improve the support of applets on Mac OS X.

@Renanse I have seen that line 1274:
Code: Select all
throw new Ardor3dException("Unindexed drawInstanced not supported in JOGL?");

I tried to fix it in the JOGL 2.0 renderer. Please can you try my fix and backport it into the JOGL 1 renderer please?
Code: Select all
final int previousPos = indices.getBuffer().position();
indices.getBuffer().position(offset * byteSize);
gl.getGL2GL3().glDrawElementsInstanced(glIndexMode, count, type, indices.getBuffer(), primcount);
indices.getBuffer().position(previousPos);
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby gouessej » Tue Feb 21, 2012 3:46 pm

Hi

All fixes are in the latest revision. Enjoy ;)
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby gouessej » Wed Feb 22, 2012 6:03 am

Hi

As my fix for mesh instancing works according to Renanse, I will uncomment its source code and commit this change in a few hours when I'm at home.

As my renderer is quite mature, perhaps I will deploy Ardor3D example runner with it. Best regards.
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby runiter » Fri Feb 24, 2012 10:30 am

does this mean we will get JOGL 2 officially replacing JOGL 1.1.2 in Ardor3D soon?
Sign this petition to demand Oracle remove Ask Toolbar from Java: https://www.change.org/petitions/oracle ... -installer
User avatar
runiter
regular
 
Posts: 612
Joined: Fri Oct 23, 2009 8:50 am
Location: Boston, MA, USA

Re: JOGL 2

Postby gouessej » Fri Feb 24, 2012 12:10 pm

runiter wrote:does this mean we will get JOGL 2 officially replacing JOGL 1.1.2 in Ardor3D soon?

It will happen in Ardor3D 0.9 according to Renanse:
renanse wrote:Cool, my thought is we should look at making jogl2 official starting in Ardor3D release 0.9 (so we should get a 0.8 release out soon!)


The earlier people adopt it, the most feedbacks I will get, the sooner the bugs will be fixed. Please give it a try. If you're very lazy, just use my JARs.
gouessej
regular
 
Posts: 1186
Joined: Fri May 01, 2009 3:26 am
Location: France

Re: JOGL 2

Postby runiter » Mon Feb 27, 2012 10:09 am

could you refer me to instruction for adopting it? i remember you mentioned it once in this forum but things probably change quite a bit by now.
it doesn't need to be the lazy way with jars, I can adopt it with your preferred way, I just need the instructions. (do you have a svn for your version?)
Sign this petition to demand Oracle remove Ask Toolbar from Java: https://www.change.org/petitions/oracle ... -installer
User avatar
runiter
regular
 
Posts: 612
Joined: Fri Oct 23, 2009 8:50 am
Location: Boston, MA, USA

PreviousNext

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron