hi,
first of all many thanks for the answer Renoir.
> If I understand correctly the Mesh class contains all the info needed to
> create the geometry.
no, not all info,
it definitly needs data from the Mesh object, but for a skeletal update it
also needs the transforms from it. in addition to tha
Hi
I'm not sure if someone else also has made this experience.
But somehow I can't get the alpha-value from the framebuffer with
ImageComponent2D and Raster. (I always get 255 as value which is not true)
Using the OpenGL implementation of Java3D.
I only experienced this problem with Nvidia GFX-C
Hi
I would like to have
a key Listener like that:
Only if I press the
Key "ALT" together with the Key "Numlock 7" that it is possible to go
into this "if" part but it does not work.
Why?
if (e.getKeyCode()==KeyEvent.VK_NUMPAD7
&& e.getKeyCode()==KeyEvent.VK_ALT
) {
}
Hi,
I had problems with VK_ALT awhile back too and went to
the boolean e.isAltDown() and it worked fine. - Gary
Patrik Müller wrote:
HiI
would like to have a key Listener like that:Only
if I press the Key "ALT" together with the Key "Numlock 7" that it
is possible to go into this "if" part
You have to do something like the following in your
implementation of
public void keyPressed(KeyEvent e){}
Don't do it in keyTyped because that is for higher level key events.
either:
if ((keycode==KeyEvent.VK_NUMPAD7) &&
(keyevent.isAltDown())) doThis();
or
if ((keycode==KeyEvent.VK_NUMP