Lévan Sardjevéladzé wrote:

> I'm trying to load a .3DS file with textures (1.7 Mb). There's no problem
> when loading it, but when it's time to render I get this exception :
>
> 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:1264)
>         at javax.media.j3d.RenderQueue.nextOpaque(RenderQueue.java:1471)
>         at javax.media.j3d.Renderer.run(Renderer.java:447)
> There's no problem when using less textures with the same object.
> I'm running Java3D with Direct3D, and I've used the -Xmx64m option to
> increase the memory used by the virtual machine. (java -Xmx64m ).
> Any ideas?
>
> Thanks in advance
>
> Lévan Sardjevéladzé
>
Hi
  It *looks* as though DirectDraw is running out of memory for textures, if you
say that the model is fine with less textures then this pretty much confirms it.
Increasing the amount of memory for the VM won't effect the amount of memory
direct draw has, as this is completely outside of the VM.
  How much memory does your graphics card have on it?

have you tried the OpenGL java3d yet?

Jeremy

--

PGP key is here -> http://www.computerbooth.com/pgp.html

* If debugging is the process of removing bugs, then programming must be the
process of putting them in.

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