Re: GLCanvas Full Screen Cannot see in Teamviewer
Posted by
robbiezl on
URL: https://forum.jogamp.org/GLCanvas-Full-Screen-Cannot-see-in-Teamviewer-tp4027475p4027551.html
gouessej wrote
robbiezl wrote
can U give me some advice of the picking implemented in existing engines
Ardor3D has some software picking, but you have to use only triangles (which is not a bad thing as it's faster).
robbiezl wrote
gouessej wrote
You can mix Swing and AWT with NEWT. The situation will be better when we have at least a separate Swing implementation or a JavaFX pipeline fully based on JOGL 2.0.
is there a method to translate awt.MouseEvent to com.jogamp.newt.event.MouseEvent in JOGL rc 10?
Please use the latest version of JOGL (RC 11 now). Have you looked at com.jogamp.newt.event.awt.AWTMouseAdapter?
Thank you for your help.
Sorry,it is my fault ,I want to find a method to translate from com.jogamp.newt.event.MouseEvent to awt.MouseEvent
I have read the souce code of AWTNewtEventFactory.java ,have the method translate awt.MouseEvent to com.jogamp.newt.event.MouseEvent,but not have the reverse method.
For example:
public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent arg0) { this.mouseWheelMoved(convertNEWTMouseEvent2AWTMouseWheelEvent(arg0,this.browserPanel.getRealCanvas()));
}