Hello List,
i am writing a rendering software based on
OpenGL and now i'm trying to do the GUI
components with Java. The rendering software
is written in C.
I started to create just a simple Canvas3D,
then i do some native C calls which render
into the current OpenGL context created
by Java). So far it works quite good.
Obviousely this solution has some problems:
1. Not all Java3d implementations are based on
OpenGL.
2. Some Java repaint or whatever events destroy the
frame i rendered with my C-lib.
(How can i make sure that Java doesn't handle
ANY events concerning the Canvas3D) ?
3. Interaction with my scene: I want to implement
a trackball for my OpenGL scnene. I get the mouse
event trough mouseMoved(MouseEvent e), from there
i do native calls for rendering. How can i make sure
that only ONE event is handled at any time? You know that
it's a bad idea having two different threads drawing
into the same context in parallel.
What are your experiences? Any comments appreciated...
Best regards,
Toni
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]