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.

Messages - jd

Pages: [1]
Support / Re: jPCT-AE calcNormals() mutli threading exception
« on: December 23, 2015, 08:23:30 am »
Thank you very much. I didn't know it's not made to be thread safe, good to know for future use to look out for it. And especially the tip about serializing is great!

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]