Re: Offscreen rendering of 3D display images

Ok.  I gave up on the capture of my DisplayImplJ3D and am now calling
getImage() on a DisplayImplJ2D.  The image capture is working, but the
image isn't "complete" when getImage() is called.  The code hasn't added
the RGB map or a couple of my IsoContour maps.

I tried calling display.waitForTasks() to allow the display time to catch
up before calling display.getImage( true ).  No Dice.

I also tried waiting for all my TRANSFORM_DONE DisplayEvents to complete
before calling getImage(), but that isn't working either.  One suggestion
given in the mailing list is to call display.disableAction() before
mucking around with the display and then calling display.enableAction().
The mailing list entry indicated that this would then cause just ONE
TRANSFORM_DONE DisplayEvent to be triggered.  That doesn't seem to be true.

Any suggestions?

Leah


On Mon, 28 Jul 2003, Leah Heiss wrote:

> Hello visad-list
>
> I'm having problems grabbing an offscreen rendering from a
> DisplayImplJ3D using the getImage() method.  Every time I call getImage(),
> I'm logged out of my Linux box.
>
> This is annoying, frustrating and greatly slowing down my development process.
> Has anyone else had this problem?  I'm not sure if the problem is related to
> the code I'm using/writing or my window manager or something else.  Do any of
> you any suggestions for me?
>
>
> Thanks
>
> Leah
>


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: