Hello, If you have a PCI graphics card, you should check, if you can increase the maximum amount of memory usable for textures in your graphics card driver. If you have a AGP graphics card, you should increase the AGP aperture size in the system BIOS, to allow your graphics card to use more system memory for textures if necessary. A typical value is 64-128MB maybe you need more like 256MB. Just hope you have enough system memory ;-)
Hope that helps, Greetings R�diger -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of L�van Sardjev�ladz� Sent: Sunday, December 08, 2002 11:04 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Out of memory problem with Direct3D, when using multiple textures 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". ==========================================================================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".
