From: Marco Tartaglia (m.tartaglia++at++acsys.it)
Date: 04/26/2001 09:24:25
Hello to everybody,
we are using pfASD node to represent a terrain from GTOPO30 files; we
are using ASDGen tool to create paging asd and we experienced a problem:
the last (finest) level was allocated but not displayed.
We think that it is allocated because the fmem[level][x][y] printing
show up to the last level number.
Unfortunaly this level is not displayed (we aren't able to see it) and
it is not even loaded because if we remove the last level pages nothing
changes.
Our configuration is: Onyx2 IR2 and O2
Irix 6.5
Performer 2.2
ASDGen from Web (downloaded April 2001).
More in detail:
The code we use for generating the ASD is:
***************************************************
xsize = 4800;
ysize = 6000;
tileSize = 300;
numLod = 5; // 5 LEVELs
argv2 = "W020N40/tile";
argv3 = "W020N40/tmp_tile";
pruneEpsilon = 0; // NO PRUNING
lookAhead = 3;
asdgen = pfdNewASDGen();
pfdASDGenPlaneGeometry (asdgen, 0.0f, 0.0f, xsize * 10, ysize * 10);
pfdASDGenElevationFunc (asdgen, get_grid_elevation, d);
pfdASDGenGridSize (asdgen, xsize, ysize);
pfdASDGenTileSize (asdgen, tileSize);
pfdASDGenNofLevels (asdgen, numLOD);
pfdASDGenOutputFile (asdgen, argv2);
pfdASDGenTempFile (asdgen, argv3);
pfdASDGenPrune (asdgen, (pruneEpsilon != 0.0f) ? 1 : 0, pruneEpsilon);
pfdASDGenLookahead (asdgen, lookAhead, lookAhead);
pfdASDGenerate (asdgen);
****************************************************
With this code we obtain paging files for Level 0 to 5 (six levels).
At loading time we see the 'fmem printing' that allocate from 0 to 5
(six levels).
But when we try to display those files with asdfly, we see:
Level 0: 16 x 20 tiles (correct)
Level 1: (for each tile)
- - -
Level 4:
but never Level 5 as said above.
Has anyone experienced a similar problem?
Are we doing something wrong?
Any suggestions?
Thank you in advance for any answers.
--
Marco Tartaglia
ACS - Advanced Computer System SpA
via della Bufalotta, 378 Sc. M - 00139 Roma
Tel: +39687090311 Fax: +39687201460
email: m.tartaglia++at++acsys.it web: www.acsys.it
This archive was generated by hypermail 2b29 : Thu Apr 26 2001 - 09:29:21 PDT