Snapshot of GLCanvas [message #329109] |
Thu, 12 June 2008 22:00 |
Eclipse User |
|
|
|
Originally posted by: micha.bgl.gmx.de
Hi,
I try to make a snapshot (gc.copyArea) of an OpenGLCanvas with some
OpenGL-Stuff implemented with JOGL. Finally I get also my snapshot, but the
OpenGL-Animation is never displayed in the image. Is there something to get
also the OpenGL-Animation displayed in the GLCanvas displayed in the image ?
Thanks in advance.
ciao,
micha
|
|
|
|
|
Re: Snapshot of GLCanvas [message #329160 is a reply to message #329109] |
Sun, 15 June 2008 18:29 |
Eclipse User |
|
|
|
Originally posted by: micha.bgl.gmx.de
Hi Wane,
thanks for your post. But finally, it was as you said some OpenGL-stuff.
JOGL provides therefore a wonderful method (Screenshot.writeImageFile(...)).
So this works. now I have the problem to make a screenshot of a TableViewer.
I need to say, that I change the view (loading new content) and I make then
a screenshot. All labels are fine. But the tableviewer is always too late
filled with the content. So the table in my screenshot is empty. Even with
Thread.sleep it seems that the table filling stops for a moment. So the
result is the same. Any ideas ?
"Michael Weber" <micha.bgl@gmx.de> schrieb im Newsbeitrag
news:g2s69n$vr9$1@build.eclipse.org...
> Hi,
>
> I try to make a snapshot (gc.copyArea) of an OpenGLCanvas with some
> OpenGL-Stuff implemented with JOGL. Finally I get also my snapshot, but
> the OpenGL-Animation is never displayed in the image. Is there something
> to get also the OpenGL-Animation displayed in the GLCanvas displayed in
> the image ? Thanks in advance.
>
> ciao,
> micha
>
|
|
|
Re: Snapshot of GLCanvas [message #329162 is a reply to message #329109] |
Sun, 15 June 2008 19:21 |
Eclipse User |
|
|
|
Originally posted by: micha.bgl.gmx.de
Ok, I got it. During updating the TableViewer I set the TableViewer
invisible and after again visible. It seems that this operation slows the
fast displaying of the TableViewer after the update of the content.
But thanks again for your post Wayne.
regards,
Michael
"Michael Weber" <micha.bgl@gmx.de> schrieb im Newsbeitrag
news:g2s69n$vr9$1@build.eclipse.org...
> Hi,
>
> I try to make a snapshot (gc.copyArea) of an OpenGLCanvas with some
> OpenGL-Stuff implemented with JOGL. Finally I get also my snapshot, but
> the OpenGL-Animation is never displayed in the image. Is there something
> to get also the OpenGL-Animation displayed in the GLCanvas displayed in
> the image ? Thanks in advance.
>
> ciao,
> micha
>
|
|
|
Powered by
FUDForum. Page generated in 0.04929 seconds