[quote]java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
at java.awt.Component.createImage(Unknown Source)
at FPSSample.startOnce(FPSSample.java:219)
at FPSSample.start(FPSSample.java:208)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[/quote]
hum seems that this is this line :
this.bgi=this.createImage(this.getWidth(),this.getHeight());
It means that the start method of the applet has been called before applet has been sized, this is strange, I am not sur that it is a normal case in the applet life cycle ?? I will try to cach such case
[quote]I’m going to test it at home. I spoke about your engine recently to the author of JavaGL and TESSERACT, I advised him to use your engine because he is writing a 3D software engine for applets :s I’m impatient to see the improvement in the controls
[/quote]
thanks, I am still working to improve the control and the 3DzzD API , this sample is a piece of the current work I am doing to implement lightmapping , in this one there is only the light map, in next one I will add diffuse texture.
NB: I have realised that a cupple of people think that 3DzzD work with GC and is not software even if it is compatible with Java 1.1 as TESSERACT author who dont want to trust that 3DzzD is software … that’s finally pretty cool 
[quote]Exception in thread “Thread-18” java.lang.OutOfMemoryError: Java heap space
at net.dzzd.core.an.d(Unknown Source)
at net.dzzd.core.an.a(Unknown Source)
at net.dzzd.core.an.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread “Thread-19” java.lang.OutOfMemoryError: Java heap space
at net.dzzd.core.w.buildMipMap(Unknown Source)
at net.dzzd.core.w.build(Unknown Source)
at net.dzzd.core.an.build(Unknown Source)
at net.dzzd.core.an.a(Unknown Source)
at net.dzzd.core.an.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread “Thread-17” java.lang.OutOfMemoryError: Java heap space
at net.dzzd.core.w.buildMipMap(Unknown Source)
at net.dzzd.core.w.build(Unknown Source)
at net.dzzd.core.an.build(Unknown Source)
at net.dzzd.core.an.a(Unknown Source)
at net.dzzd.core.an.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[/quote]
I think it should be ok now, I have reduce a texture from 2048 to 1024, and it seems that it should now work on standard JVM memory setting
thanks all for feed back, it help a lot