I've attached two files. Run the app named BugViewer and rotate the view a little bit 
(hold the left mouse button down). 

The code affected is in ViewNavigator::orbit().

Thanks for any help you can provide. If this is a bug sorry I wasn't able to report it 
until after Beta 2 was finished.

josh

----------------------------------------------------
Joshua L. Richmond, BASc, MSc.  
Systems Engineering (R&D)

MD Robotics
9445 Airport Rd, Brampton, ON, Canada
(905) 790-2800 x4332
-----------------------------------------------------

>>> Kelvin Chung <[EMAIL PROTECTED]> 03/26/01 05:07PM >>>
Hi Josh,

    Please give us a test program for investigation.
It is most likely cause by numerical imprecision which
accumulate over time big enough to make the transformation
matrix not congruent. Try to use double instead of float
to see if things get improves.

It happen since v1.2.1 beta2 because Transform3D is
enchanced to optimize for several matrix inversion cases
and also in other case when the matrix is congruent.

Thanks.

- Kelvin
----------------
Java 3D Team
Sun Microsystems Inc.

>Mime-Version: 1.0
>Date: Mon, 26 Mar 2001 16:46:33 -0500
>From: Josh Richmond <[EMAIL PROTECTED]>
>Subject: [JAVA3D] BadTransform bug in j3d1.2?
>To: [EMAIL PROTECTED] 
>
>This is a poor excuse for a bug report because I'm not at a computer where I
can run my code, nor do I have sample code (yet), but I thought I'd see if
anyone else has witnessed this.
>
>I'm using a slight variation of Eric's orbit behaviours. In version 1.2beta1,
it works like a charm. In the release version of 1.2 I get a
BadTransformException during rotations. This is very consistent and
reproducible.
>
>I plan on using the j3dutil Orbit behaviour, but thought I'd bring this up as
it might point to a bigger problem.
>
>Sample code can be made available.
>
>josh
>
>----------------------------------------------------
>Joshua L. Richmond, BASc, MSc.
>Systems Engineering (R&D)
>
>MD Robotics
>9445 Airport Rd, Brampton, ON, Canada
>(905) 790-2800 x4332
>-----------------------------------------------------
>

===========================================================================
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".

ViewNavigator.java

BugViewer.java

Josh Richmond.vcf

Reply via email to