From: Sven G. <sgo...@ja...> - 2000-11-13 22:54:22
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 13 Nov 2000, aNt wrote: > hello everyone. > > well everything is running well cool :) gl4java rocks. > > but 'aarrrrrrr' downer... help!! I'm grabbing the gl area using: > > textGrab4Snapshot = new TGATextureGrabber(gl) ; > textGrab4Snapshot.grabPixels(GL_BACK, 0, 0, cvsGetWidth(), cvsGetHeight()); > textGrab4Snapshot.write2File(fname); > > as in the demo... > > now this works great untill I make the area of GL Canvas bigger then my > monitor screen size. then is seems to just grab the area that is drawn to > screen not the area off the screen :(... > > is there anyway of grabbing stuff that's not all on the screen ? > > I need to do this, like real bad :(. > well, the opengl direct rendering context has usually just the screen size as its maximum ! looks like you want to use OffscreenRendering (it is not that fast) -> look into the gl4java.swing realisation for description. Respect: Offscreen rendering & swing support was founded by "Desys GmbH", http://www.desys.com ! > help > > > aNt > Being peacefull - Sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6EHEDHdOA30NoFAARArS/AKC+Z+RAzCkf6QKjZ6KmeLqOKBLR8gCdHc0J Jr7cKfU0IQgN1o4/km7yIrA= =koPU -----END PGP SIGNATURE----- |