Hello Guest

Any Last Requests?

  • 102 Replies
  • 74899 Views
Any Last Requests?
« Reply #75 on: September 06, 2004, 20:30:46 »
That'd be another good idea. :D

*

Offline spasi

  • *****
  • 2206
    • WebHotelier
Any Last Requests?
« Reply #76 on: September 30, 2004, 15:03:42 »
IIRC, this was proposed long time ago:

We should have a way to define an icon for the LWJGL window. Even in fullscreen mode, it looks ugly when minimized.

Was this considered & rejected, or simply forgotten?

*

Offline Matzon

  • *****
  • 2242
Any Last Requests?
« Reply #77 on: September 30, 2004, 15:28:13 »
Somewhere between the forgetting, and actually writing the code that supports it - cross platform!

How would it be implemented? Display.setIcon, Display.create(..., icon) ?

*

Offline spasi

  • *****
  • 2206
    • WebHotelier
Any Last Requests?
« Reply #78 on: September 30, 2004, 16:20:17 »
I'd prefer a setIcon, if it's just a matter of code style. :wink:

*

Offline princec

  • *****
  • 1933
    • Puppygames
Any Last Requests?
« Reply #79 on: September 30, 2004, 18:02:01 »
I vote for setIcon, and I'd like it to take a ByteBuffer containing a 32 bit RGBA image. Of some known size...?

Cas :)

*

Offline Chman

  • ***
  • 100
    • http://www.shakebox.org
Any Last Requests?
« Reply #80 on: September 30, 2004, 18:37:49 »
I vote for setIcon(...) too :)

Chman

*

Offline Matzon

  • *****
  • 2242
Any Last Requests?
« Reply #81 on: September 30, 2004, 19:16:21 »
yeah, well - I vote for setIcon too - but who's going to implement it ??? :p
anyhow - won't we need different sized icons, 16*16, 32*32, 128*128 for different platforms and so forth ?

Any Last Requests?
« Reply #82 on: October 02, 2004, 18:37:50 »
Could you perhaps set a range of icons of different resolutions, and have LWJGL pick the one of the correct size? Possibly resizing an differently sized icon if none of the correct size was provided?

*

Offline sq

  • *
  • 5
Any Last Requests?
« Reply #83 on: March 03, 2005, 00:32:33 »
GLU tesselation methods would be very very helpful...

*

Offline WiESi

  • **
  • 70
Any Last Requests?
« Reply #84 on: May 31, 2005, 12:08:24 »
Why are there still the methods Keyboard.create() and Mouse.create()? I determined that it isn't necessary in newer versions to call this methods so it irritates me...

WiESi

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Any Last Requests?
« Reply #85 on: May 31, 2005, 12:29:33 »
Quote from: "WiESi"
Why are there still the methods Keyboard.create() and Mouse.create()? I determined that it isn't necessary in newer versions to call this methods so it irritates me...

WiESi


They need to be public in order to be called from Display since they're in a different package.

 - elias

Any Last Requests?
« Reply #86 on: July 25, 2005, 21:26:52 »
Dunno if this has been mentioned...
In org.lwjgl.input.Mouse, the "absolute position" returned from getY() isn't consistent with the upper left origin, instead it returns it relative to the lower left. I have to put in (WindowHeight - Mouse.getY()) to get a proper position.

I don't know if it's possible for you guys to do it without also subtracting window height, which would equal no performance benefit. Still, I think it would be better for consistency's sake to match it up with the origin. I think two additional functions in Mouse would work, like getOriginX() (and Y), or maybe getRelativeX() (and Y).

*

Offline Matzon

  • *****
  • 2242
Any Last Requests?
« Reply #87 on: July 26, 2005, 06:03:48 »
err - isn't the OpenGL origin lower left ?

GLU doesn't use Buffers
« Reply #88 on: October 05, 2005, 19:52:54 »
How come the GLU methods don't use Buffers like the GL* ones?

It's a bit of a fiddle using gluUnProject, since it requires float[][] for matrices that GL* return as FloatBuffers.

(With LWJGL at 0.98 and people with much more interesting things to do with their time, I'm not really asking for an API change ;))

Sorry to gripe  :D

P.S. I am liking LWJGL very much, thanks.

hmmmmm....
« Reply #89 on: October 06, 2005, 15:03:00 »
Quote
How come the GLU methods don't use Buffers like the GL* ones?

I think GLU uses float[] because it is written in pure Java code while the GL ones are native c++ and thus require JNI buffers.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D