From: Sven G. <sgo...@ja...> - 2001-08-18 14:28:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 18 August 2001 01:17, Joe Warmbrodt wrote: > Sven and Abraham, > > thanks for both of your advice. I have followed your starting advice and > read through all of GL4Java. Now I'm thoroughly confused. ;) > > Actually, I have one more question. It looks like the methods you are > talking about, it is still necessary to open a visible window in order > to render anything. Is this true? I am trying to find a way to render > all my GL directly into a BufferedImage that is completely invisible at > all times. This will be for an image server program, so it can't keep > opening windows. > > Maybe I have misunderstood something? Maybe this is not even possible? > no - as i described, it must be possible to create an offscreen GLContext. then you can resize it and render into it the code can be seen at "gl4java.swing.GLJPanel::paintComponent" well, you do not need to show it like the swing implementation within an BufferedImage, in you case, you just should do your opengl rendering and then use the "gl4java.util.textures.TGATextureGrabber" as shown in "morph3d" ! cheers, sven > Thanks, > > Joe > > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/lists/listinfo/gl4java-usergroup - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440 ; fax : +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7fntlHdOA30NoFAARAqnRAJ93j2m5xxp87YqeR3sx4FzjZnzhZQCcC7eM pTzezzYxvG+nJPs/Q8cJHdA= =sZM5 -----END PGP SIGNATURE----- |