StackOverflowError on jmetest.renderer.TestCompositeSphere

Hi



Running TestCompositeSphere gives me the following StackOverflowError exception.



java.lang.StackOverflowError
   at com.jme.math.Plane.pseudoDistance(Plane.java:148)
   at com.jme.bounding.BoundingBox.whichSide(BoundingBox.java:287)
   at com.jme.renderer.AbstractCamera.contains(AbstractCamera.java:750)
   at com.jme.scene.Spatial.onDraw(Spatial.java:211)
   at com.jme.renderer.lwjgl.LWJGLRenderer.draw(LWJGLRenderer.java:1039)
   at com.jme.scene.CompositeMesh.draw(CompositeMesh.java:179)
   at com.jme.scene.Spatial.onDraw(Spatial.java:215)
   at com.jme.renderer.lwjgl.LWJGLRenderer.draw(LWJGLRenderer.java:1039)
        at com.jme.scene.CompositeMesh.draw(CompositeMesh.java:179)
   at com.jme.scene.Spatial.onDraw(Spatial.java:215)
   at com.jme.renderer.lwjgl.LWJGLRenderer.draw(LWJGLRenderer.java:1039)
        ...

How do you still have TestCompositeSphere?  Or are you not using cvs?  CompositeMesh was removed in recent versions so that test is invalid.

I've used the CVS version from today, however eclipse might have messed up. I'll clean my jME project and try again.

Uhm CompositeSphere (and mesh) is still in CVS here (and the tests too). Neatly updated for the new exporter system and everything. I guess CompositeMesh should be removed :slight_smile:



CompositeSphere could be made to work with batches perhaps.

Err, yeah, that's what I meant.  :frowning: