Hi Justin,

Your analysis is correct. The inverseVworldProjection is for the frame
thats has just been rendered.

Rgds

Paul

>Date: Tue, 26 Mar 2002 23:21:23 +1100
>From: Justin Couch <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Check on View/projection matrix update order
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>Content-transfer-encoding: 7bit
>X-Accept-Language: en-us, en
>Delivered-to: [EMAIL PROTECTED]
>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9)
Gecko/20020311
>
>Just checking on something that I think is effecting my code.
>
>I have a scene graph, where load a terrain file and then throw ROAM at
>it. As I load the file, I take the TG above the ViewPlatform and update
>it so that the location of the view is above the terrain. Next, I tell
>the ViewFrustum class to update its information, which it does by asking
>the Canvas3D for the inverseVworldProjection. Unfortunately, this
>projection matrix seems to be giving the old position.
>
>I suspect that the canvas is not refreshing its projection matrix until
>the next render cycle, rather than immediately working on the current
>set transform information. Is this correct?  If so, can I get around
>this by asking the canvas/view to renderOnce() to update the projection
>information before I continue on building the scene graph?
>
>--
>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".

----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------

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