Hi,

I am still fiddling with the Roam code of code.j3d.org. I am using
SimpleTiledTerrainData. This class has a method setActiveBounds(Rectangle
bounds) which is not implemented yet.
The documentation says it should limit the access to an area of the
terrain.
However, in class SplitMergeLandscape this method is called:
t_data.setActiveBounds(reqdBounds);
reqdBounds is the area calculated from the current view frustum.
On the other hand the documentation of SimpleTiledTerrainData says, that
it is still pretty dumb and keeps the data available in memory.
For a larger grid I do not want to keep the whole grid in memory. So I
guess I have to enhance SimpleTiledTerrainData for reload new data when
the access area bounds are changed by navigation.
Is that right? And how can I implement that?
And maybe I do not want to reload every time the navigation changes the
viewpoint, because I could keep at least a part of the larger terrain in
my memory which maybe still larger as the part I actually need for the
current view.

Any help is appreciated.

Desiree


oooooooooooooooooooooooooooooooooooooooooooooooo
Desiree Hilbring

Institut fuer Photogrammetrie und Fernerkundung
Universitaet Karlsruhe, Germany
email: [EMAIL PROTECTED]
# 0721 6083676
oooooooooooooooooooooooooooooooooooooooooooooooo

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