hello
I am getting this bizarre exception:
javax.media.j3d.BadTransformException: TransformGroup: non-affine transform
the code that causes this is:
this.inclineRotationT3D.setTranslation(this.curVec3f);
this.collectiveT3D.setTranslation(this.curVec3f);
//collectiveT3D.add(viewingRotationT3D);
collectiveT3D.add(inclineRotationT3D);
debugTG.setTransform(this.collectiveT3D);
the final line is where the exception occurs. As far as I can tell the transform3D should be affine because its only translation and rotation.
I am adding two transform3D to get the effect of both of them into one transform3D.
Is anyone good enough to ??? explain why I am getting this error, and how to work around it.
thanx
Abos