Hi. If i use geometry picking with a sphere everthing works perfectly but if i use a ScaleInterpolator to get a size-changing, pulsing sphere i get a "no capability to allow intersect" exception when picking it. It seems to me that the interpolator creates a copy of my sphere which has the Geometry.ALLOW_INTERSECT or the Geometry.ENABLE_GEOMETRY_PICKING not set. Is there any possibility to prevent this, so that geometry picking is enabled for the size-changing sphere ?
My code : // Creating the sphere with geometry picking enabled. Sphere s = new Sphere((float)size.getWidth(),Sphere.ENABLE_GEOMETRY_PICKING,appearance); // Picking this sphere works. // ... // Creating the interpolator : TransformGroup objTrans = new TransformGroup(); objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE); // *** prim is the sphere *** objTrans.addChild(prim); Transform3D yAxis = new Transform3D(); Alpha rotationAlpha = new Alpha( /* ... */ ); ScaleInterpolator scaleInt = new ScaleInterpolator(rotationAlpha, objTrans, yAxis, size, size * scaleFactor); scaleInt.setSchedulingBounds(new BoundingSphere()); objTrans.addChild(scaleInt); branchGroup.addChild(objTrans); // Picking this sphere doesn`t work. Any advices ? -- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".