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

Reply via email to