Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - jd

Pages: [1]
Support / jPCT-AE calcNormals() mutli threading exception
« on: December 22, 2015, 10:34:10 pm »
I'm creating a complex GUI with jpct and need to use multi threading in many parts.

When multiple threads then try to calculate the normals of objects at the same time I get an exception like:
java.lang.ArrayIndexOutOfBoundsException: index=40 length=29
at com.threed.jpct.Mesh.calcNormalsFast(
at com.threed.jpct.Mesh.calcNormals(
at com.threed.jpct.Object3D.calcNormals(

It would really great if you could modify it to allow multi threading!


J. D.

Pages: [1]