Lan Wu-Cavener wrote:

> I tracked down and found the transformation matrix I got from
> canvas.getImagePlateToVworld( transform3D) and transform3D.get(matrix) is
> an identity matrix. This check was done right after the scene is
> initialized.

That's why you have a unit cube. There's an unfortunate situation with
the getImagePlateToVworld() in that it works from data from the
previously rendered frame. If you call this directly after world
initialisation, no rendering has taken place yet, and so you end up with
the stock unit cube. You must wait one frame render cycle for this to be
useful :(

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                               - Greg Bear, Slant
-------------------------------------------------------------------

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

Reply via email to