Differences between Java3D 1.1.x and Java3D 1.2beta2
---------------------------------------------------------
I have been trying my program with Java3D 1.2beta2, there appear to be a lot
of differences than when its run under Java3D 1.1.x.
Can anyone tell me if these differences are due to bugs, bug fixes or
features?
A lot of these differences seem to be connected with the way Java3D
calculates bounds and collision bounds, here are some examples:
1) Locale.pickClosest(pickRay) does not work as expected under 1.2beta2 but
it works fine under 1.1 (Locale.pickAll(pickRay) works fine in both - ie
pick by geometry works fine in both but pick using bounds does not).
2) WakeupOnCollisionEntry reports collisions at unexpected times under
1.2beta2. (both when using
WakeupOnCollisionEntry(armingPath,WakeupOnCollisionEntry.USE_GEOMETRY) or
WakeupOnCollisionEntry(armingPath,WakeupOnCollisionEntry.USE_BOUNDS) ) the
WakeupCriterion returned give the following:
getArmingPath() returned a TransformGroup as supplied in armingPath as
expected.
getTriggeringPath() returned a Shape3D node.
getArmingBounds() returned null
getTriggeringBounds() was not null! it returned the original bounds of
the Shape3D node.
Under 1.1 the collision happens when expected and getTriggeringBounds()
returns null.
3) I cant get WakeupOnCollisionExit(bounds) to work in either version. under
1.1 it returns the following error:
java.lang.NullPointerException
at javax.media.j3d.CollisionThread.start_traverse(Compiled Code)
at javax.media.j3d.CollisionThread.updateCollisionState(Compiled Code)
at javax.media.j3d.CollisionThread.run(CollisionThread.java:1245)
under 1.2 I get no error but no collision is triggered.
-------------------------------------------------------------------------
I could go on, but before I do, I would like to know if these differences
are already documented?
I am running OpenGL on NT4 (no h/w acceleration)
for screen shots of the program I used see:
http://www.martinb.com/mjbWorld/userGuide/dynamics_tutor/index.htm
Martin Baker
===========================================================================
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".