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 <my
program>).
Any ideas?

Thanks in advance

L�van Sardjev�ladz�

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