Hello Guest

0.9 questions

  • 2 Replies
  • 6938 Views
*

Offline middy

  • *
  • 33
0.9 questions
« on: April 13, 2004, 20:56:08 »
A few qustions

What happened to

window.paint  eg whats the equalivant ?

GLU.gluPickMatrix wants an int[] instead of an intbuffer.. whats that about..
GL11.glGetInteger(GL11.GL_VIEWPORT, viewPort); still wants an intBuffer....


Keyboard.read();.. what do I need todo now?.. I see something called Keyboard.create(); ??
um

*

Offline Matzon

  • *****
  • 2242
Re: 0.9 questions
« Reply #1 on: April 13, 2004, 21:38:23 »
Quote from: "middy"
window.paint  eg whats the equalivant ?

Rolled into Window.update();

Quote from: "middy"
Keyboard.read();.. what do I need todo now?.. I see something called Keyboard.create(); ??

Rolled into Window.update();

All input devices are automatically created (unless told not to using secret switches :twisted:

Just call Window.update, and it will poll for you too

Quote from: "middy"
GLU.gluPickMatrix wants an int[] instead of an intbuffer.. whats that about..

It was determined that one would typically access GLU using arrays rather than buffers, and as such, GLU now uses arrays.

Quote from: "middy"

GL11.glGetInteger(GL11.GL_VIEWPORT, viewPort); still wants an intBuffer....
yes... why wouldn't it ??

/me posting quickly - cable modem f*ckED

*

Offline middy

  • *
  • 33
oki
« Reply #2 on: April 13, 2004, 21:44:39 »
well I read the view port from gfx card before I did my pickmatrix to make sure I got the correct viewport. I could just  pass it onwards.. oh well I guess I can do that smarter
um