> Yohan Baillot (Contractor) wrote: > >> >> Dear all, >> >> I am currently using OpenGL in my project to render graphics but I would >> like to use >> some of the Java3D and JMF tools as well. I have now the problem to let >> Java3D know >> what display surface created by OpenGL to use to draw. I must as well >> have a way to >> get a pixel array from JMF to create a texture in OpenGL. Is there >> anyone who has >> experience exchanging these parameters between Java and OpenGL and who >> would >> have already work out the necessary conversions? >> > You do not have this much freedom with Java3D. It expects to rule the > world, so you cannot hand it a surface and expect to mix Java3D and > OpenGL commands. We are considering how to do this with our upcoming > open source scenegraph API(Aviatrix), but its not released yet. > Pershaps Xith3D could help, but I don't know if they are exposing this > level of access or not.
Xith3D could indeed help. You can access the GL context that is being used to render the scene allowing to do this sort of mixing. However, obviously it breaks the renderer independance. Alan, when is Aviatrix scheduled (expected?) for release? Are there are details available as yet, for instance, are you trying to conform to the Java3D scenegraph model? Kev =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".