Desiree Hilbring wrote:

When I start the application I would expect that the terrain is being
loaded and visible. But in fact, it is not. I becomes visible using
the navigation. Maybe the problem lies with the tMatrix variable of
ViewFrustum.
The basic issue is a fundamental one with the way that Java3D works.
When you ask for the view frustum projection matrix from Java3D it gives
you the value used on the previous frame, not the current one. At a
minimum, you need one frame to be rendered before the ROAM code can do
anything useful. From your description, it sounds like you aren't
setting up the view with the canvas before there is data available and
thus, if you don't get anything to drive a second frame render then
nothing will happen. Ie The event from the navigation will force a
second frame render, as will the resize of the window etc.

Note also that we have one or two outstanding bugs with dynamically
tiled terrain currently. We're not quite sure what they are yet but know
they exist. We haven't had time to look into them recently as we're
concentrating on Xj3D work for I/ITSEC.

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