Hello all,
With 1.2.1 beta 2 I'm sometimes getting exceptions like the following:
at
javax.media.j3d.Shape3DCompileRetained.intersect(Shape3DCompileRetained.java
:453)
at javax.media.j3d.Shape3D.intersect(Shape3D.java:456)
at rob.ref.CameraBehaviour.permit(CameraBehaviour.java:282)
at rob.ref.CameraBehaviour.processStimulus(CameraBehaviour.java:174)
at
javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:167)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)
This is when making an intersect call like:
PickSegment ps = new PickSegment(pickStart,pickEnd);
SceneGraphPath sgp = l.pickClosest(ps);
if (sgp != null)
{
Object o = sgp.getObject();
Shape3D sh = (Shape3D)o;
if (sh.intersect(sgp,ps))
{
rc = false;
}
}
(l is my Locale)
None of my parameters appear wrong - the SceneGraphPath and PickSegment
are non-null, as is the Shape3D. The PickSegment has sensible start and end
points.
Anyone any ideas ?
Puzzled.
Rob
Rob Nugent
Development Manager
Critical Path Southampton
[EMAIL PROTECTED]
http://www.cp.net
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363
===========================================================================
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".