I've run into serious problem. Nor that it is something new or
unexpected, but time has come to solve it. So, i have the following
exception thrown:

> java.lang.RuntimeException: DirectDraw does not have enough memory to perform the 
>operation.
>       at javax.media.j3d.Canvas3D.updateTexture(Native Method)
>       at javax.media.j3d.RenderQueue.updateState(RenderQueue.java, Compiled Code)
>       at javax.media.j3d.RenderQueue.nextOpaque(RenderQueue.java, Compiled Code)
>       at javax.media.j3d.Renderer.run(Renderer.java:447)

It is thrown when i 'reuse' Canvas3D object 4 the third time (during
one runtime):

    // The fragment is run 4 several times to create Canvas3D
    if (firstTime)
    {
      scene3D = new SceneOutputArea(resLoader);
      firstTime = false;
    }

The situation practically doesn't change a bit even when i assign null
to the scene3D as soon as i don't need it and recreate it every time
(not only 4 the first time the program run). The only difference is
that in the first case i can see the scene a little while (~2 sec)
before the exception is thrown. When I 'dispose' the scene3D, i detach
branch groups. But obviously that hardly helps. Moreover, as i understand, it
is not the matter of physical RAM, but rather VIDEO memory
leakage. I use Java3D 1.1.3 (DX version). Video card - Rage128, 16Mb.

So, can this be helped somehow? Has anyone occurred similar problems?
Has anything changed in Java3D 1.2 version?

Thanks 4 any help,

vladimir
>-----<===========>-----<
          -=V=-
>-----<===========>-----<

===========================================================================
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".

Reply via email to